14 #include "G4SystemOfUnits.hh"
20 theLaserBeamsInTEC1(),
21 theLaserBeamsInTEC2(),
22 theLaserBeamsInTECTIBTOBTEC()
66 LogDebug(
"LaserPrimaryGeneratorAction") <<
"<LaserPrimaryGeneratorAction::GeneratePrimaries(G4Event*)>: create a new Laser Event";
80 for (
int i = 1;
i < myEvent->GetNumberOfPrimaryVertex();
i++)
82 G4PrimaryVertex * theVertex = myEvent->GetPrimaryVertex(
i);
84 for (
int j = 0;
j < theVertex->GetNumberOfParticle();
j++)
86 G4PrimaryParticle * thePrimary = theVertex->GetPrimary(
j);
T getUntrackedParameter(std::string const &, T const &) const
LaserBeamsBarrel * theLaserBeamsInTECTIBTOBTEC
void GeneratePrimaries(G4Event *myEvent)
shoot optical photons into the detector at the beginning of an event
LaserBeamsTEC2 * theLaserBeamsInTEC2
LaserBeamsTEC1 * theLaserBeamsInTEC1
void GeneratePrimaries(G4Event *myEvent)
shoot optical photons into the detector at the beginning of an event
LaserPrimaryGeneratorAction(edm::ParameterSet const &theConf)
constructor
void GeneratePrimaries(G4Event *myEvent)
shoot optical photons into the detector at the beginning of an event
~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