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

Describes a parton in parton shower. More...

#include <PhysicsObjects.hpp>

Inheritance diagram for ShowerParton:
Candidate

Public Types

enum  Origin { Origin::Unknown, Origin::ISR, Origin::FSR, Origin::Proton }
 Describe the origin of the parton. More...
 

Public Member Functions

 ShowerParton () noexcept
 Constructor with no parameters.
 
 ShowerParton (TLorentzVector const &p4, int pdgId, Origin origin=Origin::Unknown) noexcept
 Constructor from a four-momentum, PDG ID, and a code of origin.
 
 ShowerParton (double pt, double eta, double phi, int pdgId, Origin origin=Origin::Unknown) noexcept
 Constructor from three-momentum, PDG ID, and a code of origin. More...
 
void SetPdgId (int pdgId) noexcept
 Sets PDG ID of the parton.
 
int GetPdgId () const noexcept
 Returns PDG ID of the parton.
 
void SetOrigin (Origin origin) noexcept
 Sets the origin.
 
Origin GetOrigin () const noexcept
 Returns the origin.
 
- 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

Describes a parton in parton shower.

Member Enumeration Documentation

enum ShowerParton::Origin
strong

Describe the origin of the parton.

Enumerator
Unknown 

Not specified.

ISR 

Can be traced down to initial lines.

FSR 

Can be traced down to final lines.

Proton 

An immediate daughter of a beam particle.

Constructor & Destructor Documentation

ShowerParton::ShowerParton ( double  pt,
double  eta,
double  phi,
int  pdgId,
Origin  origin = Origin::Unknown 
)
noexcept

Constructor from three-momentum, PDG ID, and a code of origin.

The mass needed to build the four-momentum is calculated from the PDG ID using the GuessMass method.


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