1 #include "services_dune.fcl"
2 #include "singles_dune.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "tools_dune.fcl"
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
16 services.Geometry: @local::protodunedphase_driftY_geo
17 services.DetectorPropertiesService: @local::protodunedphase_detproperties
19 #source is now a root file
21 module_type: RootInput
22 maxEvents: -1 # Number of events to create
25 # Define and configure some modules to do work on each event.
26 # First modules are defined; they are scheduled later.
27 # Modules are grouped by type.
30 daq: @local::dune_detsim
31 rns: { module_type: "RandomNumberSaver" }
33 simulate: [ rns, daq ]
35 trigger_paths: [simulate]
41 module_type: RootOutput
42 fileName: "%ifb_detsim.root"
43 dataTier: "detector-simulated"
48 # Use fixed values instead of DB for pedestals.
49 services.DetPedestalService: @local::dunedp_fixedpeds
52 physics.producers.daq.NoiseOn: true
53 physics.producers.daq.PedestalOn: true
54 physics.producers.daq.DistortOn: false
55 physics.producers.daq.SuppressOn: false #false when noise on!
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
67 # Disable bad channels.
68 #services.IChannelStatusService.BadChannels: [ ]
70 # tune to have moderate noise level
71 services.ChannelNoiseService: {
72 service_provider: ExponentialChannelNoiseService
85 NoiseArrayPoints: 1000