92 #ifdef ULTRA_MIRROR_USE
93 #define ULTRA_REFLECTION_USE
96 #ifdef ULTRA_GROUND_USE
97 #define ULTRA_REFLECTION_USE
102 #ifdef ULTRA_REFLECTION_USE
154 if (h_Planck*c_light/energy > lambda_max || h_Planck*c_light/energy < lambda_min){
155 G4cerr <<
"Error ! Optical photon energy (" << energy/
eV <<
" eV) out of limits set by material optical properties tables. \n"
156 <<
"Please check that photon wavelength is within the following interval: ["
157 << lambda_min/nm <<
","
158 << lambda_max/nm <<
"] nm"
160 << h_Planck*c_light/lambda_max/
eV <<
","
161 << h_Planck*c_light/lambda_min/
eV <<
"] eV"
164 G4Exception(
"UltraPrimaryGeneratorAction::GeneratePrimaries()",
"AirSh005",
G4ParticleDefinition * GetParticleDefinition()
G4SPSEneDistribution * GetEneDist()
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
void GeneratePrimaryVertex(G4Event *)
void SetPosDisType(G4String)
CLHEP::Hep3Vector G4ThreeVector
~UltraPrimaryGeneratorAction()
G4SPSPosDistribution * GetPosDist()
G4GeneralParticleSource * particleGun
G4double GetParticleEnergy()
const G4String & GetParticleName() const
UltraPrimaryGeneratorAction()
void SetParticleDefinition(G4ParticleDefinition *aParticleDefinition)
G4GLOB_DLL std::ostream G4cout
void SetCentreCoords(G4ThreeVector)
void SetEnergyDisType(G4String)
G4String GetEnergyDisType()
void SetParticlePolarization(G4ThreeVector aVal)
G4double GetLambdaMax() const
void SetPosRot1(G4ThreeVector)
G4SingleParticleSource * GetCurrentSource()
G4SPSAngDistribution * GetAngDist()
void SetPosDisShape(G4String)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double GetLambdaMin() const
static G4RunManager * GetRunManager()
static G4ParticleTable * GetParticleTable()
G4double energy(const ThreeVector &p, const G4double m)
void SetPosRot2(G4ThreeVector)
void GeneratePrimaries(G4Event *anEvent)
void SetParticleMomentumDirection(G4ParticleMomentum aMomentumDirection)
void SetMonoEnergy(G4double)
G4GLOB_DLL std::ostream G4cerr