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
|
Abstract base class for a general particle. More...
#include <VirtualParticle.h>
Public Member Functions | |
virtual | ~VirtualParticle () |
Destructor. More... | |
virtual Pid | Id () const =0 |
Returns identity information for the Particle species. More... | |
virtual TLorentzVector | Get4Vector () const =0 |
Returns the momentum-energy four-vector (px, py, pz, E). More... | |
virtual Double_t | GetPx () const =0 |
Returns the x component of 3-momentum. More... | |
virtual Double_t | GetPy () const =0 |
Returns the y component of 3-momentum. More... | |
virtual Double_t | GetPz () const =0 |
Returns the z component of 3-momentum. More... | |
virtual Double_t | GetE () const =0 |
Returns total energy. More... | |
virtual Double_t | GetP () const =0 |
Returns the magnitude of 3-momentum (GeV). More... | |
virtual Double_t | GetM () const =0 |
Returns invariant mass (GeV/c2). More... | |
virtual Double_t | GetPt () const =0 |
Returns momentum perpendicular to the beam direction. More... | |
virtual Double_t | GetTheta () const =0 |
Returns the polar angle in the range [0, pi] radians. More... | |
virtual Double_t | GetPhi () const =0 |
Returns the polar angle in the range [0, 2pi] radians. More... | |
virtual Double_t | GetRapidity () const =0 |
Returns the rapidity. More... | |
virtual Double_t | GetEta () const =0 |
Returns the pseudorapidity. More... | |
virtual TVector3 | GetVertex () const =0 |
Returns the origin point of the particle in cm. More... | |
virtual UShort_t | GetStatus () const =0 |
A general "status" code for the particle (definition depends on implementation). More... | |
virtual UShort_t | GetParentIndex () const =0 |
Returns the index of the parent particle. More... | |
virtual void | SetVertex (const TVector3 &)=0 |
Sets the origin coordinates. More... | |
virtual void | Set4Vector (const TLorentzVector &)=0 |
Sets the four-momentum of the particle. More... | |
Abstract base class for a general particle.
Definition at line 23 of file VirtualParticle.h.
|
inlinevirtual |
Destructor.
Definition at line 28 of file VirtualParticle.h.
|
pure virtual |
Returns the momentum-energy four-vector (px, py, pz, E).
Implemented in erhic::ParticleMCbase, Smear::ParticleMCS, and erhic::hadronic::ParticleMC.
|
pure virtual |
Returns total energy.
Implemented in erhic::ParticleMCbase, erhic::hadronic::ParticleMC, and Smear::ParticleMCS.
|
pure virtual |
Returns the pseudorapidity.
Implemented in erhic::ParticleMCbase, Smear::ParticleMCS, and erhic::hadronic::ParticleMC.
|
pure virtual |
Returns invariant mass (GeV/c2).
Implemented in erhic::ParticleMCbase, erhic::hadronic::ParticleMC, and Smear::ParticleMCS.
|
pure virtual |
Returns the magnitude of 3-momentum (GeV).
Implemented in erhic::ParticleMCbase, Smear::ParticleMCS, and erhic::hadronic::ParticleMC.
|
pure virtual |
Returns the index of the parent particle.
Implemented in Smear::ParticleMCS, erhic::hadronic::ParticleMC, and erhic::ParticleMCbase.
|
pure virtual |
Returns the polar angle in the range [0, 2pi] radians.
Implemented in erhic::ParticleMCbase, Smear::ParticleMCS, and erhic::hadronic::ParticleMC.
|
pure virtual |
Returns momentum perpendicular to the beam direction.
Implemented in erhic::ParticleMCbase, erhic::hadronic::ParticleMC, and Smear::ParticleMCS.
|
pure virtual |
Returns the x component of 3-momentum.
Implemented in erhic::ParticleMCbase, erhic::hadronic::ParticleMC, and Smear::ParticleMCS.
|
pure virtual |
Returns the y component of 3-momentum.
Implemented in erhic::ParticleMCbase, erhic::hadronic::ParticleMC, and Smear::ParticleMCS.
|
pure virtual |
Returns the z component of 3-momentum.
Implemented in erhic::ParticleMCbase, erhic::hadronic::ParticleMC, and Smear::ParticleMCS.
|
pure virtual |
Returns the rapidity.
Implemented in erhic::ParticleMCbase, Smear::ParticleMCS, and erhic::hadronic::ParticleMC.
|
pure virtual |
A general "status" code for the particle (definition depends on implementation).
Implemented in erhic::hadronic::ParticleMC, Smear::ParticleMCS, and erhic::ParticleMCbase.
|
pure virtual |
Returns the polar angle in the range [0, pi] radians.
Implemented in erhic::ParticleMCbase, Smear::ParticleMCS, and erhic::hadronic::ParticleMC.
|
pure virtual |
Returns the origin point of the particle in cm.
(0,0,0) indicates a particle originating in the collision.
Implemented in erhic::ParticleMCbase, erhic::hadronic::ParticleMC, and Smear::ParticleMCS.
|
pure virtual |
Returns identity information for the Particle species.
Implemented in erhic::ParticleMCbase, Smear::ParticleMCS, and erhic::hadronic::ParticleMC.
|
pure virtual |
Sets the four-momentum of the particle.
Changes are propagated to derived quantities.
Implemented in erhic::ParticleMCbase, erhic::hadronic::ParticleMC, and Smear::ParticleMCS.
|
pure virtual |
Sets the origin coordinates.
Implemented in erhic::ParticleMCbase, Smear::ParticleMCS, and erhic::hadronic::ParticleMC.