1 //#include "seedservice.fcl"
2 #no experiment specific configurations because SingleGen is detector agnostic
6 module_type: "SingleGen"
7 ParticleSelectionMode: "all" # 0 = use full list, 1 = randomly select a single listed particle
8 PadOutVectors: false # false: require all vectors to be same length
9 # true: pad out if a vector is size one
10 PDG: [ 13 ] # list of pdg codes for particles to make
11 P0: [ 6. ] # central value of momentum for each particle
12 SigmaP: [ 0. ] # variation about the central value
13 PDist: "Gaussian" # 0 - uniform, 1 - gaussian distribution
14 X0: [ 0. ] # in cm in world coordinates, ie x = 0 is at the wire plane
15 # and increases away from the wire plane
16 Y0: [ 0. ] # in cm in world coordinates, ie y = 0 is at the center of the TPC
17 Z0: [ -130. ] # in cm in world coordinates, ie z = 0 is at the upstream edge of
18 # the TPC and increases with the beam direction
19 T0: [ 0. ] # starting time
20 SigmaX: [ 0. ] # variation in the starting x position
21 SigmaY: [ 0. ] # variation in the starting y position
22 SigmaZ: [ 0.0 ] # variation in the starting z position
23 SigmaT: [ 0.0 ] # variation in the starting time
24 PosDist: "uniform" # 0 - uniform, 1 - gaussian
25 TDist: "uniform" # 0 - uniform, 1 - gaussian
26 Theta0XZ: [ 0. ] #angle in XZ plane (degrees)
27 Theta0YZ: [ 0. ] #angle in YZ plane (degrees)
28 SigmaThetaXZ: [ 0. ] #in degrees
29 SigmaThetaYZ: [ 0. ] #in degrees
30 AngleDist: "Gaussian" # 0 - uniform, 1 - gaussian
39 module_type: EmptyEvent
51 default : { limit : 50 }
58 fileName : "CheckSimEnergyDeposit.root"
64 RandomNumberGenerator: {}
65 NuRandomService:{service_type: "NuRandomService"
72 PhysicsListName: "FTFP_BERT"
75 enableScintillation: false
76 ScintillationByParticleType: false
77 enableAbsorption: false
84 // Detector(s) for the simulation
88 gdmlFileName_ : "lArDet_split.gdml"
96 // gdmlFileName:"output.gdml"
100 ExampleGeneralAction: {
101 name: "exampleGeneral"
103 MCTruthEventAction: {service_type: "MCTruthEventActionService"}
104 ParticleListAction: {service_type: "ParticleListActionService"}
109 module_type: RootOutput
110 fileName: "Testingout.root"
116 generator: @local::standard_singlep
118 module_type: larg4Main
119 enableVisualization: false
120 macroPath: ".:./macros"
127 CheckSimEnergyDeposit: { module_type: CheckSimEnergyDeposit
130 CheckMCParticle: { module_type: CheckMCParticle
131 hist_dir: "HistoDir2"
133 CheckAuxDetHit: { module_type: CheckAuxDetHit
134 hist_dir: "HistoDir3"
139 path1: [ generator,larg4Main ]
140 stream1: [ out1,CheckSimEnergyDeposit,CheckMCParticle,CheckAuxDetHit]
142 trigger_paths: [ path1 ]
143 end_paths: [ stream1 ]