standard_detsim_protodunedp_driftY.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::protodunedphase_driftY_geo
17 services.DetectorPropertiesService: @local::protodunedphase_detproperties
18 
19 #source is now a root file
20 source: {
21  module_type: RootInput
22  maxEvents: -1 # Number of events to create
23 }
24 
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.
28 physics: {
29  producers: {
30  daq: @local::dune_detsim
31  rns: { module_type: "RandomNumberSaver" }
32  }
33  simulate: [ rns, daq ]
34  stream1: [ out1 ]
35  trigger_paths: [simulate]
36  end_paths: [stream1]
37 }
38 
39 outputs: {
40  out1: {
41  module_type: RootOutput
42  fileName: "%ifb_detsim.root"
43  dataTier: "detector-simulated"
44  compressionLevel: 1
45  }
46 }
47 
48 # Use fixed values instead of DB for pedestals.
49 #services.DetPedestalService: @local::dune_fixedpeds
50 services.DetPedestalService: @local::dunedp_fixedpeds
51 
52 # DetSim flags.
53 physics.producers.daq.NoiseOn: false
54 physics.producers.daq.PedestalOn: true
55 physics.producers.daq.DistortOn: false
56 physics.producers.daq.SuppressOn: true #false when noise on!
57 
58 # DetSim services.
59 #services.SimChannelExtractService: @local::scxgeneric
60 services.ChannelNoiseService: @local::chnoiseold
61 services.PedestalAdditionService: @local::padprovided
62 services.AdcDistortService: @local::stuckbits
63 #services.AdcSuppressService: @local::zslegacy
64 services.AdcSuppressService: @local::zsonline
65 #services.AdcCompressService: @local::cmpblock
66 services.AdcCompressService: @local::cmpreplace
67 
68 # Disable bad channels.
69 #services.IChannelStatusService.BadChannels: [ ]