|
Jpp
16.0.3
the software that should make you happy
|
Collection of particles. More...
#include <JPDB.hh>
Public Member Functions | |
| JPDB () | |
| Default constructor. More... | |
| bool | hasGEANT (const int geant) const |
| Check if PDB has particle corresponding to given GEANT code. More... | |
| const JParticle & | getGEANT (const int geant) const |
| Get particle corresponding to given GEANT code. More... | |
| bool | hasPDG (const int pdg) const |
| Check if PDB has particle corresponding to given PDG code. More... | |
| const JParticle & | getPDG (const int pdg) const |
| Get particle corresponding to given PDG code. More... | |
Static Public Member Functions | |
| static const JPDB & | getInstance () |
| Get particle data book. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const JPDB &pdb) |
| Print particle data book. More... | |
|
inlinestatic |
Get particle data book.
This particle data book contains all known GEANT particle codes.
Definition at line 120 of file JPDB.hh.
|
inline |
Check if PDB has particle corresponding to given GEANT code.
| geant | GEANT code |
Definition at line 212 of file JPDB.hh.
|
inline |
Get particle corresponding to given GEANT code.
This method throws an error if the particle cannot be found.
| geant | GEANT code |
Definition at line 225 of file JPDB.hh.
|
inline |
Check if PDB has particle corresponding to given PDG code.
| pdg | PDG code |
Definition at line 242 of file JPDB.hh.
|
inline |
Get particle corresponding to given PDG code.
This method throws an error if the particle cannot be found.
| pdg | PDG code |
Definition at line 255 of file JPDB.hh.
|
friend |
1.8.5