1 #no experiment specific configurations because SingleGen is detector agnostic
3 #include "simulationservices.fcl"
4 #include "spacecharge.fcl"
5 #include "larproperties.fcl"
6 #include "detectorproperties.fcl"
7 #include "detectorclocks.fcl"
12 module_type: "SingleGen"
13 ParticleSelectionMode: "all" # 0 = use full list, 1 = randomly select a single listed particle
14 PadOutVectors: false # false: require all vectors to be same length
15 # true: pad out if a vector is size one
16 PDG: [ -13] # list of pdg codes for particles to make
17 P0: [ 4. ] # central value of momentum for each particle
18 SigmaP: [ .9 ] # variation about the central value
19 PDist: "Gaussian" # 0 - uniform, 1 - gaussian distribution
20 X0: [ 25.] # in cm in world coordinates, ie x = 0 is at the wire plane
21 # and increases away from the wire plane
22 Y0: [ 0. ] # in cm in world coordinates, ie y = 0 is at the center of the TPC
23 Z0: [ 90. ] # in cm in world coordinates, ie z = 0 is at the upstream edge of
24 # the TPC and increases with the beam direction
25 T0: [ 0. ] # starting time
26 SigmaX: [ 0. ] # variation in the starting x position
27 SigmaY: [ 0. ] # variation in the starting y position
28 SigmaZ: [ 30.] # variation in the starting z position
29 SigmaT: [ 0.0 ] # variation in the starting time
30 PosDist: "uniform" # 0 - uniform, 1 - gaussian
31 TDist: "uniform" # 0 - uniform, 1 - gaussian
32 Theta0XZ: [ 0. ] #angle in XZ plane (degrees)
33 Theta0YZ: [ 0. ] #angle in YZ plane (degrees)
34 SigmaThetaXZ: [ 180.] #in degrees
35 SigmaThetaYZ: [ 90. ] #in degrees
36 AngleDist: 0 # 0 - uniform, 1 - gaussian
51 default : { limit : 50 }
57 TFileService : { fileName: "testlarg4.root" }
58 RandomNumberGenerator: {}
60 service_type: "NuRandomService"
69 PhysicsListName: "FTFP_BERT"
72 enableScintillation: false
73 ScintillationByParticleType: false
74 enableAbsorption: false
83 gdmlFileName_ : "zen_nowires.gdml"
86 MCTruthEventAction: {service_type: "MCTruthEventActionService"}
89 service_type: "ParticleListActionService"
97 DisableWiresInG4: true
99 service_type: "Geometry"
102 ExptGeoHelperInterface: {
103 service_provider : StandardGeometryHelper
104 service_type: "ExptGeoHelperInterface"
107 GeometryConfigurationWriter: {}
110 LArG4Parameters: @local::standard_largeantparameters
112 SpaceCharge: @local::standard_spacecharge
113 # -- following 3 are in lardataalg
114 LArPropertiesService: @local::standard_properties
115 DetectorPropertiesService: @local::standard_detproperties
116 DetectorClocksService: @local::standard_detectorclocks
118 LArFFT: @local::standard_larfft
122 module_type: EmptyEvent
131 generator: @local::standard_singlep
133 module_type: larg4Main
134 enableVisualization: false
135 macroPath: ".:./macros"
139 module_type: "SimDriftElectrons"
140 SimulationLabel: "larg4Main:LArG4DetectorServicevolTPCActive"
141 StoreDriftedElectronClusters: true
144 ADCPerPCAtLowestASICGain: 5211
145 ASICGainInMVPerFC: 14
151 CompressionType: "none"
152 DriftEModuleLabel: "elecDrift"
169 InputFieldRespSamplingPeriod: 198
170 NoiseFluctPar:[ 0.28, 0, 0 ]
171 #NoiseFluctPar:[ 0.7025,0.9914,0.2865]
172 NoiseFluctChoice: "SimplePoisson"
173 NoiseModelChoice: "ModUBooNE"
174 #NoiseModelPar:[1.32e-1,120,7.5,0,0,0,0,0]
197 module_label: "simWire"
198 module_type: "SimWire"
203 CheckSimEnergyDeposit: {
204 module_type: CheckSimEnergyDeposit
207 SimDriftedElectronClusterAna: {
208 module_type: SimDriftedElectronClusterAna
209 EDepModuleLabel: "elecDrift"
213 path1: [ generator,larg4Main,elecDrift,simWire ]
214 stream1: [ out1,CheckSimEnergyDeposit,SimDriftedElectronClusterAna ]
215 trigger_paths: [ path1 ]
216 end_paths: [ stream1 ]
223 module_type: RootOutput
224 fileName: "Testingout.root"