eic-smear
1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
|
Go to the documentation of this file.
10 #ifndef INCLUDE_EICSMEAR_HADRONIC_PARTICLEMC_H_
11 #define INCLUDE_EICSMEAR_HADRONIC_PARTICLEMC_H_
15 #include <TLorentzVector.h>
51 ParticleMC(
const TLorentzVector&,
const TVector3&,
int,
int,
int);
66 virtual Double_t
GetPx()
const;
71 virtual Double_t
GetPy()
const;
76 virtual Double_t
GetPz()
const;
81 virtual Double_t
GetE()
const;
86 virtual Double_t
GetP()
const;
91 virtual Double_t
GetM()
const;
96 virtual Double_t
GetPt()
const;
106 virtual Double_t
GetPhi()
const;
116 virtual Double_t
GetEta()
const;
162 virtual void Set4Vector(
const TLorentzVector&);
245 return TVector3(
xv,
yv,
zv);
277 #endif // INCLUDE_EICSMEAR_HADRONIC_PARTICLEMC_H_
ParticleMC()
Default constructor.
virtual void SetVertex(const TVector3 &)
Sets the origin coordinates.
virtual void Set4Vector(const TLorentzVector &)
Sets the four-momentum of the particle.
virtual Double_t GetM() const
Returns invariant mass (GeV/c2).
virtual void SetXFeynman(double xf)
Sets the Feynman-x.
Double32_t zv
z vertex position (cm)
virtual Double_t GetPt() const
Returns momentum perpendicular to the beam direction.
Int_t id
PDG code identifying the particle.
virtual Double_t GetXFeynman() const
Returns Feynman-x.
UShort_t KS
Status code: see PYTHIA manual.
virtual TVector3 GetVertex() const
Returns the origin point of the particle in cm.
virtual Double_t GetEta() const
Returns the pseudorapidity.
Double32_t rapidity
Rapidity.
Double32_t p
Magnitude of momentum (GeV/c)
Double32_t xv
x vertex position (cm)
A realisation of erhic::VirtualParticle for tracks from a hadron-hadron Monte Carlo event.
Double32_t m
Invariant mass (GeV/c2)
virtual UShort_t GetStatus() const
A general "status" code for the particle (definition depends on implementation).
virtual Double_t GetPz() const
Returns the z component of 3-momentum.
Double32_t eta
Pseudorapidity.
UShort_t orig
I of parent particle.
Abstract base class for a general particle.
virtual Double_t GetTheta() const
Returns the polar angle in the range [0, pi] radians.
virtual UShort_t GetParentIndex() const
Index of this particle's precursor in the event.
Double32_t yv
y vertex position (cm)
virtual ~ParticleMC()
Destructor.
virtual Double_t GetE() const
Returns total energy.
Double32_t E
Total energy (GeV)
virtual Double_t GetRapidity() const
Returns the rapidity.
virtual void SetParentIndex(UShort_t)
Sets the parent index, in the range [1, N - 1] for particles with parents, or 0 for those without.
Double32_t py
y component of momentum (GeV/c)
Double32_t phi
Angle of azimuth (radians [0, 2pi])
Double32_t pz
z component of momentum (GeV/c)
Double32_t px
x component of momentum (GeV/c)
Double32_t xFeynman
Feynman x = 2 * pz / centre of mass energy.
virtual Double_t GetPx() const
Returns the x component of 3-momentum.
virtual erhic::Pid Id() const
Returns identity information for the Particle species.
virtual TLorentzVector Get4Vector() const
Returns the momentum-energy four-vector (px, py, pz, E).
virtual Double_t GetP() const
Returns the magnitude of 3-momentum (GeV).
virtual Double_t GetPy() const
Returns the y component of 3-momentum.
Double32_t theta
Polar angle (radians [0, pi])
Double32_t pt
Momentum transverse to the beam direction (GeV/c)
virtual Double_t GetPhi() const
Returns the polar angle in the range [0, 2pi] radians.
virtual void SetStatus(UShort_t)
Sets the status code.