CMS 3D CMS Logo

Public Member Functions | Private Attributes

hitfit::Lepjets_Event_Jet Class Reference

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>

Inheritance diagram for hitfit::Lepjets_Event_Jet:
hitfit::Lepjets_Event_Lep

List of all members.

Public Member Functions

std::ostream & dump (std::ostream &s, bool full=false) const
 Print the content of this object.
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.
double & slt_edep ()
double slt_edep () const
bool & slt_tag ()
bool slt_tag () const
bool svx_tag () const
bool & svx_tag ()
Fourvectag_lep ()
const Fourvectag_lep () const

Private Attributes

double _e0
double _slt_edep
bool _slt_tag
bool _svx_tag
Fourvec _tag_lep

Detailed Description

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 82 of file Lepjets_Event_Jet.h.


Constructor & Destructor Documentation

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.

Parameters:
pThe four-momemtum.
typeThe type code.
resThe jet resolution.
svx_tagBoolean flag for SVX tag.
slt_tagBoolean flag for SLT tag.
tag_lepThe SLT lepton four-momentum.
slt_edepThe SLT lepton energy deposition.

Definition at line 42 of file Lepjets_Event_Jet.cc.


Member Function Documentation

std::ostream & hitfit::Lepjets_Event_Jet::dump ( std::ostream &  s,
bool  full = false 
) const

Print the content of this object.

Parameters:
sThe output stream to which to write
fullIf TRUE, print all information about this instance of Lepjets_Event_Lep.
If FALSE, print partial information about this instance of Lepjets_Event_Lep.

Reimplemented from hitfit::Lepjets_Event_Lep.

Definition at line 191 of file Lepjets_Event_Jet.cc.

References hitfit::Lepjets_Event_Lep::dump(), full, and alignCSCRings::s.

Referenced by hitfit::operator<<().

{
  Lepjets_Event_Lep::dump (s, full);
  if (_svx_tag)
    s << " (svx)";
  if (_slt_tag)
    s << " (slt)";
  if (full) {
    if (_slt_tag) {
      s << "    tag lep: " << _tag_lep;
      s << " edep: " << _slt_edep;
    }
    s << "\n";
  }
  return s;
}
double hitfit::Lepjets_Event_Jet::e0 ( ) const

Return the uncorrected jet energy.

Definition at line 167 of file Lepjets_Event_Jet.cc.

References _e0.

{
  return _e0;
}
double & hitfit::Lepjets_Event_Jet::e0 ( )

Return a reference of the uncorrected jet energy.

Definition at line 179 of file Lepjets_Event_Jet.cc.

References _e0.

{
  return _e0;
}
double & hitfit::Lepjets_Event_Jet::slt_edep ( )

Return a reference to SLT lepton energy deposition.

Definition at line 155 of file Lepjets_Event_Jet.cc.

References _slt_edep.

{
  return _slt_edep;
}
double hitfit::Lepjets_Event_Jet::slt_edep ( ) const

Return the SLT lepton energy deposition.

Definition at line 143 of file Lepjets_Event_Jet.cc.

References _slt_edep.

{
  return _slt_edep;
}
bool & hitfit::Lepjets_Event_Jet::slt_tag ( )

Return a reference to the SLT tag flag.

Definition at line 107 of file Lepjets_Event_Jet.cc.

References _slt_tag.

{
  return _slt_tag;
}
bool hitfit::Lepjets_Event_Jet::slt_tag ( ) const

Return the SLT tag flag.

Definition at line 95 of file Lepjets_Event_Jet.cc.

References _slt_tag.

{
  return _slt_tag;
}
bool hitfit::Lepjets_Event_Jet::svx_tag ( ) const

Return the SVX tag flag.

Definition at line 71 of file Lepjets_Event_Jet.cc.

References _svx_tag.

{
  return _svx_tag;
}
bool & hitfit::Lepjets_Event_Jet::svx_tag ( )

Return a reference to the SVX tag flag.

Definition at line 83 of file Lepjets_Event_Jet.cc.

References _svx_tag.

{
  return _svx_tag;
}
const Fourvec & hitfit::Lepjets_Event_Jet::tag_lep ( ) const

Return a constant reference to the SLT lepton.

Definition at line 119 of file Lepjets_Event_Jet.cc.

References _tag_lep.

{
  return _tag_lep;
}
Fourvec & hitfit::Lepjets_Event_Jet::tag_lep ( )

Return a reference to the SLT lepton.

Definition at line 131 of file Lepjets_Event_Jet.cc.

References _tag_lep.

{
  return _tag_lep;
}

Member Data Documentation

The uncorrected jet energy.

Definition at line 208 of file Lepjets_Event_Jet.h.

Referenced by e0().

The SLT lepton energy deposition.

Definition at line 203 of file Lepjets_Event_Jet.h.

Referenced by slt_edep().

Boolean flag for the SLT tag.

Definition at line 193 of file Lepjets_Event_Jet.h.

Referenced by slt_tag().

Boolean flag for the SVX tag.

Definition at line 188 of file Lepjets_Event_Jet.h.

Referenced by svx_tag().

The SLT lepton four-momentum.

Definition at line 198 of file Lepjets_Event_Jet.h.

Referenced by tag_lep().