standard_detsim_3x1x1dp_refactored.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 physics.producers.daq.SimChannelLabel: "elecDrift"
37 
38 outputs: {
39  out1: {
40  module_type: RootOutput
41  fileName: "%ifb_detsim.root"
42  dataTier: "detector-simulated"
43  compressionLevel: 1
44  }
45 }
46 
47 # Use fixed values instead of DB for pedestals.
48 services.DetPedestalService: @local::dunedp_fixedpeds
49 
50 # DetSim flags.
51 physics.producers.daq.NoiseOn: false
52 physics.producers.daq.PedestalOn: true
53 physics.producers.daq.DistortOn: false
54 physics.producers.daq.SuppressOn: true
55 
56 # DetSim services.
57 #services.SimChannelExtractService: @local::scxgeneric
58 services.ChannelNoiseService: @local::chnoiseold
59 services.PedestalAdditionService: @local::padprovided
60 services.AdcDistortService: @local::stuckbits
61 #services.AdcSuppressService: @local::zslegacy
62 services.AdcSuppressService: @local::zsonline
63 #services.AdcCompressService: @local::cmpblock
64 services.AdcCompressService: @local::cmpreplace
65 
66 # Disable bad channels.
67 #services.IChannelStatusService.BadChannels: [ ]