77 const char* aParticleClass,
Int_t aPdgCode,
Int_t Anti,
106 const Double_t kHbar = 6.58211889e-25;
115 fPdgCode(pdg.fPdgCode),
117 fCharge(pdg.fCharge),
118 fLifetime(pdg.fLifetime),
120 fParity(pdg.fParity),
122 fIsospin(pdg.fIsospin),
124 fStrangeness(pdg.fStrangeness),
126 fBeauty(pdg.fBeauty),
130 fStable(pdg.fStable),
131 fDecayList(pdg.fDecayList),
132 fParticleClass(pdg.fParticleClass),
133 fTrackingCode(pdg.fTrackingCode),
134 fAntiParticle(pdg.fAntiParticle)
186 Int_t* DaughterPdgCode)
211 if (strstr(option,
"banner")) {
214 printf(
" Channel Code BranchingRatio Nd ");
215 printf(
" ...................Daughters.................... \n");
217 if (strstr(option,
"data")) {
221 printf(
"%7i %5i %12.5e %5i ",
246 printf(
"Mass:%9.4f Width (GeV):%11.4e\tCharge: %5.1f\n",
249 printf(
"Mass:%9.4f Width (GeV): Stable\tCharge: %5.1f\n",
253 int banner_printed = 0;
257 if (! banner_printed) {
ClassImp(TSeqCollection) Int_t TSeqCollection TIter next(this)
Return index of object in collection.
virtual void Delete(Option_t *option="")
Remove all objects from the array AND delete all heap based objects.
virtual void Print(Option_t *opt="") const
Print the entire information of this kind of particle.
TParticlePDG * GetParticle(Int_t pdgCode) const
Get a pointer to the particle object according to the MC code number.
virtual ~TParticlePDG()
destructor
TParticlePDG & operator=(const TParticlePDG &)
assignement operator
virtual void PrintDecayChannel(TDecayChannel *dc, Option_t *opt="") const
print the list of decays
TDecayChannel * DecayChannel(Int_t i)
return pointer to decay channel object at index i
static TDatabasePDG * Instance()
static function
The TNamed class is the base class for all named ROOT classes.
Int_t DaughterPdgCode(Int_t i)
Int_t MatrixElementCode()
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
TParticlePDG * fAntiParticle
virtual const char * GetName() const
Returns name of object.
Type
enumeration specifying the integration types.
Int_t NDecayChannels() const
ClassImp(TParticlePDG) TParticlePDG
default constructor
ClassImp(TMCParticle) void TMCParticle printf(": p=(%7.3f,%7.3f,%9.3f) ;", fPx, fPy, fPz)
Double_t BranchingRatio()
TObject * At(Int_t idx) const
Int_t AddDecayChannel(Int_t Type, Double_t BranchingRatio, Int_t NDaughters, Int_t *DaughterPdgCode)
add new decay channel, Particle owns those...