mcc10_detsim_protoDune_beam_cosmics_noROI.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "detsimmodules_dune.fcl"
3 #include "opticaldetectormodules_dune.fcl"
4 
5 #include "tools_dune.fcl"
6 
7 process_name: DetsimSuppressOnFalse
8 
9 services:
10 {
11  TFileService: { fileName: "detsim_suppressionoff_hist.root" }
12  TimeTracker: {}
13  MemoryTracker: { }
14  RandomNumberGenerator: {} #ART native random number generator
15  FileCatalogMetadata: @local::art_file_catalog_mc
16  @table::protodune_simulation_services
17 }
18 
19 source:
20 {
21  module_type: RootInput
22  maxEvents: 30000
23  fileNames: ["g4single_protoDUNE.root"]
24 }
25 
26 physics:
27 {
28 
29  producers:
30  {
31  daq: @local::dune_detsim
32  opdigi: @local::protodune_opdigi
33  rns: { module_type: "RandomNumberSaver" }
34  }
35 
36  simulate: [ rns, daq, opdigi]
37 
38  stream1: [ out1 ]
39 
40  trigger_paths: [simulate]
41 
42  end_paths: [stream1]
43 }
44 
45 outputs:
46 {
47  out1:
48  {
49  module_type: RootOutput
50  fileName: "%ifb_detsim.root"
51  dataTier: "detector-simulated"
52  compressionLevel: 1
53  }
54 }
55 
56 outputs.out1.outputCommands: ["keep *_*_*_*", "drop *_*_*_SinglesGen", "drop *_*_*_G4"]
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: [ ]
77