#include <PDT.h>
Inheritance diagram for PDT:

Public Methods | |
| PDT () | |
| constructor: just an empty table. More... | |
| virtual | ~PDT () |
| PData* | lookUp (long) const |
| return entry pointer given particle id. More... | |
| PData* | lookUp (const char *) |
| return entry pointer given particle name. More... | |
| PData* | getParticleAt (unsigned) const |
| return entry at given index (arbitrary ordering). More... | |
| int | count () const |
| return number of entries. More... | |
| unsigned | getIndexOf ( PData * ) |
| return index of a table entry acc. More... | |
| unsigned | getIndexOf (long id) |
| PData* | addParticle (const char* pname, const char* aname,long id, int spin, int charge, float mass, float width=0.) |
| create entries for a particle and its antiparticle. More... | |
| PData* | addParticle (const char* pname, long id, int spin, int charge, float mass, float width=0.) |
| create an entry for a particle that is its own antiparticle. More... | |
| void | addDecay (const char* pname, float bf, const char * decayer, const char* child1, const char* child2=0, const char* child3=0, const char* child4=0, const char* child5=0) |
| add a decay channel to a particle entry. More... | |
| void | addDecayer (Decayer*) |
| add a decayer to the table. More... | |
| void | setInteraction (const char*) |
| set the interaction name for the following entries. More... | |
| void | addInteractor (Interactor*) |
| add an interactor to the table, replacing any with the same name. More... | |
| virtual void | printOn ( std::ostream & ) const |
| generate formatted table of entries. More... | |
Static Public Methods | |
| PDT* | createDefault (Interactor* int1 =0, Interactor* int2 =0) |
| create a default table (stuff wired in). If interactors apperear define them. More... | |
Private Types | |
| typedef std::vector<PData*> | PData_list |
| typedef std::vector<Decayer*> | Decayer_list |
| typedef std::vector<Interactor*> | Interactor_list |
Private Methods | |
| PData* | first () const |
Private Attributes | |
| PData_list | particles |
| Decayer_list | decayers |
| Interactor_list | interactors |
| Interactor* | type |
Definition at line 21 of file PDT.h.
|
|
|
|
|
|
|
|
|
|
|
constructor: just an empty table.
Definition at line 27 of file PDT.h. Referenced by createDefault(). |
|
|
|
|
|
add a decay channel to a particle entry.
Definition at line 27 of file PDT.cxx. Referenced by HepPDT::setDecays(). |
|
|
add a decayer to the table.
Definition at line 109 of file PDT.cxx. Referenced by createDefault(), and HepPDT::setDecays(). |
|
|
add an interactor to the table, replacing any with the same name.
Definition at line 144 of file PDT.cxx. Referenced by HepPDT::HepPDT(), createDefault(), and setInteraction(). |
|
|
create an entry for a particle that is its own antiparticle.
|
|
|
create entries for a particle and its antiparticle.
Definition at line 163 of file PDT.cxx. Referenced by HepPDT::createTheParticles(), and lookUp(). |
|
|
return number of entries.
Definition at line 41 of file PDT.h. Referenced by getIndexOf(). |
|
|
create a default table (stuff wired in). If interactors apperear define them.
Definition at line 25 of file CreateDefault.cxx. |
|
|
|
|
|
|
|
|
return index of a table entry acc.
|
|
|
return entry at given index (arbitrary ordering).
|
|
|
return entry pointer given particle name.
|
|
|
return entry pointer given particle id.
Definition at line 203 of file PDT.cxx. Referenced by GParticle::GParticle(), addDecay(), SetBeam::execute(), GheishaInteractor::interact(), EGSInteractor::interact(), and ShowerDetector::score(). |
|
|
generate formatted table of entries.
Definition at line 214 of file PDT.cxx. Referenced by lookUp(), operator<<(), and BaseApp::printPDT(). |
|
|
set the interaction name for the following entries.
Definition at line 126 of file PDT.cxx. Referenced by HepPDT::createTheParticles(). |
|
|
|
|
|
|
|
|
|
|
|
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000