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_ERHIC_VIRTUALPARTICLE_H_
11 #define INCLUDE_EICSMEAR_ERHIC_VIRTUALPARTICLE_H_
13 #include <TLorentzVector.h>
33 virtual Pid Id()
const = 0;
43 virtual Double_t
GetPx()
const = 0;
48 virtual Double_t
GetPy()
const = 0;
53 virtual Double_t
GetPz()
const = 0;
58 virtual Double_t
GetE()
const = 0;
63 virtual Double_t
GetP()
const = 0;
68 virtual Double_t
GetM()
const = 0;
73 virtual Double_t
GetPt()
const = 0;
78 virtual Double_t
GetTheta()
const = 0;
83 virtual Double_t
GetPhi()
const = 0;
93 virtual Double_t
GetEta()
const = 0;
115 virtual void SetVertex(
const TVector3& ) = 0;
121 virtual void Set4Vector(
const TLorentzVector& ) = 0;
128 #endif // INCLUDE_EICSMEAR_ERHIC_VIRTUALPARTICLE_H_
virtual Double_t GetPz() const =0
Returns the z component of 3-momentum.
virtual Double_t GetM() const =0
Returns invariant mass (GeV/c2).
virtual Double_t GetP() const =0
Returns the magnitude of 3-momentum (GeV).
virtual UShort_t GetStatus() const =0
A general "status" code for the particle (definition depends on implementation).
virtual void SetVertex(const TVector3 &)=0
Sets the origin coordinates.
virtual Double_t GetE() const =0
Returns total energy.
virtual Double_t GetEta() const =0
Returns the pseudorapidity.
virtual Double_t GetPy() const =0
Returns the y component of 3-momentum.
Abstract base class for a general particle.
virtual TVector3 GetVertex() const =0
Returns the origin point of the particle in cm.
virtual ~VirtualParticle()
Destructor.
virtual Double_t GetPx() const =0
Returns the x component of 3-momentum.
virtual Double_t GetPt() const =0
Returns momentum perpendicular to the beam direction.
virtual Double_t GetTheta() const =0
Returns the polar angle in the range [0, pi] radians.
virtual Double_t GetRapidity() const =0
Returns the rapidity.
virtual void Set4Vector(const TLorentzVector &)=0
Sets the four-momentum of the particle.
virtual TLorentzVector Get4Vector() const =0
Returns the momentum-energy four-vector (px, py, pz, E).
virtual Double_t GetPhi() const =0
Returns the polar angle in the range [0, 2pi] radians.
virtual UShort_t GetParentIndex() const =0
Returns the index of the parent particle.
virtual Pid Id() const =0
Returns identity information for the Particle species.