14 #include "G4SystemOfUnits.hh"
20 theLaserBeamsInTEC1(),
21 theLaserBeamsInTEC2(),
22 theLaserBeamsInTECTIBTOBTEC() {
71 LogDebug(
"LaserPrimaryGeneratorAction") <<
"<LaserPrimaryGeneratorAction::GeneratePrimaries(G4Event*)>: create a "
87 for (
int i = 1;
i < myEvent->GetNumberOfPrimaryVertex();
i++) {
88 G4PrimaryVertex *theVertex = myEvent->GetPrimaryVertex(
i);
90 for (
int j = 0;
j < theVertex->GetNumberOfParticle();
j++) {
91 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
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