#include <LaserBeamsTEC1.h>
Public Member Functions | |
void | GeneratePrimaries (G4Event *myEvent) |
shoot optical photons into the detector at the beginning of an event More... | |
LaserBeamsTEC1 () | |
default constructor More... | |
LaserBeamsTEC1 (G4int nPhotonsInGun, G4int nPhotonsInBeam, G4double PhotonEnergy) | |
constructor More... | |
void | setOptPhotonPolar (G4double Angle) |
set the polarisation of the photons More... | |
~LaserBeamsTEC1 () | |
destructor More... | |
Private Attributes | |
CLHEP::DRand48Engine * | theDRand48Engine |
G4int | thenParticle |
G4int | thenParticleInGun |
G4ParticleGun * | theParticleGun |
G4double | thePhotonEnergy |
Laser Beams in the right Endcap
Definition at line 21 of file LaserBeamsTEC1.h.
LaserBeamsTEC1::LaserBeamsTEC1 | ( | ) |
default constructor
Definition at line 20 of file LaserBeamsTEC1.cc.
LaserBeamsTEC1::LaserBeamsTEC1 | ( | G4int | nPhotonsInGun, |
G4int | nPhotonsInBeam, | ||
G4double | PhotonEnergy | ||
) |
constructor
Definition at line 31 of file LaserBeamsTEC1.cc.
References setOptPhotonPolar(), theDRand48Engine, thenParticle, thenParticleInGun, theParticleGun, and thePhotonEnergy.
LaserBeamsTEC1::~LaserBeamsTEC1 | ( | ) |
destructor
Definition at line 71 of file LaserBeamsTEC1.cc.
References theDRand48Engine, and theParticleGun.
void LaserBeamsTEC1::GeneratePrimaries | ( | G4Event * | myEvent | ) |
shoot optical photons into the detector at the beginning of an event
Definition at line 77 of file LaserBeamsTEC1.cc.
References funct::cos(), M_PI, edm::RandomNumberGenerator::mySeed(), setOptPhotonPolar(), funct::sin(), theDRand48Engine, thenParticle, theParticleGun, and thePhotonEnergy.
Referenced by LaserPrimaryGeneratorAction::GeneratePrimaries().
void LaserBeamsTEC1::setOptPhotonPolar | ( | G4double | Angle | ) |
set the polarisation of the photons
Definition at line 167 of file LaserBeamsTEC1.cc.
References funct::cos(), funct::sin(), mathSSE::sqrt(), and theParticleGun.
Referenced by GeneratePrimaries(), and LaserBeamsTEC1().
|
private |
Definition at line 46 of file LaserBeamsTEC1.h.
Referenced by GeneratePrimaries(), LaserBeamsTEC1(), and ~LaserBeamsTEC1().
|
private |
Definition at line 39 of file LaserBeamsTEC1.h.
Referenced by GeneratePrimaries(), and LaserBeamsTEC1().
|
private |
Definition at line 38 of file LaserBeamsTEC1.h.
Referenced by LaserBeamsTEC1().
|
private |
Definition at line 43 of file LaserBeamsTEC1.h.
Referenced by GeneratePrimaries(), LaserBeamsTEC1(), setOptPhotonPolar(), and ~LaserBeamsTEC1().
|
private |
Definition at line 40 of file LaserBeamsTEC1.h.
Referenced by GeneratePrimaries(), and LaserBeamsTEC1().