|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
14 #ifndef DDG4_GEANT4ISOTROPEGENERATOR_H
15 #define DDG4_GEANT4ISOTROPEGENERATOR_H
48 virtual void getParticleDirection(
int num, ROOT::Math::XYZVector& direction,
double& momentum)
const override;
70 #endif // DDG4_GEANT4ISOTROPEGENERATOR_H
virtual ~Geant4IsotropeGenerator()
Default destructor.
double m_phiMax
Property: Maximal phi angular value.
void getParticleDirectionUniform(int num, ROOT::Math::XYZVector &direction, double &momentum) const
Uniform particle distribution.
std::string m_distribution
Property: Distribution name. Default: "uniform". Allowed: "uniform", "cos(theta)",...
double m_phiMin
Property: Minimal phi angular value.
double m_thetaMax
Property: Maximal theta angular value.
void getParticleDirectionEta(int num, ROOT::Math::XYZVector &direction, double &momentum) const
e+e- --> ffbar particle distribution ~ 1 + cos^2(theta)
void getParticleDirectionCosTheta(int num, ROOT::Math::XYZVector &direction, double &momentum) const
Particle distribution ~ cos(theta)
double m_thetaMin
Property: Minimal theta angular value.
Geant4IsotropeGenerator(const Geant4IsotropeGenerator ©)=delete
Inhibit copy constructor.
void getParticleDirectionFFbar(int num, ROOT::Math::XYZVector &direction, double &momentum) const
e+e- --> ffbar particle distribution ~ 1 + cos^2(theta)
Geant4IsotropeGenerator()=delete
Inhibit default constructor.
const std::string & name() const
Access name of the action.
Generate particles isotrop in space around origine (0,0,0)
Namespace for the AIDA detector description toolkit.
virtual void getParticleDirection(int num, ROOT::Math::XYZVector &direction, double &momentum) const override
Particle modification. Caller presets defaults to: ( direction = m_direction, momentum = [m_momentumM...
Generic context to extend user, run and event information.
Generate particles isotrop in space around origine (0,0,0)
Geant4Context * context() const
Access the context.