#include <EgHLTOffEle.h>
Classes | |
struct | ClusShapeData |
struct | EventData |
struct | HLTData |
struct | IsolData |
Public Member Functions | |
float | bremFrac () const |
float | caloEnergy () const |
int | charge () const |
int | classification () const |
reco::TrackRef | ctfTrack () const |
float | ctfTrkChi2 () const |
float | ctfTrkEta () const |
int | ctfTrkHitsFound () const |
int | ctfTrkHitsLost () const |
float | ctfTrkInnerRadius () const |
float | ctfTrkNDof () const |
int | ctfTrkNrHits () const |
float | ctfTrkOuterRadius () const |
float | ctfTrkP () const |
float | ctfTrkPt () const |
float | ctfTrkPtInner () const |
float | ctfTrkPtOuter () const |
int | cutCode () const |
float | dEtaIn () const |
float | dEtaOut () const |
float | detEta () const |
float | dPhiIn () const |
float | dPhiOut () const |
float | e1x5Over5x5 () const |
float | e2x5MaxOver5x5 () const |
float | energy () const |
float | epIn () const |
float | epOut () const |
float | et () const |
float | eta () const |
float | etaSC () const |
float | etSC () const |
const reco::GsfElectron * | gsfEle () const |
float | hltDEtaIn () const |
float | hltDPhiIn () const |
float | hltInvEInvP () const |
float | hltIsolEm () const |
float | hltIsolHad () const |
float | hltIsolTrksEle () const |
float | hltIsolTrksPho () const |
float | hOverE () const |
float | invEInvP () const |
bool | isGap () const |
float | isolEm () const |
float | isolHad () const |
float | isolHadDepth1 () const |
float | isolHadDepth2 () const |
int | isolNrTrks () const |
float | isolPtTrks () const |
int | looseCutCode () const |
int | NVertex () const |
OffEle (const reco::GsfElectron &ele, const ClusShapeData &shapeData, const IsolData &isolData, const HLTData &hltData, const EventData &eventData) | |
const math::XYZTLorentzVector & | p4 () const |
float | pCalo () const |
float | phi () const |
float | phiSC () const |
float | ptCalo () const |
float | ptVtx () const |
float | pVtx () const |
float | r9 () const |
void | setCutCode (int code) |
void | setLooseCutCode (int code) |
void | setTrigBits (TrigCodes::TrigBitSet bits) |
void | setTrigCutsCutCodes (const std::vector< std::pair< TrigCodes::TrigBitSet, int > > trigCutsCutCodes) |
float | sigmaEtaEta () const |
float | sigmaEtaEtaUnCorr () const |
float | sigmaIEtaIEta () const |
float | sigmaPhiPhi () const |
TrigCodes::TrigBitSet | trigBits () const |
int | trigCutsCutCode (const TrigCodes::TrigBitSet &trigger) const |
bool | validCTFTrack () const |
float | zVtx () const |
~OffEle () | |
Private Attributes | |
ClusShapeData | clusShapeData_ |
int | cutCode_ |
EventData | eventData_ |
const reco::GsfElectron * | gsfEle_ |
HLTData | hltData_ |
IsolData | isolData_ |
int | looseCutCode_ |
TrigCodes::TrigBitSet | trigBits_ |
std::vector< std::pair < TrigCodes::TrigBitSet, int > > | trigCutsCutCodes_ |
Definition at line 30 of file EgHLTOffEle.h.
egHLT::OffEle::OffEle | ( | const reco::GsfElectron & | ele, |
const ClusShapeData & | shapeData, | ||
const IsolData & | isolData, | ||
const HLTData & | hltData, | ||
const EventData & | eventData | ||
) | [inline] |
Definition at line 96 of file EgHLTOffEle.h.
: gsfEle_(&ele),clusShapeData_(shapeData),isolData_(isolData),hltData_(hltData),eventData_(eventData), cutCode_(int(EgCutCodes::INVALID)),looseCutCode_(int(EgCutCodes::INVALID)){}
egHLT::OffEle::~OffEle | ( | ) | [inline] |
Definition at line 99 of file EgHLTOffEle.h.
{}
float egHLT::OffEle::bremFrac | ( | ) | const [inline] |
float egHLT::OffEle::caloEnergy | ( | ) | const [inline] |
Definition at line 119 of file EgHLTOffEle.h.
References reco::GsfElectron::caloEnergy(), and gsfEle_.
Referenced by etSC(), and egHLT::OffEgSel::getCutCode().
{return gsfEle_->caloEnergy();}
int egHLT::OffEle::charge | ( | ) | const [inline] |
Definition at line 131 of file EgHLTOffEle.h.
References reco::LeafCandidate::charge(), and gsfEle_.
int egHLT::OffEle::classification | ( | ) | const [inline] |
Definition at line 127 of file EgHLTOffEle.h.
References reco::GsfElectron::classification(), and gsfEle_.
{return gsfEle_->classification();}
reco::TrackRef egHLT::OffEle::ctfTrack | ( | ) | const [inline] |
Definition at line 180 of file EgHLTOffEle.h.
References reco::GsfElectron::closestCtfTrackRef(), and gsfEle_.
Referenced by ctfTrkChi2(), ctfTrkEta(), ctfTrkHitsFound(), ctfTrkHitsLost(), ctfTrkInnerRadius(), ctfTrkNDof(), ctfTrkNrHits(), ctfTrkOuterRadius(), ctfTrkP(), ctfTrkPt(), ctfTrkPtInner(), ctfTrkPtOuter(), and egHLT::OffEgSel::getCutCode().
{return gsfEle_->closestCtfTrackRef();} //in theory lightweight (if they follow good design),return by value
float egHLT::OffEle::ctfTrkChi2 | ( | ) | const [inline] |
Definition at line 189 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
{return validCTFTrack() ? ctfTrack()->chi2() : 999.;}
float egHLT::OffEle::ctfTrkEta | ( | ) | const [inline] |
Definition at line 188 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
{return validCTFTrack() ? ctfTrack()->eta() : -999.;}
int egHLT::OffEle::ctfTrkHitsFound | ( | ) | const [inline] |
Definition at line 195 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
Referenced by egHLT::OffEgSel::getCutCode().
{return validCTFTrack() ? static_cast<int>(ctfTrack()->found()) : -999;}
int egHLT::OffEle::ctfTrkHitsLost | ( | ) | const [inline] |
Definition at line 196 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
Referenced by egHLT::OffEgSel::getCutCode().
{return validCTFTrack() ? static_cast<int>(ctfTrack()->lost()) : -999;}
float egHLT::OffEle::ctfTrkInnerRadius | ( | ) | const [inline] |
Definition at line 193 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
Referenced by egHLT::OffEgSel::getCutCode().
{return validCTFTrack() ? ctfTrack()->innerPosition().Rho() : 999.;}
float egHLT::OffEle::ctfTrkNDof | ( | ) | const [inline] |
Definition at line 190 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
{return validCTFTrack() ? ctfTrack()->ndof() : 999.;} //this will give chi2/ndof a valid value, perhaps rethink
int egHLT::OffEle::ctfTrkNrHits | ( | ) | const [inline] |
Definition at line 197 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
{return validCTFTrack() ? static_cast<int>(ctfTrack()->recHitsSize()) : -999;}
float egHLT::OffEle::ctfTrkOuterRadius | ( | ) | const [inline] |
Definition at line 194 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
Referenced by egHLT::OffEgSel::getCutCode().
{return validCTFTrack() ? ctfTrack()->outerPosition().Rho() : -999.;}
float egHLT::OffEle::ctfTrkP | ( | ) | const [inline] |
Definition at line 186 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
{return validCTFTrack() ? ctfTrack()->p() : -999.;}
float egHLT::OffEle::ctfTrkPt | ( | ) | const [inline] |
Definition at line 187 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
{return validCTFTrack() ? ctfTrack()->pt() : -999.;}
float egHLT::OffEle::ctfTrkPtInner | ( | ) | const [inline] |
Definition at line 192 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
{return validCTFTrack() ? ctfTrack()->innerMomentum().Perp2() : -999.;}
float egHLT::OffEle::ctfTrkPtOuter | ( | ) | const [inline] |
Definition at line 191 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
{return validCTFTrack() ? ctfTrack()->outerMomentum().Perp2() : -999.;}
int egHLT::OffEle::cutCode | ( | ) | const [inline] |
Definition at line 200 of file EgHLTOffEle.h.
References cutCode_.
Referenced by egHLT::EleHLTFilterMon::EleHLTFilterMon(), egHLT::MonElemFuncs::initStdEffHists(), egHLT::MonElemFuncs::initTrigTagProbeHist(), egHLT::MonElemFuncs::initTrigTagProbeHist_2Leg(), and egHLT::MonElemFuncs::initTrigTagProbeHists().
{return cutCode_;}
float egHLT::OffEle::dEtaIn | ( | ) | const [inline] |
Definition at line 140 of file EgHLTOffEle.h.
References reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), and gsfEle_.
Referenced by egHLT::OffEgSel::getCutCode(), and egHLT::MonElemFuncs::initStdEleHists().
{return gsfEle_->deltaEtaSuperClusterTrackAtVtx();}
float egHLT::OffEle::dEtaOut | ( | ) | const [inline] |
Definition at line 143 of file EgHLTOffEle.h.
References reco::GsfElectron::deltaEtaSeedClusterTrackAtCalo(), and gsfEle_.
{return gsfEle_->deltaEtaSeedClusterTrackAtCalo();}
float egHLT::OffEle::detEta | ( | ) | const [inline] |
Definition at line 121 of file EgHLTOffEle.h.
References etaSC().
Referenced by egHLT::OffEgSel::getCutCode(), egHLT::MonElemFuncs::initStdEleCutHists(), and egHLT::MonElemFuncs::initStdEleHists().
{return etaSC();}
float egHLT::OffEle::dPhiIn | ( | ) | const [inline] |
Definition at line 141 of file EgHLTOffEle.h.
References reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), and gsfEle_.
Referenced by egHLT::OffEgSel::getCutCode(), and egHLT::MonElemFuncs::initStdEleHists().
{return gsfEle_->deltaPhiSuperClusterTrackAtVtx();}
float egHLT::OffEle::dPhiOut | ( | ) | const [inline] |
Definition at line 142 of file EgHLTOffEle.h.
References reco::GsfElectron::deltaPhiSeedClusterTrackAtCalo(), and gsfEle_.
{return gsfEle_->deltaPhiSeedClusterTrackAtCalo();}
float egHLT::OffEle::e1x5Over5x5 | ( | ) | const [inline] |
Definition at line 154 of file EgHLTOffEle.h.
References clusShapeData_, and egHLT::OffEle::ClusShapeData::e1x5Over5x5.
Referenced by egHLT::MonElemFuncs::initStdEleHists().
{return clusShapeData_.e1x5Over5x5;}
float egHLT::OffEle::e2x5MaxOver5x5 | ( | ) | const [inline] |
Definition at line 153 of file EgHLTOffEle.h.
References clusShapeData_, and egHLT::OffEle::ClusShapeData::e2x5MaxOver5x5.
Referenced by egHLT::MonElemFuncs::initStdEleHists().
{return clusShapeData_.e2x5MaxOver5x5;}
float egHLT::OffEle::energy | ( | ) | const [inline] |
Definition at line 115 of file EgHLTOffEle.h.
References reco::LeafCandidate::energy(), and gsfEle_.
float egHLT::OffEle::epIn | ( | ) | const [inline] |
Definition at line 144 of file EgHLTOffEle.h.
References reco::GsfElectron::eSuperClusterOverP(), and gsfEle_.
Referenced by egHLT::MonElemFuncs::initStdEleHists().
{return gsfEle_->eSuperClusterOverP();}
float egHLT::OffEle::epOut | ( | ) | const [inline] |
Definition at line 145 of file EgHLTOffEle.h.
References reco::GsfElectron::eSeedClusterOverPout(), and gsfEle_.
Referenced by egHLT::MonElemFuncs::initStdEleHists().
{return gsfEle_->eSeedClusterOverPout();}
float egHLT::OffEle::et | ( | ) | const [inline] |
Definition at line 113 of file EgHLTOffEle.h.
References reco::LeafCandidate::et(), and gsfEle_.
Referenced by egHLT::EleHLTFilterMon::EleHLTFilterMon(), egHLT::OffEgSel::getCutCode(), egHLT::MonElemFuncs::initStdEleCutHists(), and egHLT::MonElemFuncs::initStdEleHists().
float egHLT::OffEle::eta | ( | ) | const [inline] |
Definition at line 116 of file EgHLTOffEle.h.
References reco::LeafCandidate::eta(), and gsfEle_.
Referenced by egHLT::EleHLTFilterMon::EleHLTFilterMon(), egHLT::EgTrigTagProbeCut::pass(), and egHLT::EgTrigTagProbeCut_New::pass().
float egHLT::OffEle::etaSC | ( | ) | const [inline] |
Definition at line 120 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::superCluster().
Referenced by detEta(), egHLT::OffEgSel::getCutCode(), and sigmaEtaEta().
{return gsfEle_->superCluster()->eta();}
float egHLT::OffEle::etSC | ( | ) | const [inline] |
Definition at line 118 of file EgHLTOffEle.h.
References caloEnergy(), gsfEle_, and reco::GsfElectron::superCluster().
Referenced by egHLT::MonElemFuncs::initStdEleHists(), egHLT::MonElemFuncs::initTrigTagProbeHist(), egHLT::MonElemFuncs::initTrigTagProbeHist_2Leg(), and egHLT::MonElemFuncs::initTrigTagProbeHists().
{return gsfEle_->superCluster()->position().rho()/gsfEle_->superCluster()->position().r()*caloEnergy();}
const reco::GsfElectron* egHLT::OffEle::gsfEle | ( | ) | const [inline] |
float egHLT::OffEle::hltDEtaIn | ( | ) | const [inline] |
Definition at line 175 of file EgHLTOffEle.h.
References egHLT::OffEle::HLTData::dEtaIn, and hltData_.
Referenced by egHLT::OffEgSel::getCutCode().
float egHLT::OffEle::hltDPhiIn | ( | ) | const [inline] |
Definition at line 176 of file EgHLTOffEle.h.
References egHLT::OffEle::HLTData::dPhiIn, and hltData_.
Referenced by egHLT::OffEgSel::getCutCode().
float egHLT::OffEle::hltInvEInvP | ( | ) | const [inline] |
Definition at line 177 of file EgHLTOffEle.h.
References hltData_, and egHLT::OffEle::HLTData::invEInvP.
Referenced by egHLT::OffEgSel::getCutCode().
float egHLT::OffEle::hltIsolEm | ( | ) | const [inline] |
Definition at line 172 of file EgHLTOffEle.h.
References egHLT::OffEle::IsolData::hltEm, and isolData_.
Referenced by egHLT::OffEgSel::getCutCode(), and egHLT::MonElemFuncs::initStdEleHists().
float egHLT::OffEle::hltIsolHad | ( | ) | const [inline] |
Definition at line 171 of file EgHLTOffEle.h.
References egHLT::OffEle::IsolData::hltHad, and isolData_.
Referenced by egHLT::OffEgSel::getCutCode(), and egHLT::MonElemFuncs::initStdEleHists().
float egHLT::OffEle::hltIsolTrksEle | ( | ) | const [inline] |
Definition at line 169 of file EgHLTOffEle.h.
References egHLT::OffEle::IsolData::hltTrksEle, and isolData_.
Referenced by egHLT::OffEgSel::getCutCode(), and egHLT::MonElemFuncs::initStdEleHists().
{return isolData_.hltTrksEle;}
float egHLT::OffEle::hltIsolTrksPho | ( | ) | const [inline] |
Definition at line 170 of file EgHLTOffEle.h.
References egHLT::OffEle::IsolData::hltTrksPho, and isolData_.
Referenced by egHLT::OffEgSel::getCutCode().
{return isolData_.hltTrksPho;}
float egHLT::OffEle::hOverE | ( | ) | const [inline] |
Definition at line 139 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::hadronicOverEm().
Referenced by egHLT::OffEgSel::getCutCode(), and egHLT::MonElemFuncs::initStdEleHists().
{return gsfEle_->hadronicOverEm();}
float egHLT::OffEle::invEInvP | ( | ) | const [inline] |
Definition at line 159 of file EgHLTOffEle.h.
References reco::GsfElectron::caloEnergy(), gsfEle_, and reco::GsfElectron::trackMomentumAtVtx().
Referenced by egHLT::OffEgSel::getCutCode(), and egHLT::MonElemFuncs::initStdEleHists().
{return gsfEle_->caloEnergy()!=0 && gsfEle_->trackMomentumAtVtx().R()!=0. ? 1./gsfEle_->caloEnergy() - 1./gsfEle_->trackMomentumAtVtx().R() : -999;}
bool egHLT::OffEle::isGap | ( | ) | const [inline] |
Definition at line 128 of file EgHLTOffEle.h.
References gsfEle_, reco::GsfElectron::isEBEEGap(), reco::GsfElectron::isEBGap(), and reco::GsfElectron::isEEGap().
Referenced by egHLT::OffEgSel::getCutCode().
float egHLT::OffEle::isolEm | ( | ) | const [inline] |
Definition at line 163 of file EgHLTOffEle.h.
References egHLT::OffEle::IsolData::em, and isolData_.
Referenced by egHLT::OffEgSel::getCutCode().
float egHLT::OffEle::isolHad | ( | ) | const [inline] |
Definition at line 164 of file EgHLTOffEle.h.
References isolHadDepth1(), and isolHadDepth2().
Referenced by egHLT::OffEgSel::getCutCode().
{return isolHadDepth1()+isolHadDepth2();}
float egHLT::OffEle::isolHadDepth1 | ( | ) | const [inline] |
Definition at line 165 of file EgHLTOffEle.h.
References egHLT::OffEle::IsolData::hadDepth1, and isolData_.
Referenced by isolHad().
float egHLT::OffEle::isolHadDepth2 | ( | ) | const [inline] |
Definition at line 166 of file EgHLTOffEle.h.
References egHLT::OffEle::IsolData::hadDepth2, and isolData_.
Referenced by isolHad().
int egHLT::OffEle::isolNrTrks | ( | ) | const [inline] |
Definition at line 168 of file EgHLTOffEle.h.
References isolData_, and egHLT::OffEle::IsolData::nrTrks.
float egHLT::OffEle::isolPtTrks | ( | ) | const [inline] |
Definition at line 167 of file EgHLTOffEle.h.
References isolData_, and egHLT::OffEle::IsolData::ptTrks.
Referenced by egHLT::OffEgSel::getCutCode().
int egHLT::OffEle::looseCutCode | ( | ) | const [inline] |
Definition at line 201 of file EgHLTOffEle.h.
References looseCutCode_.
Referenced by egHLT::EleHLTFilterMon::EleHLTFilterMon().
{return looseCutCode_;}
int egHLT::OffEle::NVertex | ( | ) | const [inline] |
Definition at line 103 of file EgHLTOffEle.h.
References eventData_, and egHLT::OffEle::EventData::NVertex.
Referenced by egHLT::MonElemFuncs::initStdEleCutHists().
{return eventData_.NVertex;}
const math::XYZTLorentzVector& egHLT::OffEle::p4 | ( | ) | const [inline] |
Definition at line 124 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::p4().
Referenced by egHLT::EgTrigTagProbeCut::pass(), egHLT::EgTagProbeCut< T >::pass(), and egHLT::EgTrigTagProbeCut_New::pass().
float egHLT::OffEle::pCalo | ( | ) | const [inline] |
Definition at line 133 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::trackMomentumAtCalo().
Referenced by bremFrac().
{return gsfEle_->trackMomentumAtCalo().R();}
float egHLT::OffEle::phi | ( | void | ) | const [inline] |
Definition at line 117 of file EgHLTOffEle.h.
References gsfEle_, and reco::LeafCandidate::phi().
Referenced by egHLT::MonElemFuncs::initStdEleCutHists(), egHLT::MonElemFuncs::initStdEleHists(), egHLT::EgTrigTagProbeCut::pass(), and egHLT::EgTrigTagProbeCut_New::pass().
float egHLT::OffEle::phiSC | ( | ) | const [inline] |
Definition at line 122 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::superCluster().
{return gsfEle_->superCluster()->phi();}
float egHLT::OffEle::ptCalo | ( | ) | const [inline] |
Definition at line 135 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::trackMomentumAtCalo().
{return gsfEle_->trackMomentumAtCalo().rho();}
float egHLT::OffEle::ptVtx | ( | ) | const [inline] |
Definition at line 134 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::trackMomentumAtVtx().
{return gsfEle_->trackMomentumAtVtx().rho();}
float egHLT::OffEle::pVtx | ( | ) | const [inline] |
Definition at line 132 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::trackMomentumAtVtx().
Referenced by bremFrac().
{return gsfEle_->trackMomentumAtVtx().R();}
float egHLT::OffEle::r9 | ( | ) | const [inline] |
Definition at line 156 of file EgHLTOffEle.h.
References clusShapeData_, and egHLT::OffEle::ClusShapeData::r9.
Referenced by egHLT::OffEgSel::getCutCode(), and egHLT::MonElemFuncs::initStdEleHists().
{return clusShapeData_.r9;}
void egHLT::OffEle::setCutCode | ( | int | code | ) | [inline] |
Definition at line 104 of file EgHLTOffEle.h.
References cutCode_.
Referenced by egHLT::OffHelper::fillOffEleVec().
{cutCode_=code;}
void egHLT::OffEle::setLooseCutCode | ( | int | code | ) | [inline] |
Definition at line 105 of file EgHLTOffEle.h.
References looseCutCode_.
Referenced by egHLT::OffHelper::fillOffEleVec().
{looseCutCode_=code;}
void egHLT::OffEle::setTrigBits | ( | TrigCodes::TrigBitSet | bits | ) | [inline] |
void egHLT::OffEle::setTrigCutsCutCodes | ( | const std::vector< std::pair< TrigCodes::TrigBitSet, int > > | trigCutsCutCodes | ) | [inline] |
Definition at line 107 of file EgHLTOffEle.h.
References trigCutsCutCodes_.
Referenced by egHLT::OffHelper::fillOffEleVec().
{trigCutsCutCodes_=trigCutsCutCodes;}
float OffEle::sigmaEtaEta | ( | ) | const |
Definition at line 5 of file EgHLTOffEle.cc.
References clusShapeData_, etaSC(), and egHLT::OffEle::ClusShapeData::sigmaEtaEta.
Referenced by egHLT::OffEgSel::getCutCode().
{ if(fabs(etaSC())<1.479) return clusShapeData_.sigmaEtaEta; //barrel case, no correction else{ //endcap, need to apply eta correction return clusShapeData_.sigmaEtaEta - 0.02*( fabs(etaSC()) - 2.3); } }
float egHLT::OffEle::sigmaEtaEtaUnCorr | ( | ) | const [inline] |
Definition at line 149 of file EgHLTOffEle.h.
References clusShapeData_, and egHLT::OffEle::ClusShapeData::sigmaEtaEta.
{return clusShapeData_.sigmaEtaEta;}
float egHLT::OffEle::sigmaIEtaIEta | ( | ) | const [inline] |
Definition at line 150 of file EgHLTOffEle.h.
References clusShapeData_, and egHLT::OffEle::ClusShapeData::sigmaIEtaIEta.
Referenced by egHLT::OffEgSel::getCutCode(), and egHLT::MonElemFuncs::initStdEleHists().
{return clusShapeData_.sigmaIEtaIEta;}
float egHLT::OffEle::sigmaPhiPhi | ( | ) | const [inline] |
Definition at line 151 of file EgHLTOffEle.h.
References clusShapeData_, and egHLT::OffEle::ClusShapeData::sigmaPhiPhi.
{return clusShapeData_.sigmaPhiPhi;}
TrigCodes::TrigBitSet egHLT::OffEle::trigBits | ( | ) | const [inline] |
Definition at line 208 of file EgHLTOffEle.h.
References trigBits_.
Referenced by egHLT::EleHLTFilterMon::fill(), and egHLT::EgTrigTagProbeCut_New::pass().
{return trigBits_;}
int OffEle::trigCutsCutCode | ( | const TrigCodes::TrigBitSet & | trigger | ) | const |
Definition at line 18 of file EgHLTOffEle.cc.
References first, i, and trigCutsCutCodes_.
Referenced by egHLT::MonElemFuncs::initTightLooseDiObjTrigHistsTrigCuts(), and egHLT::MonElemFuncs::initTightLooseTrigHistsTrigCuts().
{ //yes maybe a sorted vector might be better but 1) its small and 2) bitset doesnt support < operator //okay laugh, for some reason I cant overload the == operator (brain just not working), hence the non stl'y way //std::vector<std::pair<TrigCodes::TrigBitSet,int> >::const_iterator it; //it = std::find(trigCutsCodes_.begin(),trigCutsCodes_.end(),trigger); //if(it!=trigCutsCodes_.end()) return it->second; //else return 0; //defaults to passing for(size_t i=0;i<trigCutsCutCodes_.size();i++) if(trigger==trigCutsCutCodes_[i].first) return trigCutsCutCodes_[i].second; return 0; //defaults to passing }
bool egHLT::OffEle::validCTFTrack | ( | ) | const [inline] |
Definition at line 182 of file EgHLTOffEle.h.
References reco::GsfElectron::closestCtfTrackRef(), and gsfEle_.
Referenced by ctfTrkChi2(), ctfTrkEta(), ctfTrkHitsFound(), ctfTrkHitsLost(), ctfTrkInnerRadius(), ctfTrkNDof(), ctfTrkNrHits(), ctfTrkOuterRadius(), ctfTrkP(), ctfTrkPt(), ctfTrkPtInner(), ctfTrkPtOuter(), and egHLT::OffEgSel::getCutCode().
{return gsfEle_->closestCtfTrackRef().isNonnull() && gsfEle_->closestCtfTrackRef()->extra().isNonnull();}
float egHLT::OffEle::zVtx | ( | ) | const [inline] |
Definition at line 123 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::TrackPositionAtVtx().
{return gsfEle_->TrackPositionAtVtx().z();}
ClusShapeData egHLT::OffEle::clusShapeData_ [private] |
Definition at line 77 of file EgHLTOffEle.h.
Referenced by e1x5Over5x5(), e2x5MaxOver5x5(), r9(), sigmaEtaEta(), sigmaEtaEtaUnCorr(), sigmaIEtaIEta(), and sigmaPhiPhi().
int egHLT::OffEle::cutCode_ [private] |
Definition at line 83 of file EgHLTOffEle.h.
Referenced by cutCode(), and setCutCode().
EventData egHLT::OffEle::eventData_ [private] |
Definition at line 80 of file EgHLTOffEle.h.
Referenced by NVertex().
const reco::GsfElectron* egHLT::OffEle::gsfEle_ [private] |
Definition at line 75 of file EgHLTOffEle.h.
Referenced by caloEnergy(), charge(), classification(), ctfTrack(), dEtaIn(), dEtaOut(), dPhiIn(), dPhiOut(), energy(), epIn(), epOut(), et(), eta(), etaSC(), etSC(), gsfEle(), hOverE(), invEInvP(), isGap(), p4(), pCalo(), phi(), phiSC(), ptCalo(), ptVtx(), pVtx(), validCTFTrack(), and zVtx().
HLTData egHLT::OffEle::hltData_ [private] |
Definition at line 79 of file EgHLTOffEle.h.
Referenced by hltDEtaIn(), hltDPhiIn(), and hltInvEInvP().
IsolData egHLT::OffEle::isolData_ [private] |
Definition at line 78 of file EgHLTOffEle.h.
Referenced by hltIsolEm(), hltIsolHad(), hltIsolTrksEle(), hltIsolTrksPho(), isolEm(), isolHadDepth1(), isolHadDepth2(), isolNrTrks(), and isolPtTrks().
int egHLT::OffEle::looseCutCode_ [private] |
Definition at line 84 of file EgHLTOffEle.h.
Referenced by looseCutCode(), and setLooseCutCode().
Definition at line 92 of file EgHLTOffEle.h.
Referenced by setTrigBits(), and trigBits().
std::vector<std::pair<TrigCodes::TrigBitSet,int> > egHLT::OffEle::trigCutsCutCodes_ [private] |
Definition at line 87 of file EgHLTOffEle.h.
Referenced by setTrigCutsCutCodes(), and trigCutsCutCode().