protoDUNE_detsim.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "detsimmodules_dune.fcl"
3 #include "opticaldetectormodules_dune.fcl"
4 #include "CRT.fcl"
5 
6 #include "tools_dune.fcl"
7 
8 process_name: Detsim
9 
10 services:
11 {
12  TFileService: { fileName: "detsim_single_protoDUNE_hist.root" }
13  TimeTracker: @local::dune_time_tracker
14  MemoryTracker: @local::dune_memory_tracker
15  RandomNumberGenerator: {} #ART native random number generator
16  FileCatalogMetadata: @local::art_file_catalog_mc
17  @table::protodune_simulation_services
18 }
19 
20 source:
21 {
22  module_type: RootInput
23  maxEvents: 30000
24  fileNames: ["g4single_protoDUNE.root"]
25 }
26 
27 physics:
28 {
29 
30  producers:
31  {
32  daq: @local::dune_detsim
33  opdigi: @local::protodune_opdigi
34  crt: @local::CRTSim_standard
35  rns: { module_type: "RandomNumberSaver" }
36  }
37 
38  simulate: [ rns, daq, opdigi, crt]
39 
40  stream1: [ out1 ]
41 
42  trigger_paths: [simulate]
43 
44  end_paths: [stream1]
45 }
46 
47 outputs:
48 {
49  out1:
50  {
51  module_type: RootOutput
52  fileName: "%ifb_detsim.root"
53  dataTier: "detector-simulated"
54  compressionLevel: 1
55  }
56 }
57 
58 # Use fixed values instead of DB for pedestals.
59 services.DetPedestalService: @local::dune_fixedpeds
60 
61 # DetSim flags.
62 physics.producers.daq.NoiseOn: true
63 physics.producers.daq.PedestalOn: true
64 physics.producers.daq.DistortOn: false
65 physics.producers.daq.SuppressOn: false
66 
67 # DetSim services.
68 services.SimChannelExtractService: @local::scxgeneric
69 services.ChannelNoiseService: @local::chnoiseold
70 services.PedestalAdditionService: @local::padprovided
71 services.AdcDistortService: @local::stuckbits
72 services.AdcSuppressService: @local::zslegacy
73 services.AdcCompressService: @local::cmpblock
74 
75 # Disable bad channels.
76 #services.IChannelStatusService.BadChannels: [ ]