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

Represents a parton from parton shower. More...

#include <ShowerParton.hpp>

Inheritance diagram for pec::ShowerParton:
pec::Candidate

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...
 
- Public Member Functions inherited from pec::Candidate
 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.
 
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

Represents a parton from parton shower.

Member Enumeration Documentation

Specifies the origin of the parton.

Enumerator
FSR 

initial-state radiation

Proton 

final-state radiation

Member Function Documentation

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.


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