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: "3x1x1dphase_larg4_hist.root" }
19 RandomNumberGenerator: {} #ART native random number generator
20 message: @local::standard_info
22 @table::dunedphase3x1x1_simulation_services_legacy
28 PhysicsListName: "FTFP_BERT"
31 enableScintillation: true
32 ScintillationByParticleType: true
33 enableAbsorption: false
38 ScintillationStackPhotons: false
43 gdmlFileName_ : "3x1x1dphase_nowires.gdml"
45 MCTruthEventAction: {service_type: "MCTruthEventActionService"}
46 ParticleListAction:{service_type: "ParticleListActionService"}
47 #PhotonVisibilityServiceS2: @local::dunedphase3x1x1_photonvisibilityserviceS2
50 services.Geometry: @local::dphase3x1x1_geo
51 services.PhotonVisibilityService: @local::dunedphase3x1x1_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
66 module_type: EmptyEvent
67 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
68 maxEvents: 1 # Number of events to create
69 firstRun: 1 # Run number to use for this file
70 firstEvent: 1 # number of first event in the file
78 generator: @local::dunefd_singlep
80 larg4Main: { module_type: "larg4Main"
81 enableVisualization: false
82 macroPath: ".:./macros"
86 # elecDrift: { module_type: "SimDriftElectrons"
87 # SimulationLabel: "larg4Main:LArG4DetectorServicevolTPCActive"
88 # StoreDriftedElectronClusters: true
91 photonProp: { module_type: "PhotonLibraryPropagation"
92 DoSlowComponent: false
93 RiseTimeFast: 0 #default parameter in ns
94 RiseTimeSlow: 0 #default parameter in ns
95 EDepModuleLabels: ["larg4Main:LArG4DetectorServicevolTPCActive"]
98 # photonPropS2:{ module_type: "PhotonLibraryPropagationS2"
100 # DriftEModuleLabel: "elecDrift"
103 rns: { module_type: "RandomNumberSaver" }
107 pmtresponse: #@local::standard_simphotoncounter
109 module_type: "SimPhotonCounter"
111 #InputModule: ["photonProp","photonPropS2"]
112 InputModule: "photonProp"
113 MakeAllPhotonsTree: true
114 MakeDetectedPhotonsTree: true
116 MakeOpDetEventsTree: true
122 #simulate: [ rns, generator, larg4Main, elecDrift, photonProp, photonPropS2 ]
123 simulate: [ rns, generator, larg4Main, photonProp ]
125 stream1: [ out1, pmtresponse ]
126 trigger_paths: [simulate]
130 physics.producers.generator.Theta0XZ: [ 0 ]
131 physics.producers.generator.Theta0YZ: [ 0 ]
133 physics.producers.generator.X0: [ 0.01 ]
134 physics.producers.generator.Y0: [ 0.01 ]
135 physics.producers.generator.Z0: [ 0.01 ]
137 physics.producers.generator.P0: [ 3 ] # momentum in GeV/c
138 physics.producers.generator.PDG: [ 13 ]
145 module_type: RootOutput
146 fileName: "3x1x1dphase_larg4_gen.root" #default file name, can override from command line with -o or --output