1 #ifndef LaserAlignmentSimulation_LaserBeamsBarrel_h 2 #define LaserAlignmentSimulation_LaserBeamsBarrel_h 12 #include "CLHEP/Random/DRand48Engine.h" 15 #include "G4ParticleTable.hh" 16 #include "G4VUserPrimaryGeneratorAction.hh" 27 LaserBeamsBarrel(G4int nPhotonsInGun, G4int nPhotonsInBeam, G4double PhotonEnergy);
LaserBeamsBarrel()
default constructor
G4ParticleGun * theParticleGun
~LaserBeamsBarrel() override
destructor
void setOptPhotonPolar(G4double Angle)
set the polarisation of the photons
CLHEP::DRand48Engine * theDRand48Engine
void GeneratePrimaries(G4Event *myEvent) override
shoot optical photons into the detector at the beginning of an event