EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/base/FairParticle.h>
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 |
FairParticle * | GetMother () const |
Int_t | GetNofDaughters () const |
FairParticle * | GetDaughter (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) | |
FairParticle & | operator= (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 |
Definition at line 18 of file FairParticle.h.
View newest version in sPHENIX GitHub at line 18 of file FairParticle.h
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().
FairParticle::FairParticle | ( | ) |
Definition at line 244 of file FairParticle.cxx.
View newest version in sPHENIX GitHub at line 244 of file FairParticle.cxx
|
virtual |
Definition at line 271 of file FairParticle.cxx.
View newest version in sPHENIX GitHub at line 271 of file FairParticle.cxx
References fParticle.
|
private |
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.
|
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().
|
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().
|
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().
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
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().
|
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().
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().
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().
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().
|
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().
|
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().
|
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().
|
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().
|
inlineprivate |
Definition at line 66 of file FairParticle.h.
View newest version in sPHENIX GitHub at line 66 of file FairParticle.h
|
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().
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().
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.
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().