Mēnsūra
Public Types | Public Member Functions | List of all members
Lepton Class Reference

Represents an electrically-charged lepton. More...

#include <PhysicsObjects.hpp>

Inheritance diagram for Lepton:
Candidate

Public Types

enum  Flavour { Unknown, Electron, Muon, Tau }
 Flavour of the lepton.
 

Public Member Functions

 Lepton () noexcept
 Default constructor.
 
 Lepton (Flavour flavour_, TLorentzVector const &p4) noexcept
 Constructor with the flavour and the 4-momentum.
 
void SetRelIso (double relIso_) noexcept
 Sets the relative isolation.
 
void SetCharge (int charge_) noexcept
 Sets the electric charge.
 
Flavour GetFlavour () const noexcept
 Gets the flavour.
 
double RelIso () const noexcept
 Gets the relative isolation.
 
int Charge () const noexcept
 Gets the electric charge.
 
- Public Member Functions inherited from Candidate
 Candidate () noexcept
 Default constructor.
 
 Candidate (TLorentzVector const &p4_) noexcept
 Constructor from a 4-momentum.
 
void SetP4 (TLorentzVector const &p4_) noexcept
 Sets four-momentum.
 
void SetPtEtaPhiM (double pt, double eta, double phi, double mass) noexcept
 Sets four-momentum.
 
void SetPxPyPzE (double px, double py, double pz, double E) noexcept
 Sets four-momentum.
 
void SetUserFloat (std::string const &label, double value)
 Sets or changes value of a user-defined real-valued property.
 
void SetUserInt (std::string const &label, long value)
 Sets or changes value of a user-defined integer-valued property.
 
TLorentzVector const & P4 () const noexcept
 Four-momentum.
 
double Pt () const noexcept
 Transverse momentum, GeV/c.
 
double Eta () const noexcept
 Pseudorapidity.
 
double Phi () const noexcept
 Azimuthal angle.
 
double M () const noexcept
 Mass, GeV/c^2.
 
double E () const noexcept
 Energy, GeV.
 
double UserFloat (std::string const &label) const
 Returns value of the user-defined property with the given label. More...
 
long UserInt (std::string const &label) const
 Returns value of the user-defined property with the given label. More...
 
bool operator< (Candidate const &rhs) const noexcept
 Ordering operator.
 

Detailed Description

Represents an electrically-charged lepton.


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