10 #ifndef INCLUDE_EICSMEAR_ERHIC_PARTICLEMC_H_
11 #define INCLUDE_EICSMEAR_ERHIC_PARTICLEMC_H_
15 #include <TLorentzVector.h>
49 virtual void Print(Option_t* =
"")
const;
113 virtual Bool_t
HasChild(Int_t)
const;
118 virtual Double_t
GetPx()
const;
123 virtual Double_t
GetPy()
const;
128 virtual Double_t
GetPz()
const;
133 virtual Double_t
GetM()
const;
138 virtual Double_t
GetPt()
const;
155 virtual Double_t
GetP()
const;
165 virtual Double_t
GetPhi()
const;
175 virtual Double_t
GetEta()
const;
181 virtual Double_t
GetZ()
const;
246 virtual Double_t
GetE()
const;
248 virtual void SetE(Double_t);
250 virtual void SetM(Double_t);
252 virtual void SetP(Double_t);
254 virtual void SetPt(Double_t);
256 virtual void SetPz(Double_t);
258 virtual void SetPhi(Double_t);
260 virtual void SetTheta(Double_t);
262 virtual void SetStatus(UShort_t);
267 virtual Pid Id()
const;
319 virtual void SetId(
int i) {
id = i; }
337 virtual void Set4Vector(
const TLorentzVector&);
453 return TVector3(
xv,
yv,
zv);
510 inline void ParticleMC::SetE(Double_t e) {
514 inline void ParticleMC::SetM(Double_t mass) {
518 inline void ParticleMC::SetP(Double_t momentum) {
522 inline void ParticleMC::SetPt(Double_t momentum) {
526 inline void ParticleMC::SetPz(Double_t momentum) {
530 inline void ParticleMC::SetPhi(Double_t value) {
534 inline void ParticleMC::SetTheta(Double_t value) {
538 inline void ParticleMC::SetStatus(UShort_t status) {
544 #endif // INCLUDE_EICSMEAR_ERHIC_PARTICLEMC_H_
Double32_t m
Invariant mass of particle.
UShort_t ldaughter
I of last child particle.
virtual TVector3 GetVertex() const
virtual Double_t GetThetaVsGamma() const
virtual Double_t GetRapidity() const
Double32_t px
x component of particle momentum
Double32_t zv
z coordinate of particle production vertex
virtual Double_t GetM() const
virtual UShort_t GetChild1Index() const
Double32_t E
Energy of particle.
void SetEvent(EventMC *event)
virtual void SetChildNIndex(int i)
Double32_t eta
Pseudorapidity of particle.
Double32_t py
y component of particle momentum
virtual Double_t GetZ() const
UShort_t I
Particle index in event.
virtual Double_t GetPz() const
virtual void ComputeDerivedQuantities()
virtual Pid GetParentId() const
Double32_t xv
x coordinate of particle production vertex
virtual TLorentzVector Get4Vector() const
ParticleMC(const std::string &="")
virtual Double_t GetPtVsGamma() const
const EventMC * GetEvent() const
virtual void SetId(int i)
virtual void Print(Option_t *="") const
UShort_t orig
I of parent particle.
Double32_t pz
z component of particle momentum
virtual UShort_t GetStatus() const
virtual void SetVertex(const TVector3 &)
Double32_t yv
y coordinate of particle production vertex
virtual Double_t GetP() const
Double32_t phi
Azimuthal angle.
Double32_t pt
Transverse momentum of particle.
Double32_t rapidity
Rapidity of particle.
virtual const ParticleMC * GetParent() const
virtual Double_t GetPhi() const
virtual Double_t GetPy() const
virtual Double_t GetXFeynman() const
virtual void Set4Vector(const TLorentzVector &)
Double32_t theta
Polar angle.
virtual const ParticleMC * GetChild(UShort_t) const
virtual Pid GetPdgCode() const
virtual void SetStatus(int i)
virtual Bool_t HasChild(Int_t) const
virtual void ComputeEventDependentQuantities(EventMC &)
virtual TLorentzVector Get4VectorInHadronBosonFrame() const
UShort_t daughter
I of first child particle.
Int_t id
PDG particle code.
virtual Double_t GetEta() const
virtual UShort_t GetChildNIndex() const
virtual UInt_t GetNChildren() const
Double32_t p
Total momentum of particle.
Int_t parentId
PDG code of this particle's parent.
virtual UInt_t GetIndex() const
virtual Double_t GetPt() const
virtual Double_t GetTheta() const
virtual Double_t GetE() const
UShort_t KS
Particle status code: see PYTHIA manual.
Double32_t xFeynman
Feynman x = pz/(2sqrt(s))
virtual void SetParentIndex(int i)
Abstract base class for a general particle.
virtual void SetChild1Index(int i)
virtual void SetIndex(int i)
virtual Double_t GetPx() const
virtual void SetParentId(int i)
virtual TLorentzVector PxPyPzE() const
virtual UShort_t GetParentIndex() const