HackAnalysis
2
|
#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 P4 & | mom () 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 |
Simple jet class, encapsulating a momentum 4-vector and with some extra b-tag info
|
inline |
Is this particle tagged as a c?