1 #ifndef MPrimaryGeneratorAction_h 2 #define MPrimaryGeneratorAction_h 1 5 #include "G4VUserPrimaryGeneratorAction.hh" 6 #include "G4ParticleGun.hh" 34 void GeneratePrimaries(G4Event* anEvent);
50 G4ParticleTable* particleTable;
53 G4ParticleDefinition *Particle;
54 double mom, dmom, Mom;
55 double theta, dtheta, Theta;
56 double phi, dphi, Phi;
60 double polDeg, polTheta, polPhi;
61 G4ThreeVector beam_dir;
62 G4ThreeVector beam_vrt;
63 G4ThreeVector beam_pol;
74 lStdHep *stdhep_reader;
78 G4ParticleDefinition *L_Particle;
79 double L_mom, L_dmom, L_Mom;
80 double L_theta, L_dtheta, L_Theta;
81 double L_phi, L_dphi, L_Phi;
82 double L_vx, L_vy, L_vz;
87 G4ThreeVector L_beam_dir;
88 G4ThreeVector L_beam_vrt;
91 G4ParticleDefinition *L2_Particle;
92 double L2_mom, L2_dmom, L2_Mom;
93 double L2_theta, L2_dtheta, L2_Theta;
94 double L2_phi, L2_dphi, L2_Phi;
95 double L2_vx, L2_vy, L2_vz;
96 double L2_dvr, L2_dvz;
99 G4ThreeVector L2_beam_dir;
100 G4ThreeVector L2_beam_vrt;
102 G4ParticleGun* particleGun;
vector< double > lundUserDefined
user defined infos in the LUND header