18 theLaserBeamsInTEC1(),
19 theLaserBeamsInTEC2(),
20 theLaserBeamsInTECTIBTOBTEC()
64 LogDebug(
"LaserPrimaryGeneratorAction") <<
"<LaserPrimaryGeneratorAction::GeneratePrimaries(G4Event*)>: create a new Laser Event";
78 for (
int i = 1;
i < myEvent->GetNumberOfPrimaryVertex();
i++)
80 G4PrimaryVertex * theVertex = myEvent->GetPrimaryVertex(
i);
82 for (
int j = 0;
j < theVertex->GetNumberOfParticle();
j++)
84 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