Mēnsūra
|
Represents a parton from parton shower. More...
#include <ShowerParton.hpp>
Public Types | |
enum | Origin { Undefined = 0, ISR = 1, FSR = 2, Proton = 3 } |
Specifies the origin of the parton. More... | |
Public Member Functions | |
ShowerParton () noexcept | |
Constructor with no parameters. | |
virtual void | Reset () override |
Resets the object to a state right after the default initialisation. | |
void | SetPdgId (int pdgId) |
Sets PDG ID. More... | |
void | SetOrigin (Origin origin) |
Sets origin of the parton. More... | |
int | PdgId () const |
Returns PDG ID. | |
Origin | GetOrigin () const |
Returns origin of the parton. More... | |
![]() | |
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. | |
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) | |
Represents a parton from parton shower.
pec::ShowerParton::Origin ShowerParton::GetOrigin | ( | ) | const |
Returns origin of the parton.
See documentation for the Origin enumeration.
void ShowerParton::SetOrigin | ( | Origin | origin | ) |
Sets origin of the parton.
See documentation for the Origin enumeration.
void ShowerParton::SetPdgId | ( | int | pdgId | ) |
Sets PDG ID.
If the given ID cannot be stored in Char_t, an exception is thrown.