83 const char* aParticleClass,
Int_t aPdgCode,
Int_t Anti,
112 const Double_t kHbar = 6.58211889e-25;
121 fPdgCode(pdg.fPdgCode),
123 fCharge(pdg.fCharge),
124 fLifetime(pdg.fLifetime),
126 fParity(pdg.fParity),
128 fIsospin(pdg.fIsospin),
130 fStrangeness(pdg.fStrangeness),
132 fBeauty(pdg.fBeauty),
136 fStable(pdg.fStable),
137 fDecayList(pdg.fDecayList),
138 fParticleClass(pdg.fParticleClass),
139 fTrackingCode(pdg.fTrackingCode),
140 fAntiParticle(pdg.fAntiParticle)
192 Int_t* DaughterPdgCode)
217 if (strstr(option,
"banner")) {
220 printf(
" Channel Code BranchingRatio Nd ");
221 printf(
" ...................Daughters.................... \n");
223 if (strstr(option,
"data")) {
227 printf(
"%7i %5i %12.5e %5i ",
252 printf(
"Mass:%9.4f Width (GeV):%11.4e\tCharge: %5.1f\n",
255 printf(
"Mass:%9.4f Width (GeV): Stable\tCharge: %5.1f\n",
259 int banner_printed = 0;
263 if (! banner_printed) {
Description of the decay channel.
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
Particle database manager class.
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
Description of the static properties of a particle.
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...