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
LaserBeamsTEC2 * theLaserBeamsInTEC2
void GeneratePrimaries(G4Event *myEvent) override
shoot optical photons into the detector at the beginning of an event
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
void GeneratePrimaries(G4Event *myEvent) override
shoot optical photons into the detector at the beginning of an event
void GeneratePrimaries(G4Event *myEvent) override
shoot optical photons into the detector at the beginning of an event
~LaserPrimaryGeneratorAction() override
destructor