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

#include <EicRoot/blob/master/base/FairParticle.h>

+ Inheritance diagram for FairParticle:
+ Collaboration diagram for FairParticle:

Public Member Functions

 FairParticle (Int_t id, TParticle *particle)
 
 FairParticle (Int_t id, TParticle *particle, FairParticle *mother)
 
 FairParticle (const char *name, Int_t z, Int_t a, Int_t s, Double_t mass, Int_t q, Bool_t stable, Double_t decaytime)
 
 FairParticle (const char *name, Int_t z, Int_t a, Double_t mass, Int_t q, Bool_t stable, Double_t decaytime)
 
 FairParticle (Int_t pdg, const TString name, TMCParticleType mcType, Double_t mass, Double_t charge, Double_t lifetime, const TString pType="Ion", Double_t width=0, Int_t iSpin=0, Int_t iParity=0, Int_t iConjugation=0, Int_t iIsospin=0, Int_t iIsospinZ=0, Int_t gParity=0, Int_t lepton=0, Int_t baryon=0, Bool_t stable=kFALSE)
 
 FairParticle ()
 
virtual ~FairParticle ()
 
void SetMother (FairParticle *particle)
 
void AddDaughter (FairParticle *particle)
 
virtual void Print (Option_t *option="") const
 
void PrintDaughters () const
 
Int_t GetPDG () const
 
TParticle * GetParticle () const
 
FairParticleGetMother () const
 
Int_t GetNofDaughters () const
 
FairParticleGetDaughter (Int_t i) const
 
virtual const char * GetName () const
 
TMCParticleType GetMCType ()
 
Double_t GetMass ()
 
Double_t GetCharge ()
 
Double_t GetDecayTime ()
 
const TString & GetPType ()
 
Double_t GetWidth ()
 
Int_t GetSpin ()
 
Int_t GetiParity ()
 
Int_t GetConjugation ()
 
Int_t GetIsospin ()
 
Int_t GetIsospinZ ()
 
Int_t GetgParity ()
 
Int_t GetLepton ()
 
Int_t GetBaryon ()
 
Bool_t IsStable ()
 

Private Member Functions

 FairParticle (const FairParticle &P)
 
FairParticleoperator= (const FairParticle &)
 

Private Attributes

Int_t fpdg
 
TParticle * fParticle
 
TRef fMother
 
TRefArray fDaughters
 
const TString fname
 
TMCParticleType fmcType
 
Double_t fmass
 
Double_t fcharge
 
Double_t fDecayTime
 
const TString fpType
 
Double_t fwidth
 
Int_t fiSpin
 
Int_t fiParity
 
Int_t fiConjugation
 
Int_t fiIsospin
 
Int_t fiIsospinZ
 
Int_t fgParity
 
Int_t flepton
 
Int_t fbaryon
 
Bool_t fstable
 

Detailed Description

Definition at line 18 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 18 of file FairParticle.h

Constructor & Destructor Documentation

FairParticle::FairParticle ( Int_t  id,
TParticle *  particle 
)
FairParticle::FairParticle ( Int_t  id,
TParticle *  particle,
FairParticle mother 
)

Definition at line 165 of file FairParticle.cxx.

View newest version in sPHENIX GitHub at line 165 of file FairParticle.cxx

FairParticle::FairParticle ( const char *  name,
Int_t  z,
Int_t  a,
Int_t  s,
Double_t  mass,
Int_t  q,
Bool_t  stable,
Double_t  decaytime 
)

Definition at line 48 of file FairParticle.cxx.

View newest version in sPHENIX GitHub at line 48 of file FairParticle.cxx

References fbaryon, fcharge, fDecayTime, fgParity, fiConjugation, fiIsospin, fiIsospinZ, fiParity, fiSpin, flepton, fmass, fmcType, fParticle, fpdg, fstable, fwidth, and mass.

FairParticle::FairParticle ( const char *  name,
Int_t  z,
Int_t  a,
Double_t  mass,
Int_t  q,
Bool_t  stable,
Double_t  decaytime 
)

Definition at line 105 of file FairParticle.cxx.

View newest version in sPHENIX GitHub at line 105 of file FairParticle.cxx

References fbaryon, fcharge, fDecayTime, fgParity, fiConjugation, fiIsospin, fiIsospinZ, fiParity, fiSpin, flepton, fmass, fmcType, fParticle, fpdg, fstable, fwidth, and mass.

FairParticle::FairParticle ( Int_t  pdg,
const TString  name,
TMCParticleType  mcType,
Double_t  mass,
Double_t  charge,
Double_t  lifetime,
const TString  pType = "Ion",
Double_t  width = 0,
Int_t  iSpin = 0,
Int_t  iParity = 0,
Int_t  iConjugation = 0,
Int_t  iIsospin = 0,
Int_t  iIsospinZ = 0,
Int_t  gParity = 0,
Int_t  lepton = 0,
Int_t  baryon = 0,
Bool_t  stable = kFALSE 
)

Definition at line 193 of file FairParticle.cxx.

View newest version in sPHENIX GitHub at line 193 of file FairParticle.cxx

References fcharge, fmass, fname, fParticle, fpdg, fstable, fwidth, and GetParticle().

+ Here is the call graph for this function:

FairParticle::FairParticle ( )

Definition at line 244 of file FairParticle.cxx.

View newest version in sPHENIX GitHub at line 244 of file FairParticle.cxx

FairParticle::~FairParticle ( )
virtual

Definition at line 271 of file FairParticle.cxx.

View newest version in sPHENIX GitHub at line 271 of file FairParticle.cxx

References fParticle.

FairParticle::FairParticle ( const FairParticle P)
private

Member Function Documentation

void FairParticle::AddDaughter ( FairParticle particle)

Definition at line 291 of file FairParticle.cxx.

View newest version in sPHENIX GitHub at line 291 of file FairParticle.cxx

References fDaughters.

Int_t FairParticle::GetBaryon ( )
inline

Definition at line 60 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 60 of file FairParticle.h

References fbaryon.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

Double_t FairParticle::GetCharge ( )
inline

Definition at line 49 of file FairParticle.h.

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

References fcharge.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

Int_t FairParticle::GetConjugation ( )
inline

Definition at line 55 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 55 of file FairParticle.h

References fiConjugation.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

FairParticle * FairParticle::GetDaughter ( Int_t  i) const

Definition at line 371 of file FairParticle.cxx.

View newest version in sPHENIX GitHub at line 371 of file FairParticle.cxx

References fDaughters, and GetNofDaughters().

Referenced by PrintDaughters().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Double_t FairParticle::GetDecayTime ( )
inline

Definition at line 50 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 50 of file FairParticle.h

References fDecayTime.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

Int_t FairParticle::GetgParity ( )
inline

Definition at line 58 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 58 of file FairParticle.h

References fgParity.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

Int_t FairParticle::GetiParity ( )
inline

Definition at line 54 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 54 of file FairParticle.h

References fiParity.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

Int_t FairParticle::GetIsospin ( )
inline

Definition at line 56 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 56 of file FairParticle.h

References fiIsospin.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

Int_t FairParticle::GetIsospinZ ( )
inline

Definition at line 57 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 57 of file FairParticle.h

References fiIsospinZ.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

Int_t FairParticle::GetLepton ( )
inline

Definition at line 59 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 59 of file FairParticle.h

References flepton.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

Double_t FairParticle::GetMass ( )
inline

Definition at line 48 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 48 of file FairParticle.h

References fmass.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

TMCParticleType FairParticle::GetMCType ( )
inline

Definition at line 47 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 47 of file FairParticle.h

References fmcType.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

FairParticle * FairParticle::GetMother ( ) const

Definition at line 353 of file FairParticle.cxx.

View newest version in sPHENIX GitHub at line 353 of file FairParticle.cxx

References fMother.

Referenced by Print().

+ Here is the caller graph for this function:

virtual const char* FairParticle::GetName ( ) const
inlinevirtual

Definition at line 46 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 46 of file FairParticle.h

References fname.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

Int_t FairParticle::GetNofDaughters ( ) const

Definition at line 362 of file FairParticle.cxx.

View newest version in sPHENIX GitHub at line 362 of file FairParticle.cxx

References fDaughters.

Referenced by GetDaughter(), Print(), and PrintDaughters().

+ Here is the caller graph for this function:

TParticle * FairParticle::GetParticle ( ) const

Definition at line 344 of file FairParticle.cxx.

View newest version in sPHENIX GitHub at line 344 of file FairParticle.cxx

References fParticle.

Referenced by FairParticle(), and Print().

+ Here is the caller graph for this function:

Int_t FairParticle::GetPDG ( ) const

Definition at line 334 of file FairParticle.cxx.

View newest version in sPHENIX GitHub at line 334 of file FairParticle.cxx

References fpdg.

Referenced by FairMCApplication::AddParticles(), and Print().

+ Here is the caller graph for this function:

const TString& FairParticle::GetPType ( )
inline

Definition at line 51 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 51 of file FairParticle.h

References fpType.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

Int_t FairParticle::GetSpin ( )
inline

Definition at line 53 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 53 of file FairParticle.h

References fiSpin.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

Double_t FairParticle::GetWidth ( )
inline

Definition at line 52 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 52 of file FairParticle.h

References fwidth.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

Bool_t FairParticle::IsStable ( )
inline

Definition at line 61 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 61 of file FairParticle.h

References fstable.

Referenced by FairMCApplication::AddParticles().

+ Here is the caller graph for this function:

FairParticle& FairParticle::operator= ( const FairParticle )
inlineprivate

Definition at line 66 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 66 of file FairParticle.h

void FairParticle::Print ( Option_t *  option = "") const
virtual

Definition at line 300 of file FairParticle.cxx.

View newest version in sPHENIX GitHub at line 300 of file FairParticle.cxx

References fParticle, fpdg, GetMother(), GetNofDaughters(), GetParticle(), and GetPDG().

Referenced by PrintDaughters().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairParticle::PrintDaughters ( ) const

Definition at line 322 of file FairParticle.cxx.

View newest version in sPHENIX GitHub at line 322 of file FairParticle.cxx

References GetDaughter(), GetNofDaughters(), and Print().

+ Here is the call graph for this function:

void FairParticle::SetMother ( FairParticle particle)

Definition at line 282 of file FairParticle.cxx.

View newest version in sPHENIX GitHub at line 282 of file FairParticle.cxx

References fMother.

Member Data Documentation

Int_t FairParticle::fbaryon
private

Definition at line 86 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 86 of file FairParticle.h

Referenced by FairParticle(), and GetBaryon().

Double_t FairParticle::fcharge
private

Definition at line 75 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 75 of file FairParticle.h

Referenced by FairParticle(), and GetCharge().

TRefArray FairParticle::fDaughters
private

Definition at line 71 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 71 of file FairParticle.h

Referenced by AddDaughter(), GetDaughter(), and GetNofDaughters().

Double_t FairParticle::fDecayTime
private

Definition at line 76 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 76 of file FairParticle.h

Referenced by FairParticle(), and GetDecayTime().

Int_t FairParticle::fgParity
private

Definition at line 84 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 84 of file FairParticle.h

Referenced by FairParticle(), and GetgParity().

Int_t FairParticle::fiConjugation
private

Definition at line 81 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 81 of file FairParticle.h

Referenced by FairParticle(), and GetConjugation().

Int_t FairParticle::fiIsospin
private

Definition at line 82 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 82 of file FairParticle.h

Referenced by FairParticle(), and GetIsospin().

Int_t FairParticle::fiIsospinZ
private

Definition at line 83 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 83 of file FairParticle.h

Referenced by FairParticle(), and GetIsospinZ().

Int_t FairParticle::fiParity
private

Definition at line 80 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 80 of file FairParticle.h

Referenced by FairParticle(), and GetiParity().

Int_t FairParticle::fiSpin
private

Definition at line 79 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 79 of file FairParticle.h

Referenced by FairParticle(), and GetSpin().

Int_t FairParticle::flepton
private

Definition at line 85 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 85 of file FairParticle.h

Referenced by FairParticle(), and GetLepton().

Double_t FairParticle::fmass
private

Definition at line 74 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 74 of file FairParticle.h

Referenced by FairParticle(), and GetMass().

TMCParticleType FairParticle::fmcType
private

Definition at line 73 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 73 of file FairParticle.h

Referenced by FairParticle(), and GetMCType().

TRef FairParticle::fMother
private

Definition at line 70 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 70 of file FairParticle.h

Referenced by GetMother(), and SetMother().

const TString FairParticle::fname
private

Definition at line 72 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 72 of file FairParticle.h

Referenced by FairParticle(), and GetName().

TParticle* FairParticle::fParticle
private

Definition at line 69 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 69 of file FairParticle.h

Referenced by FairParticle(), GetParticle(), Print(), and ~FairParticle().

Int_t FairParticle::fpdg
private

Definition at line 68 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 68 of file FairParticle.h

Referenced by FairParticle(), GetPDG(), and Print().

const TString FairParticle::fpType
private

Definition at line 77 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 77 of file FairParticle.h

Referenced by GetPType().

Bool_t FairParticle::fstable
private

Definition at line 87 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 87 of file FairParticle.h

Referenced by FairParticle(), and IsStable().

Double_t FairParticle::fwidth
private

Definition at line 78 of file FairParticle.h.

View newest version in sPHENIX GitHub at line 78 of file FairParticle.h

Referenced by FairParticle(), and GetWidth().


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