standard_g4_3x1x1dp_refactored.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "largeantmodules_dune.fcl"
3 #include "photpropservices_dune.fcl"
4 
5 process_name: G4
6 
7 services:
8 {
9  TFileService: { fileName: "g4_hist.root" }
10  TimeTracker: {}
11  MemoryTracker: { } # default is one
12  RandomNumberGenerator: {} #ART native random number generator
13  message: @local::standard_info
14  @table::dunedphase3x1x1_simulation_services_legacy
15 
16  DetectorHolder: {}
17  ActionHolder: {}
18  PhysicsListHolder: {}
19  PhysicsList: {
20  PhysicsListName: "FTFP_BERT"
21  DumpList: false
22  enableCerenkov: false
23  enableScintillation: true
24  ScintillationByParticleType: false
25  enableAbsorption: false
26  enableRayleigh: false
27  enableMieHG: false
28  enableBoundary: false
29  enableWLS: false
30  }
31  LArG4Detector :
32  {
33  category: "world"
34  gdmlFileName_ : "3x1x1dphase_nowires.gdml"
35  }
36 
37  MCTruthEventAction: {service_type: "MCTruthEventActionService"}
38  ParticleListAction:{service_type: "ParticleListActionService"}
39 }
40 
41 services.PhotonVisibilityService.ParametrisedTimePropagation: false // this is still not supported in the new code
42 
43 source:
44 {
45  module_type: RootInput
46  maxEvents: -1 # Number of events to create
47 }
48 
49 physics:
50 {
51 
52  producers:
53  {
54  larg4Main: { module_type: "larg4Main"
55  enableVisualization: false
56  macroPath: ".:./macros"
57  visMacro: "vis.mac"
58  }
59 
60  elecDrift: { module_type: "SimDriftElectrons"
61  SimulationLabel: "larg4Main:LArG4DetectorServicevolTPCActive"
62  StoreDriftedElectronClusters: true
63  }
64 
65  photonProp: { module_type: "PhotonLibraryPropagation"
66  DoSlowComponent: false
67  RiseTimeFast: 6
68  RiseTimeSlow: 1300
69  EDepModuleLabels: ["larg4Main:LArG4DetectorServicevolTPCActive"] }
70  photonPropS2:{ module_type: "PhotonLibraryPropagationS2"
71  Gain: 300
72  DriftEModuleLabel: "elecDrift"
73  }
74 
75  rns: { module_type: "RandomNumberSaver" }
76  }
77 
78  simulate: [ rns, larg4Main, elecDrift, photonProp, photonPropS2 ]
79  stream1: [ out1 ]
80 
81  trigger_paths: [simulate]
82  end_paths: [stream1]
83 }
84 
85 outputs:
86 {
87  out1:
88  {
89  module_type: RootOutput
90  fileName: "%ifb_g4.root"
91  dataTier: "simulated"
92  compressionLevel: 1
93  }
94 }
95