Mēnsūra
|
Stores four-momentum. More...
#include <Candidate.hpp>
Public Member Functions | |
Candidate () noexcept | |
Constructor with no parameters. More... | |
Candidate (Candidate &&)=default | |
Default move constructor. | |
Candidate (Candidate const &)=default | |
Default copy constructor. | |
Candidate & | operator= (Candidate const &)=default |
Default assignment operator. | |
virtual | ~Candidate ()=default |
Default virtual destructor. | |
virtual void | Reset () |
Resets the object to a state right after the default initialisation. | |
void | SetPt (float pt) |
Sets transverse momentum (GeV/c) | |
void | SetEta (float eta) |
Sets pseudorapidity. | |
void | SetPhi (float phi) |
Sets azimuthal angle. More... | |
void | SetM (float mass) |
Sets mass (GeV/c^2) | |
float | Pt () const |
Returns transverse momentum (GeV/c) | |
float | Eta () const |
Returns pseudorapidity. | |
float | Phi () const |
Returns azimuthal angle. More... | |
float | M () const |
Returns mass (GeV/c^2) | |
Stores four-momentum.
Components of the four-momentum are compressed using minifloat functions.
|
noexcept |
Constructor with no parameters.
It must be defined in order to use the class with the ROOT i/o system.
float Candidate::Phi | ( | ) | const |
Returns azimuthal angle.
The range is [-pi, pi).
void Candidate::SetPhi | ( | float | phi | ) |
Sets azimuthal angle.
The range is [-pi, pi).