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
~LaserPrimaryGeneratorAction()
destructor
void setGeneratorId(G4PrimaryParticle *aParticle, int ID) const
set Id of the optical photons
void GeneratePrimaries(G4Event *myEvent)
call the corresponding GeneratePrimaries routines for both TEC's and the Barrel