#include <LaserPrimaryGeneratorAction.h>
Public Member Functions | |
void | GeneratePrimaries (G4Event *myEvent) |
call the corresponding GeneratePrimaries routines for both TEC's and the Barrel More... | |
LaserPrimaryGeneratorAction (edm::ParameterSet const &theConf) | |
constructor More... | |
void | setGeneratorId (G4PrimaryParticle *aParticle, int ID) const |
set Id of the optical photons More... | |
~LaserPrimaryGeneratorAction () | |
destructor More... | |
Private Attributes | |
LaserBeamsTEC1 * | theLaserBeamsInTEC1 |
LaserBeamsTEC2 * | theLaserBeamsInTEC2 |
LaserBeamsBarrel * | theLaserBeamsInTECTIBTOBTEC |
G4int | thenParticle |
G4int | thenParticleInGun |
G4double | thePhotonEnergy |
Primary Generator Action for the Laser Events
Definition at line 26 of file LaserPrimaryGeneratorAction.h.
LaserPrimaryGeneratorAction::LaserPrimaryGeneratorAction | ( | edm::ParameterSet const & | theConf | ) |
constructor
Definition at line 16 of file LaserPrimaryGeneratorAction.cc.
References edm::ParameterSet::getUntrackedParameter(), theLaserBeamsInTEC1, theLaserBeamsInTEC2, theLaserBeamsInTECTIBTOBTEC, thenParticle, thenParticleInGun, and thePhotonEnergy.
LaserPrimaryGeneratorAction::~LaserPrimaryGeneratorAction | ( | ) |
destructor
Definition at line 51 of file LaserPrimaryGeneratorAction.cc.
References theLaserBeamsInTEC1, theLaserBeamsInTEC2, and theLaserBeamsInTECTIBTOBTEC.
void LaserPrimaryGeneratorAction::GeneratePrimaries | ( | G4Event * | myEvent | ) |
call the corresponding GeneratePrimaries routines for both TEC's and the Barrel
Definition at line 61 of file LaserPrimaryGeneratorAction.cc.
References LaserBeamsTEC1::GeneratePrimaries(), LaserBeamsTEC2::GeneratePrimaries(), LaserBeamsBarrel::GeneratePrimaries(), i, j, LogDebug, setGeneratorId(), theLaserBeamsInTEC1, theLaserBeamsInTEC2, and theLaserBeamsInTECTIBTOBTEC.
Referenced by LaserAlignmentSimulation::update().
void LaserPrimaryGeneratorAction::setGeneratorId | ( | G4PrimaryParticle * | aParticle, |
int | ID | ||
) | const |
set Id of the optical photons
Definition at line 95 of file LaserPrimaryGeneratorAction.cc.
Referenced by GeneratePrimaries().
|
private |
Definition at line 46 of file LaserPrimaryGeneratorAction.h.
Referenced by GeneratePrimaries(), LaserPrimaryGeneratorAction(), and ~LaserPrimaryGeneratorAction().
|
private |
Definition at line 47 of file LaserPrimaryGeneratorAction.h.
Referenced by GeneratePrimaries(), LaserPrimaryGeneratorAction(), and ~LaserPrimaryGeneratorAction().
|
private |
Definition at line 48 of file LaserPrimaryGeneratorAction.h.
Referenced by GeneratePrimaries(), LaserPrimaryGeneratorAction(), and ~LaserPrimaryGeneratorAction().
|
private |
Definition at line 43 of file LaserPrimaryGeneratorAction.h.
Referenced by LaserPrimaryGeneratorAction().
|
private |
Definition at line 42 of file LaserPrimaryGeneratorAction.h.
Referenced by LaserPrimaryGeneratorAction().
|
private |
Definition at line 41 of file LaserPrimaryGeneratorAction.h.
Referenced by LaserPrimaryGeneratorAction().