FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairParticle Class Reference

#include <FairParticle.h>

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

Detailed Description

Definition at line 26 of file FairParticle.h.

Constructor & Destructor Documentation

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

Definition at line 28 of file FairParticle.cxx.

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

Definition at line 174 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 52 of file FairParticle.cxx.

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

Definition at line 246 of file FairParticle.cxx.

FairParticle::~FairParticle ( )
virtual

Definition at line 270 of file FairParticle.cxx.

Member Function Documentation

void FairParticle::AddDaughter ( FairParticle particle)

Definition at line 284 of file FairParticle.cxx.

Int_t FairParticle::GetBaryon ( )
inline

Definition at line 88 of file FairParticle.h.

Double_t FairParticle::GetCharge ( )
inline

Definition at line 77 of file FairParticle.h.

Int_t FairParticle::GetConjugation ( )
inline

Definition at line 83 of file FairParticle.h.

FairParticle * FairParticle::GetDaughter ( Int_t  i) const

Definition at line 356 of file FairParticle.cxx.

Double_t FairParticle::GetDecayTime ( )
inline

Definition at line 78 of file FairParticle.h.

Int_t FairParticle::GetgParity ( )
inline

Definition at line 86 of file FairParticle.h.

Int_t FairParticle::GetiParity ( )
inline

Definition at line 82 of file FairParticle.h.

Int_t FairParticle::GetIsospin ( )
inline

Definition at line 84 of file FairParticle.h.

Int_t FairParticle::GetIsospinZ ( )
inline

Definition at line 85 of file FairParticle.h.

Int_t FairParticle::GetLepton ( )
inline

Definition at line 87 of file FairParticle.h.

Double_t FairParticle::GetMass ( )
inline

Definition at line 76 of file FairParticle.h.

TMCParticleType FairParticle::GetMCType ( )
inline

Definition at line 75 of file FairParticle.h.

FairParticle * FairParticle::GetMother ( ) const

Definition at line 340 of file FairParticle.cxx.

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

Definition at line 74 of file FairParticle.h.

Int_t FairParticle::GetNofDaughters ( ) const

Definition at line 348 of file FairParticle.cxx.

TParticle * FairParticle::GetParticle ( ) const

Definition at line 332 of file FairParticle.cxx.

Int_t FairParticle::GetPDG ( ) const

Definition at line 324 of file FairParticle.cxx.

const TString& FairParticle::GetPType ( )
inline

Definition at line 79 of file FairParticle.h.

Int_t FairParticle::GetSpin ( )
inline

Definition at line 81 of file FairParticle.h.

Double_t FairParticle::GetWidth ( )
inline

Definition at line 80 of file FairParticle.h.

Bool_t FairParticle::IsStable ( )
inline

Definition at line 89 of file FairParticle.h.

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

Definition at line 292 of file FairParticle.cxx.

void FairParticle::PrintDaughters ( ) const

Definition at line 313 of file FairParticle.cxx.

void FairParticle::SetMother ( FairParticle particle)

Definition at line 276 of file FairParticle.cxx.


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