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