HackAnalysis  2
List of all members
HEP::Jet Class Reference

#include <Jet.h>

Public Member Functions

Constructors
 Jet (const P4 &mom, bool isB=false, bool isC=false)
 Constructor for a light jet without explicit constituents.
 
 Jet (double px, double py, double pz, double E, bool isB=false, bool isC=false)
 "Cartesian" constructor
 
Implicit casts
 operator const P4 & () const
 
 operator const P4 * () const
 
Momentum
const P4mom () const
 Get the 4 vector.
 
void set_mom (const P4 &p4)
 Set the 4 vector.
 
double mass ()
 Get the mass (of the 4 vector)
 
void set_mass (double mass)
 Set the mass (of the 4 vector)
 
double eta () const
 Get the pseudorapidity.
 
double abseta () const
 Get the abs pseudorapidity.
 
double rap () const
 Get the rapidity.
 
double absrap () const
 Get the abs rapidity.
 
double phi () const
 Get the azimuthal angle.
 
double E () const
 Get the energy.
 
double pT2 () const
 Get the squared transverse momentum.
 
double pT () const
 Get the squared transverse momentum.
 
Tagging
bool btag () const
 Is this particle tagged as a b?
 
void set_btag (bool isb)
 Set BTag value.
 
bool ctag () const
 
void set_ctag (bool isc)
 Set CTag value.
 

Protected Attributes

Storage
P4 _p4
 Momentum vector.
 
bool _isB
 B and C tags.
 
bool _isC
 

Detailed Description

Simple jet class, encapsulating a momentum 4-vector and with some extra b-tag info

Member Function Documentation

◆ ctag()

bool HEP::Jet::ctag ( ) const
inline

Is this particle tagged as a c?

Note
Can be simultaneously btag()'d – analyses should probably only use if fallback from b-tag.

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