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