|
Jpp 21.0.0
the software that should make you happy
|
Selection of particle data book entries. More...
#include <JPDB.hh>
Public Member Functions | |
| JPDBSelection (const std::vector< int > &pdgs) | |
| 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 JPDBSelection &pdb) |
| Print selection. | |
|
inline |
Constructor.
| pdgs | pdg codes |
Definition at line 283 of file JPDB.hh.
|
inlinestaticinherited |
Get particle data book.
This particle data book contains all known GEANT particle codes.
Definition at line 126 of file JPDB.hh.
|
inlineinherited |
Check if PDB has particle corresponding to given GEANT code.
| geant | GEANT code |
Definition at line 156 of file JPDB.hh.
|
inlineinherited |
Get particle corresponding to given GEANT code.
This method throws an error if the particle cannot be found.
| geant | GEANT code |
Definition at line 169 of file JPDB.hh.
|
inlinestaticinherited |
|
inlineinherited |
Check if PDB has particle corresponding to given PDG code.
| pdg | PDG code |
Definition at line 222 of file JPDB.hh.
|
inlineinherited |
Get particle corresponding to given PDG code.
This method throws an error if the particle cannot be found.
| pdg | PDG code |
Definition at line 235 of file JPDB.hh.
|
friend |