|
Jpp 21.0.0
the software that should make you happy
|
Auxiliary class to handle particle name, codes and mass. More...
#include <JPDB.hh>
Public Member Functions | |
| JParticle () | |
| Default constructor. | |
| JParticle (const std::string &name, const int pdg, const int geant, const double mass, const JElectricCharge &charge) | |
| Constructor. | |
Public Attributes | |
| std::string | name |
| name of particle | |
| int | pdg |
| PDG code of particle. | |
| int | geant |
| GEANT code of particle. | |
| double | mass |
| mass of particle [GeV] | |
| JElectricCharge | charge |
| electric charge of particle [|e|/3] | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const JParticle &particle) |
| Print particle. | |
|
inline |
Default constructor.
|
inline |
|
friend |
Print particle.
| out | output stream |
| particle | particle |
Definition at line 76 of file JPDB.hh.
| JElectricCharge JAANET::JParticle::charge |