EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
erhic::ParticleMCbase Class Reference

#include <eic-smear/blob/master/include/eicsmear/erhic/ParticleMC.h>

+ Inheritance diagram for erhic::ParticleMCbase:
+ Collaboration diagram for erhic::ParticleMCbase:

Public Member Functions

 ParticleMCbase ()
 
virtual ~ParticleMCbase ()
 
virtual void Print (Option_t *="") const
 
virtual UInt_t GetIndex () const
 
virtual UShort_t GetStatus () const
 
virtual UShort_t GetParentIndex () const
 
virtual UShort_t GetParentIndex1 () const
 
virtual UShort_t GetChild1Index () const
 
virtual UShort_t GetChildNIndex () const
 
virtual UInt_t GetNChildren () const
 
virtual Double_t GetPx () const
 
virtual Double_t GetPy () const
 
virtual Double_t GetPz () const
 
virtual Double_t GetM () const
 
virtual Double_t GetPt () const
 
virtual TVector3 GetVertex () const
 
virtual Pid GetParentId () const
 
virtual Double_t GetP () const
 
virtual Double_t GetTheta () const
 
virtual Double_t GetPhi () const
 
virtual Double_t GetRapidity () const
 
virtual Double_t GetEta () const
 
virtual Double_t GetZ () const
 
virtual Double_t GetXFeynman () const
 
virtual Double_t GetThetaVsGamma () const
 
virtual Double_t GetPtVsGamma () const
 
const EventMCGetEvent () const
 
void SetEvent (EventMC *event)
 
virtual TLorentzVector Get4Vector () const
 
virtual TLorentzVector PxPyPzE () const
 
virtual TLorentzVector Get4VectorInHadronBosonFrame () const
 
virtual Double_t GetE () const
 
virtual void SetE (Double_t)
 
virtual void SetM (Double_t)
 
virtual void SetP (Double_t)
 
virtual void SetPt (Double_t)
 
virtual void SetPz (Double_t)
 
virtual void SetPhi (Double_t)
 
virtual void SetTheta (Double_t)
 
virtual void SetStatus (UShort_t)
 
virtual Pid Id () const
 
virtual Pid GetPdgCode () const
 
virtual void ComputeDerivedQuantities ()
 
virtual void ComputeEventDependentQuantities (EventMC &)
 
virtual void SetIndex (int i)
 
virtual void SetStatus (int i)
 
virtual void SetId (int i)
 
virtual void SetParentIndex (int i)
 
virtual void SetParentIndex1 (int i)
 
virtual void SetChild1Index (int i)
 
virtual void SetChildNIndex (int i)
 
virtual void Set4Vector (const TLorentzVector &)
 
virtual void SetVertex (const TVector3 &)
 
virtual void SetParentId (int i)
 
- Public Member Functions inherited from erhic::VirtualParticle
virtual ~VirtualParticle ()
 

Public Attributes

UShort_t I
 Particle index in event.
 
Int_t KS
 Particle status code: see PYTHIA manual.
 
Int_t id
 PDG particle code.
 
UShort_t orig
 I of parent particle.
 
UShort_t orig1
 I of parent particle1.
 
UShort_t daughter
 I of first child particle.
 
UShort_t ldaughter
 I of last child particle.
 
Double_t px
 x component of particle momentum
 
Double_t py
 y component of particle momentum
 
Double_t pz
 z component of particle momentum
 
Double32_t E
 Energy of particle.
 
Double32_t m
 Invariant mass of particle.
 
Double32_t pt
 Transverse momentum of particle.
 
Double_t xv
 x coordinate of particle production vertex
 
Double_t yv
 y coordinate of particle production vertex
 
Double_t zv
 z coordinate of particle production vertex
 
Int_t parentId
 PDG code of this particle's parent.
 
Double32_t p
 Total momentum of particle.
 
Double32_t theta
 Polar angle.
 
Double32_t phi
 Azimuthal angle.
 
Double32_t rapidity
 Rapidity of particle.
 
Double32_t eta
 Pseudorapidity of particle.
 
Double32_t z
 
Double32_t xFeynman
 Feynman x = pz/(2sqrt(s))
 
Double32_t thetaGamma
 
Double32_t ptVsGamma
 
Double32_t thetaGammaHCM
 
Double32_t ptVsGammaHCM
 
Double32_t phiPrf
 
TRef event
 

Detailed Description

A particle produced by a Monte Carlo generator.

Definition at line 43 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 43 of file ParticleMC.h

Constructor & Destructor Documentation

erhic::ParticleMCbase::ParticleMCbase ( )
explicit

Definition at line 55 of file ParticleMC.cxx.

View newest version in sPHENIX GitHub at line 55 of file ParticleMC.cxx

References I.

virtual erhic::ParticleMCbase::~ParticleMCbase ( )
inlinevirtual

Destructor

Definition at line 49 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 49 of file ParticleMC.h

Member Function Documentation

void erhic::ParticleMCbase::ComputeDerivedQuantities ( )
virtual

Sets quantities derived from the four-momentum (E, px, py, pz), namely

  • total momentum
  • transverse momentum
  • rapidity
  • pseudorapidity
  • theta
  • phi

This should be called if (E, px, py, pz) are manually altered in order to propagate the changes to these other quantities.

Definition at line 135 of file ParticleMC.cxx.

View newest version in sPHENIX GitHub at line 135 of file ParticleMC.cxx

References E, eta, p, phi, pt, px, py, pz, rapidity, and theta.

Referenced by erhic::ParticleMC::ParticleMC(), and Set4Vector().

+ Here is the caller graph for this function:

void erhic::ParticleMCbase::ComputeEventDependentQuantities ( EventMC event)
virtual

Sets quantities that depend on the properties of the event or associations of one particle with another, namely

  • z
  • Feynman x
  • angle and pt with respect to the exchanged boson
  • azimuthal angle around the exchanged boson
  • parent pdg code

Important: this particle is assumed to be in the same frame of reference as those contained in the event that is passed as an argument.

Definition at line 157 of file ParticleMC.cxx.

View newest version in sPHENIX GitHub at line 157 of file ParticleMC.cxx

References computeHermesPhiH(), Acts::UnitConstants::e, Get4Vector(), erhic::EventMC::GetNTracks(), erhic::EventDis::GetW2(), orig, p, parentId, phiPrf, ptVsGamma, ptVsGammaHCM, thetaGamma, thetaGammaHCM, and xFeynman.

Referenced by Set4Vector().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TLorentzVector erhic::ParticleMCbase::Get4Vector ( ) const
virtual

Returns the (E,p) 4-vector in the lab frame.

Implements erhic::VirtualParticle.

Definition at line 209 of file ParticleMC.cxx.

View newest version in sPHENIX GitHub at line 209 of file ParticleMC.cxx

References E, px, py, and pz.

Referenced by ComputeEventDependentQuantities(), and PxPyPzE().

+ Here is the caller graph for this function:

TLorentzVector erhic::ParticleMCbase::Get4VectorInHadronBosonFrame ( ) const
virtual

Returns the (E,p) 4-vector in the hadron-boson frame. This frame is defined such that

  • the beam hadron is at rest
  • the z direction is the exchange boson momentum vector
  • the y direction is defined as q x e, where q is the boson and e is the scattered lepton momentum
  • x is defined to complete the right-handed coordinate system
Note
Due to details of the implementation and how ROOT handles reading events in a TTree, this function will not work for the exchange boson when using a TTree::Draw (or similar) statement. It does work for the exchange boson if reading events manually via TTree::GetEntry.

Definition at line 262 of file ParticleMC.cxx.

View newest version in sPHENIX GitHub at line 262 of file ParticleMC.cxx

References cos(), Acts::UnitConstants::e, GetEvent(), GetIndex(), erhic::EventDis::GetNu(), m, phiPrf, ptVsGammaHCM, and thetaGammaHCM.

+ Here is the call graph for this function:

UShort_t erhic::ParticleMCbase::GetChild1Index ( ) const
inlinevirtual

Returns the index of this particle's first child particle. Returns 0 if this particle has no children.

Definition at line 480 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 480 of file ParticleMC.h

References daughter.

Referenced by TreeToHepMC().

+ Here is the caller graph for this function:

UShort_t erhic::ParticleMCbase::GetChildNIndex ( ) const
inlinevirtual

Returns the index of this particle's last child particle. Returns 0 if this particle has zero or one children.

Definition at line 484 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 484 of file ParticleMC.h

References ldaughter.

Referenced by TreeToHepMC().

+ Here is the caller graph for this function:

Double_t erhic::ParticleMCbase::GetE ( ) const
inlinevirtual

Returns the energy of the particle in the lab frame.

Implements erhic::VirtualParticle.

Definition at line 562 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 562 of file ParticleMC.h

References E.

Referenced by FillParticleQA(), main(), ReadEICFiles::process_event(), and TreeToHepMC().

+ Here is the caller graph for this function:

Double_t erhic::ParticleMCbase::GetEta ( ) const
inlinevirtual

Returns the pseudorapidity.

Implements erhic::VirtualParticle.

Definition at line 532 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 532 of file ParticleMC.h

References eta.

Referenced by FillParticleQA(), and main().

+ Here is the caller graph for this function:

const EventMC * erhic::ParticleMCbase::GetEvent ( ) const

Returns a pointer to the event containing this particle. Returns NULL if this particle has not been associated with an event.

Definition at line 213 of file ParticleMC.cxx.

View newest version in sPHENIX GitHub at line 213 of file ParticleMC.cxx

Referenced by Get4VectorInHadronBosonFrame(), erhic::ParticleMC::GetChild(), and erhic::ParticleMC::GetParent().

+ Here is the caller graph for this function:

UInt_t erhic::ParticleMCbase::GetIndex ( ) const
inlinevirtual

Returns the particle index in an event, in the range [1, N].

Definition at line 465 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 465 of file ParticleMC.h

References I.

Referenced by EventToDot::Generate(), Get4VectorInHadronBosonFrame(), ReadEICFiles::process_event(), and TreeToHepMC().

+ Here is the caller graph for this function:

Double_t erhic::ParticleMCbase::GetM ( ) const
inlinevirtual

Returns invariant mass (GeV/c2).

Implements erhic::VirtualParticle.

Definition at line 500 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 500 of file ParticleMC.h

References m.

Referenced by ReadEICFiles::process_event(), and TreeToHepMC().

+ Here is the caller graph for this function:

UInt_t erhic::ParticleMCbase::GetNChildren ( ) const
inlinevirtual

Returns the number of children of this particle. Returns 0 if the particle did not decay.

Definition at line 556 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 556 of file ParticleMC.h

References daughter, and ldaughter.

Referenced by erhic::ParticleMC::GetChild(), erhic::ParticleMC::HasChild(), and TreeToHepMC().

+ Here is the caller graph for this function:

Double_t erhic::ParticleMCbase::GetP ( ) const
inlinevirtual

Returns the total momentum (GeV).

Implements erhic::VirtualParticle.

Definition at line 516 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 516 of file ParticleMC.h

References p.

Referenced by FillParticleQA().

+ Here is the caller graph for this function:

erhic::Pid erhic::ParticleMCbase::GetParentId ( ) const
inlinevirtual

Returns the identity information of this particle's parent.

Definition at line 512 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 512 of file ParticleMC.h

References parentId.

UShort_t erhic::ParticleMCbase::GetParentIndex ( ) const
inlinevirtual

Returns the index of this particle's parent in an event.

Implements erhic::VirtualParticle.

Definition at line 473 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 473 of file ParticleMC.h

References orig.

Referenced by erhic::ParticleMC::GetParent(), ReadEICFiles::process_event(), and TreeToHepMC().

+ Here is the caller graph for this function:

UShort_t erhic::ParticleMCbase::GetParentIndex1 ( ) const
inlinevirtual

Definition at line 476 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 476 of file ParticleMC.h

References orig1.

Referenced by TreeToHepMC().

+ Here is the caller graph for this function:

virtual Pid erhic::ParticleMCbase::GetPdgCode ( ) const
inlinevirtual

Returns the ID of the particle.

Definition at line 252 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 252 of file ParticleMC.h

References Id().

Referenced by EicEventAssembler::AssignScatteredLepton(), FillParticleQA(), main(), and read().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Double_t erhic::ParticleMCbase::GetPhi ( ) const
inlinevirtual

Returns the polar angle in the range [0, 2pi] radians.

Implements erhic::VirtualParticle.

Definition at line 524 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 524 of file ParticleMC.h

References phi.

Referenced by FillParticleQA().

+ Here is the caller graph for this function:

Double_t erhic::ParticleMCbase::GetPt ( ) const
inlinevirtual

Returns momentum transverse to the beam direction.

Implements erhic::VirtualParticle.

Definition at line 504 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 504 of file ParticleMC.h

References pt.

Referenced by FillParticleQA(), and read().

+ Here is the caller graph for this function:

Double_t erhic::ParticleMCbase::GetPtVsGamma ( ) const
inlinevirtual

Returns the pT with respect to the exchange boson. Defined in the beam hadron's rest frame.

Definition at line 548 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 548 of file ParticleMC.h

References ptVsGamma.

Double_t erhic::ParticleMCbase::GetPx ( ) const
inlinevirtual

Returns the x component of 3-momentum.

Implements erhic::VirtualParticle.

Definition at line 488 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 488 of file ParticleMC.h

References px.

Referenced by main(), ReadEICFiles::process_event(), and TreeToHepMC().

+ Here is the caller graph for this function:

Double_t erhic::ParticleMCbase::GetPy ( ) const
inlinevirtual

Returns the y component of 3-momentum.

Implements erhic::VirtualParticle.

Definition at line 492 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 492 of file ParticleMC.h

References py.

Referenced by main(), ReadEICFiles::process_event(), and TreeToHepMC().

+ Here is the caller graph for this function:

Double_t erhic::ParticleMCbase::GetPz ( ) const
inlinevirtual

Returns the z component of 3-momentum.

Implements erhic::VirtualParticle.

Definition at line 496 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 496 of file ParticleMC.h

References pz.

Referenced by main(), ReadEICFiles::process_event(), and TreeToHepMC().

+ Here is the caller graph for this function:

Double_t erhic::ParticleMCbase::GetRapidity ( ) const
inlinevirtual

Returns the rapidity.

Implements erhic::VirtualParticle.

Definition at line 528 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 528 of file ParticleMC.h

References rapidity.

UShort_t erhic::ParticleMCbase::GetStatus ( ) const
inlinevirtual

Returns the status of the particle. The meaning of the status code depends on the generator. For PYTHIA, see the description of variable K(I,1) in the manual.

Implements erhic::VirtualParticle.

Definition at line 469 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 469 of file ParticleMC.h

References KS.

Referenced by erhic::EventMC::FinalState(), main(), ReadEICFiles::process_event(), and TreeToHepMC().

+ Here is the caller graph for this function:

Double_t erhic::ParticleMCbase::GetTheta ( ) const
inlinevirtual

Returns the polar angle in the range [0, pi] radians.

Implements erhic::VirtualParticle.

Definition at line 520 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 520 of file ParticleMC.h

References theta.

Referenced by FillParticleQA().

+ Here is the caller graph for this function:

Double_t erhic::ParticleMCbase::GetThetaVsGamma ( ) const
inlinevirtual

Returns the angle with respect to the exchange boson. Defined in the beam hadron's rest frame. Given in the range [0,pi] radians.

Definition at line 544 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 544 of file ParticleMC.h

References thetaGamma.

TVector3 erhic::ParticleMCbase::GetVertex ( ) const
inlinevirtual

Returns the origin point of the particle (cm). (0,0,0) indicates a particle originating in the collision.

Implements erhic::VirtualParticle.

Definition at line 508 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 508 of file ParticleMC.h

References xv, yv, and zv.

Referenced by ReadEICFiles::process_event(), and TreeToHepMC().

+ Here is the caller graph for this function:

Double_t erhic::ParticleMCbase::GetXFeynman ( ) const
inlinevirtual

Returns Feynman-x. xF = 2*pz/sqrt(s).

Definition at line 540 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 540 of file ParticleMC.h

References xFeynman.

Double_t erhic::ParticleMCbase::GetZ ( ) const
inlinevirtual

Returns the variable z. z = (P.p_h)/(P.q).

Definition at line 536 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 536 of file ParticleMC.h

References z.

Pid erhic::ParticleMCbase::Id ( ) const
inlinevirtual

Returns the ID of the particle.

Implements erhic::VirtualParticle.

Definition at line 552 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 552 of file ParticleMC.h

Referenced by GetPdgCode(), erhic::ParticleMC::HasChild(), ReadEICFiles::process_event(), and TreeToHepMC().

+ Here is the caller graph for this function:

void erhic::ParticleMCbase::Print ( Option_t *  = "") const
virtual

Print the contents of Particle to standard output. The format is that of the input Monte Carlo i.e. I KS id orig daughter ldaughter px py pz E m xv yv zv. Inherited from TObject. The argument is unused.

Definition at line 128 of file ParticleMC.cxx.

View newest version in sPHENIX GitHub at line 128 of file ParticleMC.cxx

References daughter, E, I, KS, ldaughter, m, orig, px, py, pz, xv, yv, and zv.

Referenced by erhic::EventMC::Print(), and TreeToHepMC().

+ Here is the caller graph for this function:

virtual TLorentzVector erhic::ParticleMCbase::PxPyPzE ( ) const
inlinevirtual

Returns the (E,p) 4-vector in the lab frame.

Definition at line 202 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 202 of file ParticleMC.h

References Get4Vector().

+ Here is the call graph for this function:

void erhic::ParticleMCbase::Set4Vector ( const TLorentzVector &  v)
virtual

Sets the four-momentum of the particle. Changes are propagated to derived quantities.

Implements erhic::VirtualParticle.

Definition at line 317 of file ParticleMC.cxx.

View newest version in sPHENIX GitHub at line 317 of file ParticleMC.cxx

References ComputeDerivedQuantities(), ComputeEventDependentQuantities(), E, m, px, py, and pz.

Referenced by DoSmearStep(), Poacher::GetNextEvent(), and erhic::HandleHepmcParticle().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void erhic::ParticleMCbase::SetChild1Index ( int  i)
inlinevirtual

Sets the index of this particle's first child. By default this is zero, indicating no children.

Definition at line 311 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 311 of file ParticleMC.h

References daughter.

Referenced by Poacher::GetNextEvent(), and TreeToHepMC().

+ Here is the caller graph for this function:

virtual void erhic::ParticleMCbase::SetChildNIndex ( int  i)
inlinevirtual

Sets the index of this particle's last child. By default this is zero, indication zero or one children.

Definition at line 315 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 315 of file ParticleMC.h

References ldaughter.

Referenced by Poacher::GetNextEvent(), and TreeToHepMC().

+ Here is the caller graph for this function:

void erhic::ParticleMCbase::SetE ( Double_t  e)
inlinevirtual

Definition at line 566 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 566 of file ParticleMC.h

References Acts::UnitConstants::e, and E.

void erhic::ParticleMCbase::SetEvent ( EventMC event)

Set the event with which to associate this particle.

Definition at line 313 of file ParticleMC.cxx.

View newest version in sPHENIX GitHub at line 313 of file ParticleMC.cxx

References Acts::UnitConstants::e.

Referenced by erhic::HandleHepmcParticle().

+ Here is the caller graph for this function:

virtual void erhic::ParticleMCbase::SetId ( int  i)
inlinevirtual

Sets the ID of the particle. In order to make use of class Pid this should be the PDG code of the particle, but in principle can be any value you wish to use to identify it.

Definition at line 299 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 299 of file ParticleMC.h

Referenced by DoSmearStep(), Poacher::GetNextEvent(), and erhic::HandleHepmcParticle().

+ Here is the caller graph for this function:

virtual void erhic::ParticleMCbase::SetIndex ( int  i)
inlinevirtual

Sets the index of the particle i.e. its position in the track list (in principle this can be any integer you require to associated with the particle).

Definition at line 290 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 290 of file ParticleMC.h

References I.

Referenced by DoSmearStep(), and erhic::HandleHepmcParticle().

+ Here is the caller graph for this function:

void erhic::ParticleMCbase::SetM ( Double_t  mass)
inlinevirtual

Definition at line 570 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 570 of file ParticleMC.h

References m, and mass.

void erhic::ParticleMCbase::SetP ( Double_t  momentum)
inlinevirtual

Definition at line 574 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 574 of file ParticleMC.h

References momentum, and p.

virtual void erhic::ParticleMCbase::SetParentId ( int  i)
inlinevirtual

Sets the ID of this particle's parent. See comments in SetId()

Definition at line 331 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 331 of file ParticleMC.h

References parentId.

virtual void erhic::ParticleMCbase::SetParentIndex ( int  i)
inlinevirtual

Sets the index of this particle's parent if it has one. By default this is zero, indicating no parent.

Definition at line 303 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 303 of file ParticleMC.h

References orig.

Referenced by Poacher::GetNextEvent(), and TreeToHepMC().

+ Here is the caller graph for this function:

virtual void erhic::ParticleMCbase::SetParentIndex1 ( int  i)
inlinevirtual

Sets the index of this particle's other parent if it has one. By default this is zero, indicating no parent.

Definition at line 307 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 307 of file ParticleMC.h

References orig1.

Referenced by TreeToHepMC().

+ Here is the caller graph for this function:

void erhic::ParticleMCbase::SetPhi ( Double_t  value)
inlinevirtual

Definition at line 586 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 586 of file ParticleMC.h

References phi, and value.

void erhic::ParticleMCbase::SetPt ( Double_t  momentum)
inlinevirtual

Definition at line 578 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 578 of file ParticleMC.h

References momentum, and pt.

void erhic::ParticleMCbase::SetPz ( Double_t  momentum)
inlinevirtual

Definition at line 582 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 582 of file ParticleMC.h

References momentum, and pz.

void erhic::ParticleMCbase::SetStatus ( UShort_t  status)
inlinevirtual

Definition at line 594 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 594 of file ParticleMC.h

References KS.

Referenced by DoSmearStep(), Poacher::GetNextEvent(), erhic::HandleHepmcParticle(), and TreeToHepMC().

+ Here is the caller graph for this function:

virtual void erhic::ParticleMCbase::SetStatus ( int  i)
inlinevirtual

Sets the status code of the particle (generally final state particles are given status == 1

Definition at line 294 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 294 of file ParticleMC.h

References KS.

void erhic::ParticleMCbase::SetTheta ( Double_t  value)
inlinevirtual

Definition at line 590 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 590 of file ParticleMC.h

References theta, and value.

void erhic::ParticleMCbase::SetVertex ( const TVector3 &  v)
virtual

Sets the origin coordinates

Implements erhic::VirtualParticle.

Definition at line 332 of file ParticleMC.cxx.

View newest version in sPHENIX GitHub at line 332 of file ParticleMC.cxx

References xv, yv, and zv.

Referenced by Poacher::GetNextEvent(), and erhic::HandleHepmcParticle().

+ Here is the caller graph for this function:

Member Data Documentation

UShort_t erhic::ParticleMCbase::daughter

I of first child particle.

Definition at line 344 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 344 of file ParticleMC.h

Referenced by erhic::ParticleMC::GetChild(), GetChild1Index(), GetNChildren(), erhic::ParticleMC::ParticleMC(), Print(), and SetChild1Index().

Double32_t erhic::ParticleMCbase::E

Energy of particle.

Definition at line 372 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 372 of file ParticleMC.h

Referenced by ComputeDerivedQuantities(), Get4Vector(), GetE(), erhic::ParticleMC::ParticleMC(), Print(), Set4Vector(), and SetE().

Double32_t erhic::ParticleMCbase::eta

Pseudorapidity of particle.

Definition at line 386 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 386 of file ParticleMC.h

Referenced by ComputeDerivedQuantities(), and GetEta().

TRef erhic::ParticleMCbase::event

Persistent reference to the event containing this particle.

Definition at line 401 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 401 of file ParticleMC.h

UShort_t erhic::ParticleMCbase::I

Particle index in event.

Definition at line 335 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 335 of file ParticleMC.h

Referenced by GetIndex(), erhic::ParticleMC::ParticleMC(), Print(), and SetIndex().

Int_t erhic::ParticleMCbase::id

PDG particle code.

Definition at line 339 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 339 of file ParticleMC.h

Int_t erhic::ParticleMCbase::KS

Particle status code: see PYTHIA manual.

Definition at line 338 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 338 of file ParticleMC.h

Referenced by GetStatus(), erhic::ParticleMC::ParticleMC(), Print(), and SetStatus().

UShort_t erhic::ParticleMCbase::ldaughter

I of last child particle.

Definition at line 345 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 345 of file ParticleMC.h

Referenced by GetChildNIndex(), GetNChildren(), erhic::ParticleMC::ParticleMC(), Print(), and SetChildNIndex().

Double32_t erhic::ParticleMCbase::m

Invariant mass of particle.

Definition at line 373 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 373 of file ParticleMC.h

Referenced by pythiaDecayer::execute(), Get4VectorInHadronBosonFrame(), GetM(), erhic::ParticleMC::ParticleMC(), Print(), Set4Vector(), and SetM().

UShort_t erhic::ParticleMCbase::orig

I of parent particle.

Definition at line 342 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 342 of file ParticleMC.h

Referenced by ComputeEventDependentQuantities(), GetParentIndex(), erhic::ParticleMC::ParticleMC(), Print(), and SetParentIndex().

UShort_t erhic::ParticleMCbase::orig1

I of parent particle1.

Definition at line 343 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 343 of file ParticleMC.h

Referenced by GetParentIndex1(), erhic::ParticleMC::ParticleMC(), and SetParentIndex1().

Double32_t erhic::ParticleMCbase::p

Total momentum of particle.

Definition at line 382 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 382 of file ParticleMC.h

Referenced by PHSartreParticleTrigger::Apply(), ComputeDerivedQuantities(), ComputeEventDependentQuantities(), erhic::ParticleMC::GetChild(), GetP(), erhic::ParticleMC::GetParent(), PHSartre::process_event(), and SetP().

Int_t erhic::ParticleMCbase::parentId

PDG code of this particle's parent.

Definition at line 380 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 380 of file ParticleMC.h

Referenced by ComputeEventDependentQuantities(), GetParentId(), and SetParentId().

Double32_t erhic::ParticleMCbase::phi

Azimuthal angle.

Definition at line 384 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 384 of file ParticleMC.h

Referenced by ComputeDerivedQuantities(), GetPhi(), and SetPhi().

Double32_t erhic::ParticleMCbase::phiPrf

Azimuthal angle around virtual photon in hadron beam rest frame

Definition at line 398 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 398 of file ParticleMC.h

Referenced by ComputeEventDependentQuantities(), and Get4VectorInHadronBosonFrame().

Double32_t erhic::ParticleMCbase::pt

Transverse momentum of particle.

Definition at line 374 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 374 of file ParticleMC.h

Referenced by ComputeDerivedQuantities(), GetPt(), and SetPt().

Double32_t erhic::ParticleMCbase::ptVsGamma

pt w.r.t. the virtual photon in the hadron beam rest frame

Definition at line 392 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 392 of file ParticleMC.h

Referenced by ComputeEventDependentQuantities(), and GetPtVsGamma().

Double32_t erhic::ParticleMCbase::ptVsGammaHCM

pt w.r.t. the virtual photon in the hadron boson rest frame

Definition at line 396 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 396 of file ParticleMC.h

Referenced by ComputeEventDependentQuantities(), and Get4VectorInHadronBosonFrame().

Double_t erhic::ParticleMCbase::px

x component of particle momentum

Definition at line 349 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 349 of file ParticleMC.h

Referenced by ComputeDerivedQuantities(), pythiaDecayer::execute(), Get4Vector(), GetPx(), erhic::ParticleMC::ParticleMC(), Print(), and Set4Vector().

Double_t erhic::ParticleMCbase::py

y component of particle momentum

Definition at line 350 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 350 of file ParticleMC.h

Referenced by ComputeDerivedQuantities(), pythiaDecayer::execute(), Get4Vector(), GetPy(), erhic::ParticleMC::ParticleMC(), Print(), and Set4Vector().

Double_t erhic::ParticleMCbase::pz

z component of particle momentum

Definition at line 351 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 351 of file ParticleMC.h

Referenced by ComputeDerivedQuantities(), pythiaDecayer::execute(), Get4Vector(), GetPz(), erhic::ParticleMC::ParticleMC(), Print(), Set4Vector(), and SetPz().

Double32_t erhic::ParticleMCbase::rapidity

Rapidity of particle.

Definition at line 385 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 385 of file ParticleMC.h

Referenced by ComputeDerivedQuantities(), and GetRapidity().

Double32_t erhic::ParticleMCbase::theta

Polar angle.

Definition at line 383 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 383 of file ParticleMC.h

Referenced by ComputeDerivedQuantities(), GetTheta(), and SetTheta().

Double32_t erhic::ParticleMCbase::thetaGamma

Angle between particle and the exchange boson in the hadron beam rest frame

Definition at line 390 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 390 of file ParticleMC.h

Referenced by ComputeEventDependentQuantities(), and GetThetaVsGamma().

Double32_t erhic::ParticleMCbase::thetaGammaHCM

Angle between particle and the exchange boson in the hadron-boson rest frame

Definition at line 394 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 394 of file ParticleMC.h

Referenced by ComputeEventDependentQuantities(), and Get4VectorInHadronBosonFrame().

Double32_t erhic::ParticleMCbase::xFeynman

Feynman x = pz/(2sqrt(s))

Definition at line 389 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 389 of file ParticleMC.h

Referenced by ComputeEventDependentQuantities(), and GetXFeynman().

Double_t erhic::ParticleMCbase::xv

x coordinate of particle production vertex

Definition at line 375 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 375 of file ParticleMC.h

Referenced by GetVertex(), erhic::ParticleMC::ParticleMC(), Print(), and SetVertex().

Double_t erhic::ParticleMCbase::yv

y coordinate of particle production vertex

Definition at line 376 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 376 of file ParticleMC.h

Referenced by GetVertex(), erhic::ParticleMC::ParticleMC(), Print(), and SetVertex().

Double32_t erhic::ParticleMCbase::z

Fraction of virtual photon energy carried by particle

Definition at line 387 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 387 of file ParticleMC.h

Referenced by eicpy.qaplots.LogAxis::apply(), GetZ(), and eicpy.qaplots.LogAxis::rebin().

Double_t erhic::ParticleMCbase::zv

z coordinate of particle production vertex

Definition at line 377 of file ParticleMC.h.

View newest version in sPHENIX GitHub at line 377 of file ParticleMC.h

Referenced by GetVertex(), erhic::ParticleMC::ParticleMC(), Print(), and SetVertex().


The documentation for this class was generated from the following files: