|
CbmRoot
|
Properties of a tracked particle. More...
#include <KfParticlePDG.h>
Private Member Functions | |
| constexpr | ParticlePDG (int pid, double mass, bool bremsstr) |
| Constructor from parameters. | |
| ParticlePDG ()=delete | |
| Default constructor. | |
| constexpr double | GetMass () const |
| Gets particle mass [GeV/c2]. | |
| constexpr double | GetMassSq () const |
| Gets squared particle mass [(GeV/c2)2]. | |
| constexpr int | GetPid () const |
| Gets particle PID (NOTE: absolute value is used) | |
| constexpr bool | IfBremsstrahlung () const |
| Gets bremsstrahlung flag. | |
Private Attributes | |
| double | fMass {} |
| Particle mass [GeV/c2]. | |
| int | fPid {} |
| Particle encoding according to PDG. | |
| bool | fbBremsstrahlung {false} |
| Is Bremsstrahlung should be taken into account in E-loss estimation. | |
Properties of a tracked particle.
Definition at line 18 of file KfParticlePDG.h.
|
inlineconstexprprivate |
Constructor from parameters.
| pid | PID code (note: abs value is only accounted) |
| mass | Particle mass [GeV/c2] |
| bremsstr | If bremsstrahlung should be accounted (i.e. if particle an electron) |
Definition at line 23 of file KfParticlePDG.h.
References fbBremsstrahlung, fMass, and fPid.
|
privatedelete |
Default constructor.
|
inlineconstexprprivate |
|
inlineconstexprprivate |
Gets squared particle mass [(GeV/c2)2].
Definition at line 32 of file KfParticlePDG.h.
References fMass.
|
inlineconstexprprivate |
Gets particle PID (NOTE: absolute value is used)
Definition at line 35 of file KfParticlePDG.h.
References fPid.
|
inlineconstexprprivate |
Gets bremsstrahlung flag.
Definition at line 38 of file KfParticlePDG.h.
References fbBremsstrahlung.
|
private |
Is Bremsstrahlung should be taken into account in E-loss estimation.
Definition at line 43 of file KfParticlePDG.h.
Referenced by IfBremsstrahlung(), and ParticlePDG().
|
private |
Particle mass [GeV/c2].
Definition at line 41 of file KfParticlePDG.h.
Referenced by GetMass(), GetMassSq(), and ParticlePDG().
|
private |
Particle encoding according to PDG.
Definition at line 42 of file KfParticlePDG.h.
Referenced by GetPid(), and ParticlePDG().