standard_detsim_protodunedp.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::protodunedphase_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 
17 #source is now a root file
18 source: {
19  module_type: RootInput
20  maxEvents: -1 # Number of events to create
21 }
22 
23 # Define and configure some modules to do work on each event.
24 # First modules are defined; they are scheduled later.
25 # Modules are grouped by type.
26 physics: {
27  producers: {
28  daq: @local::dune_detsim
29  rns: { module_type: "RandomNumberSaver" }
30  }
31  simulate: [ rns, daq ]
32  stream1: [ out1 ]
33  trigger_paths: [simulate]
34  end_paths: [stream1]
35 }
36 
37 outputs: {
38  out1: {
39  module_type: RootOutput
40  fileName: "%ifb_detsim.root"
41  dataTier: "detector-simulated"
42  compressionLevel: 1
43  }
44 }
45 
46 
47 # DetSim flags.
48 physics.producers.daq.NoiseOn: false
49 physics.producers.daq.PedestalOn: true
50 physics.producers.daq.DistortOn: false
51 physics.producers.daq.SuppressOn: true #false when noise on!
52 
53 # DetSim services.
54 #services.SimChannelExtractService: @local::scxgeneric
55 services.ChannelNoiseService: @local::chnoiseold
56 services.PedestalAdditionService: @local::padprovided
57 services.AdcDistortService: @local::stuckbits
58 #services.AdcSuppressService: @local::zslegacy
59 services.AdcSuppressService: @local::zsonline
60 #services.AdcCompressService: @local::cmpblock
61 services.AdcCompressService: @local::cmpreplace
62 
63 # Disable bad channels.
64 #services.IChannelStatusService.BadChannels: [ ]