protoDUNE_refactored_detsim_stage1.fcl
Go to the documentation of this file.
1 #include "services_refactored_pdune.fcl"
2 #include "wirecell_dune.fcl"
3 #include "tools_dune.fcl"
4 
5 
6 process_name: DetsimStage1
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_minimal_simulation_services # no particleInventory services etc.
16 }
17 
18 source:
19 {
20  module_type: RootInput
21  maxEvents: 30000
22  fileNames: ["g4single_protoDUNE.root"]
23 }
24 
25 physics:
26 {
27 
28  producers:
29  {
30  tpcrawdecoder: @local::wirecell_protodunespmc
31  rns: { module_type: "RandomNumberSaver" }
32  }
33 
34  simulate: [ rns, tpcrawdecoder ]
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_stage1.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 }
58