protoDUNE_refactored_detsim.fcl
Go to the documentation of this file.
1 #include "services_refactored_pdune.fcl"
2 #include "wirecell_dune.fcl"
3 #include "opticaldetectormodules_dune.fcl"
4 #include "CRT.fcl"
5 #include "tools_dune.fcl"
6 
7 process_name: Detsim
8 
9 services:
10 {
11  TFileService: { fileName: "detsim_single_protoDUNE_hist.root" }
12  TimeTracker: @local::dune_time_tracker
13  MemoryTracker: @local::dune_memory_tracker
14  RandomNumberGenerator: {} #ART native random number generator
15  FileCatalogMetadata: @local::art_file_catalog_mc
16  @table::protodune_refactored_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  tpcrawdecoder: @local::wirecell_protodunespmc
32  opdigi: @local::protodune_opdigi_refactor
33  crt: @local::CRTSimRefac_standard
34  rns: { module_type: "RandomNumberSaver" }
35  }
36 
37  simulate: [ rns,
38  # TPC simulation
39  tpcrawdecoder,
40  # OpDet and CRT simulation
41  opdigi, crt]
42  stream1: [ out1 ]
43 
44  trigger_paths: [simulate]
45  end_paths: [stream1]
46 }
47 
48 outputs:
49 {
50  out1:
51  {
52  module_type: RootOutput
53  fileName: "%ifb_detsim.root"
54  dataTier: "detector-simulated"
55  compressionLevel: 1 #zlib argument (0-9)
56  fastCloning: true
57  #basketSize: 8192 #[Byte] buffer size at 2k
58  #splitLevel: 0 #reduces number of buffers
59  #treeMaxVirtualSize: 1 #[Byte] limits number of buffers/branch to 1 (default is 10)
60  outputCommands : [
61  "keep *", "drop sim::SimEnergyDeposit*_*_*_*"
62  ]
63  }
64 }