|
Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
|
Collection of particles. More...
#include <JPDB.hh>
Public Member Functions | |
| JPDB () | |
| Default constructor. | |
| bool | hasGEANT (const int geant) const |
| Check if PDB has particle corresponding to given GEANT code. | |
| const JParticle & | getGEANT (const int geant) const |
| Get particle corresponding to given GEANT code. | |
| bool | hasPDG (const int pdg) const |
| Check if PDB has particle corresponding to given PDG code. | |
| const JParticle & | getPDG (const int pdg) const |
| Get particle corresponding to given PDG code. | |
Static Public Member Functions | |
| static const JPDB & | getInstance () |
| Get particle data book. | |
| static int | convertPDGtoGEANT (const int pdg) |
| Retrieve GEANT code for a given PDG code. | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const JPDB &pdb) |
| Print particle data book. | |
Get particle data book.
This particle data book contains all known GEANT particle codes.
Definition at line 131 of file JPDB.hh.
Check if PDB has particle corresponding to given GEANT code.
| geant | GEANT code |
Definition at line 161 of file JPDB.hh.
Get particle corresponding to given GEANT code.
This method throws an error if the particle cannot be found.
| geant | GEANT code |
Definition at line 174 of file JPDB.hh.
Check if PDB has particle corresponding to given PDG code.
| pdg | PDG code |
Definition at line 227 of file JPDB.hh.
Get particle corresponding to given PDG code.
This method throws an error if the particle cannot be found.
| pdg | PDG code |
Definition at line 240 of file JPDB.hh.
Print particle data book.
| out | output stream |
| pdb | particle data book |
Definition at line 258 of file JPDB.hh.