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