protoDUNE_refactored_g4_stage2.fcl
Go to the documentation of this file.
1 #include "services_refactored_pdune.fcl"
2 #include "IonAndScint_dune.fcl"
3 #include "PDFastSim_dune.fcl"
4 
5 process_name: G4Stage2
6 
7 services:
8 {
9  TFileService: { fileName: "g4_protoDUNE_hist.root" }
10  TimeTracker: {}
11  MemoryTracker: {} # default is one
12  RandomNumberGenerator: {} #ART native random number generator
13  message: @local::standard_info
14  #message: @local::dune_message_services_prod_debug
15 
16  @table::protodune_refactored_simulation_services
17 
18  NuRandomService: @local::dune_prod_seedservice
19 }
20 
21 source:
22 {
23  module_type: RootInput
24  maxEvents: 30000
25  fileNames: ["g4_stage1_protoDUNE.root"]
26 }
27 
28 physics:
29 {
30 
31  producers:
32  {
33  rns: { module_type: "RandomNumberSaver" }
34  IonAndScint: @local::protodune_ionandscint
35  PDFastSim: @local::protodune_pdfastsim_pvs
36  }
37 
38  analyzers:
39  {
40 
41  }
42 
43  simulate: [ rns, IonAndScint, PDFastSim ]
44  stream1: [ out1 ]
45 
46  trigger_paths: [ simulate ]
47  end_paths: [ stream1 ]
48 
49 }
50 
51 outputs:
52 {
53  out1:
54  {
55  module_type: RootOutput
56  fileName: "%ifb_g4_stage2.root"
57  dataTier: "simulated"
58  outputCommands: [ "keep *", "drop sim::SimEnergyDeposits_largeant_*_*"]
59  fastCloning: true #will fail if the split level is not the same as for the gen stage, so turn it off
60  compressionLevel: 1 #zlib argument (0-9)
61  #basketSize: 8192 #[Byte] buffer size at 8k
62  #splitLevel: 0 #reduces number of buffers
63  #treeMaxVirtualSize: 1 #[Byte] limits number of buffers/branch to 1 (default is 10)
64  }
65 }