A class to represent a jet in an instance of Lepjets_Event class. The class is derived from the Lepjets_Event_Lep class. In addition to the information stored in Lepjets_Event_Lep class, this class holds the following information: More...
#include <Lepjets_Event_Jet.h>
Public Member Functions | |
std::ostream & | dump (std::ostream &s, bool full=false) const |
Print the content of this object. More... | |
double & | e0 () |
double | e0 () const |
Lepjets_Event_Jet (const Fourvec &p, int type, const Vector_Resolution &res, bool svx_tag=false, bool slt_tag=false, const Fourvec &tag_lep=Fourvec(), double slt_edep=0) | |
Constructor. More... | |
double & | slt_edep () |
double | slt_edep () const |
bool & | slt_tag () |
bool | slt_tag () const |
bool & | svx_tag () |
bool | svx_tag () const |
Fourvec & | tag_lep () |
const Fourvec & | tag_lep () const |
Public Member Functions inherited from hitfit::Lepjets_Event_Lep | |
std::ostream & | dump (std::ostream &s, bool full=false) const |
Print the content of this object. More... | |
double | eta_sigma () const |
Return the uncertainty in pseudorapidity . More... | |
Lepjets_Event_Lep (const Fourvec &p, int type, const Vector_Resolution &res) | |
Constructor, create a new instance of Lepjets_Event_Lep. More... | |
bool | operator< (const Lepjets_Event_Lep &x) const |
Comparison operator for sorting purpose, based on $p_{T}$. More... | |
Fourvec & | p () |
Return a reference to the four-momentum. More... | |
const Fourvec & | p () const |
Return a constant reference to the four-momentum. More... | |
double | p_sigma () const |
Return the uncertainty in momentum or ( or if the lepton is a tracking object). More... | |
double | phi_sigma () const |
Return the uncertainty in azimuthal angle . More... | |
Vector_Resolution & | res () |
Return a reference to the resolution. More... | |
const Vector_Resolution & | res () const |
Return a constant reference to the resolution. More... | |
void | smear (CLHEP::HepRandomEngine &engine, bool smear_dir=false) |
Smear this object. More... | |
int & | type () |
Return a reference to the type code. More... | |
int | type () const |
Return the type code. More... | |
Private Attributes | |
double | _e0 |
double | _slt_edep |
bool | _slt_tag |
bool | _svx_tag |
Fourvec | _tag_lep |
A class to represent a jet in an instance of Lepjets_Event class. The class is derived from the Lepjets_Event_Lep class. In addition to the information stored in Lepjets_Event_Lep class, this class holds the following information:
Definition at line 76 of file Lepjets_Event_Jet.h.
hitfit::Lepjets_Event_Jet::Lepjets_Event_Jet | ( | const Fourvec & | p, |
int | type, | ||
const Vector_Resolution & | res, | ||
bool | svx_tag = false , |
||
bool | slt_tag = false , |
||
const Fourvec & | tag_lep = Fourvec() , |
||
double | slt_edep = 0 |
||
) |
Constructor.
p | The four-momemtum. |
type | The type code. |
res | The jet resolution. |
svx_tag | Boolean flag for SVX tag. |
slt_tag | Boolean flag for SLT tag. |
tag_lep | The SLT lepton four-momentum. |
slt_edep | The SLT lepton energy deposition. |
Definition at line 38 of file Lepjets_Event_Jet.cc.
std::ostream & hitfit::Lepjets_Event_Jet::dump | ( | std::ostream & | s, |
bool | full = false |
||
) | const |
Print the content of this object.
s | The output stream to which to write |
full | If TRUE, print all information about this instance of Lepjets_Event_Lep. If FALSE, print partial information about this instance of Lepjets_Event_Lep. |
Definition at line 174 of file Lepjets_Event_Jet.cc.
References hitfit::Lepjets_Event_Lep::dump(), full, and alignCSCRings::s.
double & hitfit::Lepjets_Event_Jet::e0 | ( | ) |
Return a reference of the uncorrected jet energy.
Definition at line 163 of file Lepjets_Event_Jet.cc.
References _e0.
double hitfit::Lepjets_Event_Jet::e0 | ( | ) | const |
Return the uncorrected jet energy.
Definition at line 152 of file Lepjets_Event_Jet.cc.
References _e0.
double & hitfit::Lepjets_Event_Jet::slt_edep | ( | ) |
Return a reference to SLT lepton energy deposition.
Definition at line 141 of file Lepjets_Event_Jet.cc.
References _slt_edep.
double hitfit::Lepjets_Event_Jet::slt_edep | ( | ) | const |
Return the SLT lepton energy deposition.
Definition at line 130 of file Lepjets_Event_Jet.cc.
References _slt_edep.
bool & hitfit::Lepjets_Event_Jet::slt_tag | ( | ) |
Return a reference to the SLT tag flag.
Definition at line 97 of file Lepjets_Event_Jet.cc.
References _slt_tag.
bool hitfit::Lepjets_Event_Jet::slt_tag | ( | ) | const |
bool & hitfit::Lepjets_Event_Jet::svx_tag | ( | ) |
Return a reference to the SVX tag flag.
Definition at line 75 of file Lepjets_Event_Jet.cc.
References _svx_tag.
bool hitfit::Lepjets_Event_Jet::svx_tag | ( | ) | const |
Fourvec & hitfit::Lepjets_Event_Jet::tag_lep | ( | ) |
Return a reference to the SLT lepton.
Definition at line 119 of file Lepjets_Event_Jet.cc.
References _tag_lep.
const Fourvec & hitfit::Lepjets_Event_Jet::tag_lep | ( | ) | const |
Return a constant reference to the SLT lepton.
Definition at line 108 of file Lepjets_Event_Jet.cc.
References _tag_lep.
|
private |
|
private |
The SLT lepton energy deposition.
Definition at line 195 of file Lepjets_Event_Jet.h.
Referenced by slt_edep().
|
private |
Boolean flag for the SLT tag.
Definition at line 185 of file Lepjets_Event_Jet.h.
Referenced by slt_tag().
|
private |
Boolean flag for the SVX tag.
Definition at line 180 of file Lepjets_Event_Jet.h.
Referenced by svx_tag().
|
private |
The SLT lepton four-momentum.
Definition at line 190 of file Lepjets_Event_Jet.h.
Referenced by tag_lep().