standard_detsim_dune10ktdphase_workspace4x2.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "singles_dune.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "tools_dune.fcl"
5 
6 process_name: Detsim
7 
8 services: @local::dunefddphase_simulation_services_legacy
9 services.TFileService: { fileName: "detsim_hist.root" }
10 services.TimeTracker: {}
11 services.MemoryTracker: { } # default is one
12 services.RandomNumberGenerator: {} #ART native random number generator
13 services.FileCatalogMetadata: @local::art_file_catalog_mc
14 services.NuRandomService: @local::random_NuRandomService # seedservice.fcl
15 
16 services.Geometry: @local::dunedphase10kt_workspace4x2_geo
17 
18 #source is now a root file
19 source: {
20  module_type: RootInput
21  maxEvents: -1 # Number of events to create
22 }
23 
24 # Define and configure some modules to do work on each event.
25 # First modules are defined; they are scheduled later.
26 # Modules are grouped by type.
27 physics: {
28  producers: {
29  daq: @local::dune_detsim
30  rns: { module_type: "RandomNumberSaver" }
31  }
32  simulate: [ rns, daq ]
33  stream1: [ out1 ]
34  trigger_paths: [simulate]
35  end_paths: [stream1]
36 }
37 
38 outputs: {
39  out1: {
40  module_type: RootOutput
41  fileName: "%ifb_detsim.root"
42  dataTier: "detector-simulated"
43  compressionLevel: 1
44  }
45 }
46 
47 # Use fixed values instead of DB for pedestals.
48 #services.DetPedestalService: @local::dune_fixedpeds
49 services.DetPedestalService: @local::dunedp_fixedpeds
50 
51 # DetSim flags.
52 physics.producers.daq.NoiseOn: false
53 physics.producers.daq.PedestalOn: true
54 physics.producers.daq.DistortOn: false
55 physics.producers.daq.SuppressOn: true
56 
57 # DetSim services.
58 #services.SimChannelExtractService: @local::scxgeneric
59 services.ChannelNoiseService: @local::chnoiseold
60 services.PedestalAdditionService: @local::padprovided
61 services.AdcDistortService: @local::stuckbits
62 #services.AdcSuppressService: @local::zslegacy
63 services.AdcSuppressService: @local::zsonline
64 #services.AdcCompressService: @local::cmpblock
65 services.AdcCompressService: @local::cmpreplace
66 
67 # Disable bad channels.
68 #services.IChannelStatusService.BadChannels: [ ]