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: [ 6. ] # central value of momentum for each particle
18 SigmaP: [ 0. ] # variation about the central value
19 PDist: "Gaussian" # 0 - uniform, 1 - gaussian distribution
20 X0: [ 0. ] # 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: [ -130. ] # 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: [ 0.0 ] # 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: [ 0. ] #in degrees
35 SigmaThetaYZ: [ 0. ] #in degrees
36 AngleDist: "Gaussian" # 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_ : "MinimalLArTPCdetector_nowires.gdml"
86 MCTruthEventAction: {service_type: "MCTruthEventActionService"}
87 ParticleListAction: {service_type: "ParticleListActionService"}
90 Name: "MinimalLArTPCdetector_g4"
91 GDML: "MinimalLArTPCdetector_g4.gdml"
92 ROOT: "MinimalLArTPCdetector_g4.gdml"
94 DisableWiresInG4: true
96 service_type: "Geometry"
99 ExptGeoHelperInterface: {
100 service_provider : StandardGeometryHelper
101 service_type: "ExptGeoHelperInterface"
104 GeometryConfigurationWriter: {}
107 LArG4Parameters: @local::standard_largeantparameters
109 SpaceCharge: @local::standard_spacecharge
110 # -- following 3 are in lardataalg
111 LArPropertiesService: @local::standard_properties
112 DetectorPropertiesService: {
113 service_provider: "DetectorPropertiesServiceStandard"
117 SternheimerA: 0.1956 # Ar Sternheimer parameter a.
118 SternheimerK: 3.0000 # Ar Sternheimer parameter k.
119 SternheimerX0: 0.2000 # Ar Sternheimer parameter x0.
120 SternheimerX1: 3.0000 # Ar Sternheimer parameter x0.
121 SternheimerCbar: 5.2146 # Ar Sternheimer parameter Cbar.
123 DriftVelFudgeFactor: 1.
125 ElectronsToADC: 1.208041e-3 # in ADC/e; 6241.5 electrons = 1fC = 7.54 ADC counts for ArgoNeuT
126 NumberTimeSamples: 2048 # ticks of the clock per readout frame
127 ReadOutWindowSize: 2048
129 SimpleBoundaryProcess: true #enable opticalBoundaryProcessSimple instead of G4 default
131 Temperature: 87 # in K
132 Electronlifetime: 3.0e3 # in us
133 Efield: [0.5,4.0,0.0] # in kV/cm
134 ElectronsToADC: 1.02534e-03 #
135 NumberTimeSamples: 1667
136 ReadOutWindowSize: 1667
142 DetectorClocksService: @local::standard_detectorclocks
144 LArFFT: @local::standard_larfft
148 module_type: EmptyEvent
157 generator: @local::standard_singlep
159 module_type: larg4Main
160 enableVisualization: false
161 macroPath: ".:./macros"
165 module_type: "SimDriftElectrons"
166 SimulationLabel: "larg4Main:LArG4DetectorServicevolTPCActive"
167 StoreDriftedElectronClusters: true
170 module_type: "SimWire"
171 DriftEModuleLabel: "elecDrift"
172 #NoiseFact: 0.0132 # Noise Scale
173 NoiseFact: 132. # Noise Scale
174 #NoiseWidth: 62.4 # Exponential Noise width (kHz)
175 NoiseWidth: 62.4 # Exponential Noise width (kHz)
176 LowCutoff: 7.5 # Low frequency filter cutoff (kHz)
180 ColFieldRespAmp: 0.0354
181 IndFieldRespAmp: 0.018
182 ShapeTimeConst: [ 3000., 900. ]
183 CompressionType: "none"
188 CheckSimEnergyDeposit: {
189 module_type: CheckSimEnergyDeposit
192 SimDriftedElectronClusterAna: {
193 module_type: SimDriftedElectronClusterAna
194 EDepModuleLabel: "elecDrift"
198 path1: [ generator,larg4Main,elecDrift,simWire ]
199 stream1: [ out1,CheckSimEnergyDeposit,SimDriftedElectronClusterAna ]
200 trigger_paths: [ path1 ]
201 end_paths: [ stream1 ]
208 module_type: RootOutput
209 fileName: "Testingout.root"