Mēnsūra
Public Member Functions | List of all members
pec::Candidate Class Reference

Stores four-momentum. More...

#include <Candidate.hpp>

Inheritance diagram for pec::Candidate:
pec::CandidateWithID pec::GenJet pec::GenParticle pec::ShowerParton pec::Jet pec::Lepton pec::Electron pec::Muon

Public Member Functions

 Candidate () noexcept
 Constructor with no parameters. More...
 
 Candidate (Candidate &&)=default
 Default move constructor.
 
 Candidate (Candidate const &)=default
 Default copy constructor.
 
Candidateoperator= (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)
 

Detailed Description

Stores four-momentum.

Components of the four-momentum are compressed using minifloat functions.

Constructor & Destructor Documentation

Candidate::Candidate ( )
noexcept

Constructor with no parameters.

It must be defined in order to use the class with the ROOT i/o system.

Member Function Documentation

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).


The documentation for this class was generated from the following files: