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