#include <LaserBeamsBarrel.h>
Public Member Functions | |
void | GeneratePrimaries (G4Event *myEvent) |
shoot optical photons into the detector at the beginning of an event More... | |
LaserBeamsBarrel () | |
default constructor More... | |
LaserBeamsBarrel (G4int nPhotonsInGun, G4int nPhotonsInBeam, G4double PhotonEnergy) | |
constructor More... | |
void | setOptPhotonPolar (G4double Angle) |
set the polarisation of the photons More... | |
~LaserBeamsBarrel () | |
destructor More... | |
Private Attributes | |
CLHEP::DRand48Engine * | theDRand48Engine |
G4int | thenParticle |
G4int | thenParticleInGun |
G4ParticleGun * | theParticleGun |
G4double | thePhotonEnergy |
Define the LaserBeams which connect both TECs and TIB and TOB with eachother
Definition at line 21 of file LaserBeamsBarrel.h.
LaserBeamsBarrel::LaserBeamsBarrel | ( | ) |
default constructor
Definition at line 21 of file LaserBeamsBarrel.cc.
LaserBeamsBarrel::LaserBeamsBarrel | ( | G4int | nPhotonsInGun, |
G4int | nPhotonsInBeam, | ||
G4double | PhotonEnergy | ||
) |
constructor
Definition at line 32 of file LaserBeamsBarrel.cc.
References setOptPhotonPolar(), theDRand48Engine, thenParticle, thenParticleInGun, theParticleGun, and thePhotonEnergy.
LaserBeamsBarrel::~LaserBeamsBarrel | ( | ) |
destructor
Definition at line 72 of file LaserBeamsBarrel.cc.
References theDRand48Engine, and theParticleGun.
void LaserBeamsBarrel::GeneratePrimaries | ( | G4Event * | myEvent | ) |
shoot optical photons into the detector at the beginning of an event
Definition at line 78 of file LaserBeamsBarrel.cc.
References funct::cos(), M_PI, edm::RandomNumberGenerator::mySeed(), SurveyInfoScenario_cff::seed, setOptPhotonPolar(), funct::sin(), theDRand48Engine, thenParticle, theParticleGun, and thePhotonEnergy.
Referenced by LaserPrimaryGeneratorAction::GeneratePrimaries().
void LaserBeamsBarrel::setOptPhotonPolar | ( | G4double | Angle | ) |
set the polarisation of the photons
Definition at line 166 of file LaserBeamsBarrel.cc.
References funct::cos(), funct::sin(), mathSSE::sqrt(), and theParticleGun.
Referenced by GeneratePrimaries(), and LaserBeamsBarrel().
|
private |
Definition at line 46 of file LaserBeamsBarrel.h.
Referenced by GeneratePrimaries(), LaserBeamsBarrel(), and ~LaserBeamsBarrel().
|
private |
Definition at line 39 of file LaserBeamsBarrel.h.
Referenced by GeneratePrimaries(), and LaserBeamsBarrel().
|
private |
Definition at line 38 of file LaserBeamsBarrel.h.
Referenced by LaserBeamsBarrel().
|
private |
Definition at line 43 of file LaserBeamsBarrel.h.
Referenced by GeneratePrimaries(), LaserBeamsBarrel(), setOptPhotonPolar(), and ~LaserBeamsBarrel().
|
private |
Definition at line 40 of file LaserBeamsBarrel.h.
Referenced by GeneratePrimaries(), and LaserBeamsBarrel().