1 #ifndef LaserAlignmentSimulation_LaserPrimaryGeneratorAction_h 2 #define LaserAlignmentSimulation_LaserPrimaryGeneratorAction_h 20 #include "G4VUserPrimaryGeneratorAction.hh" 21 #include "Randomize.hh" 24 class LaserPrimaryGeneratorMessenger;
LaserBeamsBarrel * theLaserBeamsInTECTIBTOBTEC
LaserBeamsTEC2 * theLaserBeamsInTEC2
LaserBeamsTEC1 * theLaserBeamsInTEC1
LaserPrimaryGeneratorAction(edm::ParameterSet const &theConf)
constructor
void GeneratePrimaries(G4Event *myEvent) override
call the corresponding GeneratePrimaries routines for both TEC's and the Barrel
void setGeneratorId(G4PrimaryParticle *aParticle, int ID) const
set Id of the optical photons
~LaserPrimaryGeneratorAction() override
destructor