standard_g4_protodunedp_driftY_refactored.fcl
Go to the documentation of this file.
1 #include "services_refactored_pdune.fcl"
2 #include "services_dune.fcl"
3 #include "scintillationtime_tool.fcl"
4 
5 process_name: G4
6 
7 services:
8 {
9  TFileService: { fileName: "%ifb_g4_hist.root" }
10  TimeTracker: {}
11  MemoryTracker: {} # default is one
12  RandomNumberGenerator: {} #ART native random number generator
13  message: @local::standard_info
14  @table::protodunedphase_driftY_simulation_services_legacy
15 
16  DetectorHolder: {}
17  ActionHolder: {}
18  PhysicsListHolder: {}
19  PhysicsList: {
20  PhysicsListName: "QGSP_BERT"
21  DumpList: true
22  enableNeutronLimit: false
23  NeutronTimeLimit: 0.0
24  NeutronKinELimit: 0.0
25  enableStepLimit: true
26  enableOptical: false
27  enableCerenkov: false
28  CerenkovStackPhotons: false
29  CerenkovMaxNumPhotons: 100
30  CerenkovMaxBetaChange: 10.0
31  enableScintillation: false
32  ScintillationStackPhotons: false
33  ScintillationByParticleType: false
34  ScintillationTrackInfo: false
35  ScintillationTrackSecondariesFirst: false
36  enableAbsorption: false
37  enableRayleigh: false
38  enableMieHG: false
39  enableBoundary: false
40  enableWLS: false
41  BoundaryInvokeSD: false
42  Verbosity: 1
43  WLSProfile: delta
44  }
45  LArG4Detector :
46  {
47  category : "world"
48  gdmlFileName_ : "protodunedphase_driftY_nowires.gdml"
49  volumeNames : ["volTPCActive"] # list of volumes for which the stepLimit should be set
50  stepLimits : [0.3] # corresponding stepLimits in mm for the volumes in the volumeNames list
51  }
52 
53  MCTruthEventAction: {service_type: "MCTruthEventActionService"}
54  ParticleListAction: {service_type: "ParticleListActionService"
55  EnergyCut: 1e-5 # Kinetic Energy cut in [MeV]
56  keepEMShowerDaughters: true
57  storeTrajectories: true
58  keepGenTrajectories: ["generator"] # list of generator labels for which we want to store
59  } # trajectory points. The protodune beam label is simply
60  # "generator"
61 
62 
63 }
64 ## -- NuRandomService:
65 services.NuRandomService.policy: "perEvent"
66 
67 source:
68 {
69  module_type: RootInput
70  maxEvents: 30000
71  fileNames: ["gen_protoDUNE.root"]
72 }
73 
74 physics:
75 {
76 
77  producers:
78  {
79 
80  #retain largeant name for compatibility
81  largeant: { module_type: "larg4Main"
82  enableVisualization: false
83  macroPath: ".:./macros"
84  visMacro: "vis.mac"
85  }
86  rns: {
87  module_type: "RandomNumberSaver"
88  }
89 
90  IonAndScint:
91  {
92  module_type: "IonAndScint"
93  Instances: "LArG4DetectorServicevolTPCActive;LArG4DetectorServicevolCryostat" # separated by semicolon
94  ISCalcAlg: "Separate" #"NEST"
95  }
96 
97  PDFastSim:
98  {
99  module_type: "PDFastSimPVS"
100  SimulationLabel: "IonAndScint"
101  DoSlowComponent: true
102  ScintTimeTool: @local::ScintTimeLAr
103  }
104 
105  }
106 
107 
108  simulate: [ rns, largeant, IonAndScint, PDFastSim ]
109 
110  stream1: [ out1 ]
111 
112 
113  trigger_paths: [ simulate ]
114  end_paths: [ stream1 ]
115 
116 }
117 
118 outputs:
119 {
120  out1:
121  {
122  module_type: RootOutput
123  fileName: "%ifb_g4.root"
124  dataTier: "simulated"
125  outputCommands: [ "keep *" ]
126  #outputCommands: [ "keep *", "drop sim::SimEnergyDeposits_largeant_*_G4"]
127  fastCloning: false #will fail if the split level is not the same as for the gen stage, so turn it off
128  compressionLevel: 1 #zlib argument (0-9)
129  basketSize: 8192 #[Byte] buffer size at 8k
130  splitLevel: 0 #reduces number of buffers
131  treeMaxVirtualSize: 1 #[Byte] limits number of buffers/branch to 1 (default is 10)
132  }
133 }
134