standard_detsim_dune10ktdphase.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 #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::dune_fixedpeds
47 services.DetPedestalService: @local::dunedp_fixedpeds
48 
49 # DetSim flags.
50 physics.producers.daq.NoiseOn: false
51 physics.producers.daq.PedestalOn: true
52 physics.producers.daq.DistortOn: false
53 physics.producers.daq.SuppressOn: true
54 
55 # DetSim services.
56 #services.SimChannelExtractService: @local::scxgeneric
57 services.ChannelNoiseService: @local::chnoiseold
58 services.PedestalAdditionService: @local::padprovided
59 services.AdcDistortService: @local::stuckbits
60 #services.AdcSuppressService: @local::zslegacy
61 services.AdcSuppressService: @local::zsonline
62 #services.AdcCompressService: @local::cmpblock
63 services.AdcCompressService: @local::cmpreplace
64 
65 # Disable bad channels.
66 #services.IChannelStatusService.BadChannels: [ ]