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 ",
236 printf(
" %15s(%8i)",
p->
GetName(),ic);
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) {
winID h TVirtualViewer3D TVirtualGLPainter p
Particle database manager class.
static TDatabasePDG * Instance()
static function
TParticlePDG * GetParticle(Int_t pdgCode) const
Get a pointer to the particle object according to the MC code number.
Description of the decay channel.
Int_t MatrixElementCode()
Int_t DaughterPdgCode(Int_t i)
Double_t BranchingRatio()
The TNamed class is the base class for all named ROOT classes.
const char * GetName() const override
Returns name of object.
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
void Delete(Option_t *option="") override
Remove all objects from the array AND delete all heap based objects.
TObject * At(Int_t idx) const override
void Add(TObject *obj) override
virtual const char * GetName() const
Returns name of object.
Description of the static properties of a particle.
virtual void Print(Option_t *opt="") const
Print the entire information of this kind of particle.
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
TParticlePDG & operator=(const TParticlePDG &)
assignement operator
Int_t AddDecayChannel(Int_t Type, Double_t BranchingRatio, Int_t NDaughters, Int_t *DaughterPdgCode)
add new decay channel, Particle owns those...
TParticlePDG()
default constructor
Int_t NDecayChannels() const
virtual ~TParticlePDG()
destructor
TParticlePDG * fAntiParticle