protoDUNE_refactored_detsim_stage2.fcl
Go to the documentation of this file.
1 #include "services_refactored_pdune.fcl"
2 #include "opticaldetectormodules_dune.fcl"
3 #include "CRT.fcl"
4 #include "tools_dune.fcl"
5 
6 process_name: DetsimStage2
7 
8 services:
9 {
10  TFileService: { fileName: "detsim_single_protoDUNE_hist.root" }
11  TimeTracker: @local::dune_time_tracker
12  MemoryTracker: @local::dune_memory_tracker
13  RandomNumberGenerator: {} #ART native random number generator
14  FileCatalogMetadata: @local::art_file_catalog_mc
15  @table::protodune_refactored_simulation_services
16 }
17 
18 source:
19 {
20  module_type: RootInput
21  maxEvents: 30000
22  fileNames: ["g4single_protoDUNE.root"]
23 }
24 
25 physics:
26 {
27  producers:
28  {
29  opdigi: @local::protodune_opdigi_refactor
30  crt: @local::CRTSimRefac_standard
31  rns: { module_type: "RandomNumberSaver" }
32  }
33 
34  simulate: [ rns, opdigi, crt]
35  stream1: [ out1 ]
36 
37  trigger_paths: [simulate]
38  end_paths: [stream1]
39 }
40 
41 outputs:
42 {
43  out1:
44  {
45  module_type: RootOutput
46  fileName: "%ifb_detsim_stage2.root"
47  dataTier: "detector-simulated"
48  compressionLevel: 1 #zlib argument (0-9)
49  fastCloning: true
50  #basketSize: 8192 #[Byte] buffer size at 2k
51  #splitLevel: 0 #reduces number of buffers
52  #treeMaxVirtualSize: 1 #[Byte] limits number of buffers/branch to 1 (default is 10)
53  outputCommands : [
54  "keep *", "drop sim::SimEnergyDeposit*_*_*_*"
55  ]
56  }
57 }