Project
Loading...
Searching...
No Matches
FairParticle Class Reference

#include <FairParticle.h>

Inherits TObject.

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 ()
 

Detailed Description

Definition at line 26 of file FairParticle.h.

Constructor & Destructor Documentation

◆ FairParticle() [1/6]

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

Definition at line 28 of file FairParticle.cxx.

◆ FairParticle() [2/6]

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

Definition at line 174 of file FairParticle.cxx.

◆ FairParticle() [3/6]

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 52 of file FairParticle.cxx.

◆ FairParticle() [4/6]

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 112 of file FairParticle.cxx.

◆ FairParticle() [5/6]

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 199 of file FairParticle.cxx.

◆ FairParticle() [6/6]

FairParticle::FairParticle ( )

Definition at line 246 of file FairParticle.cxx.

◆ ~FairParticle()

FairParticle::~FairParticle ( )
virtual

Definition at line 270 of file FairParticle.cxx.

Member Function Documentation

◆ AddDaughter()

void FairParticle::AddDaughter ( FairParticle *  particle)

Definition at line 284 of file FairParticle.cxx.

◆ GetBaryon()

Int_t FairParticle::GetBaryon ( )
inline

Definition at line 88 of file FairParticle.h.

◆ GetCharge()

Double_t FairParticle::GetCharge ( )
inline

Definition at line 77 of file FairParticle.h.

◆ GetConjugation()

Int_t FairParticle::GetConjugation ( )
inline

Definition at line 83 of file FairParticle.h.

◆ GetDaughter()

FairParticle * FairParticle::GetDaughter ( Int_t  i) const

Definition at line 356 of file FairParticle.cxx.

◆ GetDecayTime()

Double_t FairParticle::GetDecayTime ( )
inline

Definition at line 78 of file FairParticle.h.

◆ GetgParity()

Int_t FairParticle::GetgParity ( )
inline

Definition at line 86 of file FairParticle.h.

◆ GetiParity()

Int_t FairParticle::GetiParity ( )
inline

Definition at line 82 of file FairParticle.h.

◆ GetIsospin()

Int_t FairParticle::GetIsospin ( )
inline

Definition at line 84 of file FairParticle.h.

◆ GetIsospinZ()

Int_t FairParticle::GetIsospinZ ( )
inline

Definition at line 85 of file FairParticle.h.

◆ GetLepton()

Int_t FairParticle::GetLepton ( )
inline

Definition at line 87 of file FairParticle.h.

◆ GetMass()

Double_t FairParticle::GetMass ( )
inline

Definition at line 76 of file FairParticle.h.

◆ GetMCType()

TMCParticleType FairParticle::GetMCType ( )
inline

Definition at line 75 of file FairParticle.h.

◆ GetMother()

FairParticle * FairParticle::GetMother ( ) const

Definition at line 340 of file FairParticle.cxx.

◆ GetName()

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

Definition at line 74 of file FairParticle.h.

◆ GetNofDaughters()

Int_t FairParticle::GetNofDaughters ( ) const

Definition at line 348 of file FairParticle.cxx.

◆ GetParticle()

TParticle * FairParticle::GetParticle ( ) const

Definition at line 332 of file FairParticle.cxx.

◆ GetPDG()

Int_t FairParticle::GetPDG ( ) const

Definition at line 324 of file FairParticle.cxx.

◆ GetPType()

const TString & FairParticle::GetPType ( )
inline

Definition at line 79 of file FairParticle.h.

◆ GetSpin()

Int_t FairParticle::GetSpin ( )
inline

Definition at line 81 of file FairParticle.h.

◆ GetWidth()

Double_t FairParticle::GetWidth ( )
inline

Definition at line 80 of file FairParticle.h.

◆ IsStable()

Bool_t FairParticle::IsStable ( )
inline

Definition at line 89 of file FairParticle.h.

◆ Print()

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

Definition at line 292 of file FairParticle.cxx.

◆ PrintDaughters()

void FairParticle::PrintDaughters ( ) const

Definition at line 313 of file FairParticle.cxx.

◆ SetMother()

void FairParticle::SetMother ( FairParticle *  particle)

Definition at line 276 of file FairParticle.cxx.


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