1 #include "services_dune.fcl"
2 #include "singles_dune.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "detsimmodules_dune.fcl"
5 #include "mccheatermodules.fcl"
6 #include "photpropservices_dune.fcl"
7 #include "opticaldetectormodules_dune.fcl"
8 #include "opticaldetectorservices_dune.fcl"
15 # Load the service that manages root files for histograms.
16 TFileService: { fileName: "protodunedp_larg4_hist.root" }
19 RandomNumberGenerator: {} #ART native random number generator
20 message: @local::standard_info
22 @table::protodunedphase_simulation_services_legacy
28 PhysicsListName: "FTFP_BERT"
31 enableScintillation: true
32 ScintillationByParticleType: true
33 enableAbsorption: false
42 gdmlFileName_ : "protodunedphase_nowires.gdml"
44 MCTruthEventAction: {service_type: "MCTruthEventActionService"}
45 ParticleListAction:{service_type: "ParticleListActionService"}
46 #PhotonVisibilityServiceS2: @local::dunedphase3x1x1_photonvisibilityserviceS2
50 services.Geometry: @local::protodunedphase_geo
51 PhotonVisibilityService: @local::protodunedp_photonvisibilityservice
52 services.PhotonVisibilityService.ParametrisedTimePropagation: false
54 #services.PhotonVisibilityServiceS2.LibraryFile: "../S2_tests/libext_dunedphase3x1x1_lightsim_S2_20171213.root"
55 #services.PhotonVisibilityServiceS2.ParametrisedTimePropagation: true
57 services.LArG4Parameters.UseLitePhotons: true
58 services.LArPropertiesService.ScintFastTimeConst: 6 #default decay time in ns
59 #services.LArPropertiesService.ScintSlowTimeConst: 1590 #default decay time in ns
60 services.OpDetResponseInterface.QuantumEfficiency: 1
61 services.LArPropertiesService.ScintPreScale: 1
62 services.PhotonVisibilityService.Interpolate: true
63 services.PhotonVisibilityService.ParametrisedTimePropagation: false
68 module_type: EmptyEvent
69 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
70 maxEvents: 1 # Number of events to create
71 firstRun: 1 # Run number to use for this file
72 firstEvent: 1 # number of first event in the file
80 generator: @local::dunefd_singlep
82 larg4Main: { module_type: "larg4Main"
83 enableVisualization: false
84 macroPath: ".:./macros"
88 # elecDrift: { module_type: "SimDriftElectrons"
89 # SimulationLabel: "larg4Main:LArG4DetectorServicevolTPCActive"
90 # StoreDriftedElectronClusters: true
93 photonProp: { module_type: "PhotonLibraryPropagation"
94 RiseTimeFast: 0 #default parameter in ns
95 RiseTimeSlow: 0 #default parameter in ns
96 DoSlowComponent: false
97 EDepModuleLabels: ["larg4Main:LArG4DetectorServicevolTPCActive"] }
99 # photonPropS2:{ module_type: "PhotonLibraryPropagationS2"
101 # DriftEModuleLabel: "elecDrift"
104 rns: { module_type: "RandomNumberSaver" }
108 pmtresponse: #@local::standard_simphotoncounter
110 module_type: "SimPhotonCounter"
112 // InputModule: ["photonProp","photonPropS2"]
113 InputModule: "photonProp"
114 MakeAllPhotonsTree: true
115 MakeDetectedPhotonsTree: true
117 MakeOpDetEventsTree: true
123 #simulate: [ rns, generator, larg4Main, elecDrift, photonProp, photonPropS2 ]
125 simulate: [ rns, generator, larg4Main, photonProp ]
127 stream1: [ pmtresponse ]
128 trigger_paths: [simulate]
132 physics.producers.generator.Theta0XZ: [ 0 ]
133 physics.producers.generator.Theta0YZ: [ 0 ]
135 physics.producers.generator.X0: [ 0.01 ]
136 physics.producers.generator.Y0: [ 0.01 ]
137 physics.producers.generator.Z0: [ 0.01 ]
139 physics.producers.generator.P0: [ 3 ] # momentum in GeV/c
140 physics.producers.generator.PDG: [ 13 ]
147 module_type: RootOutput
148 fileName: "protodunedp_larg4_gen.root" #default file name, can override from command line with -o or --output