#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 | DeltaE () 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 | hltEnergy () const |
float | hltEta () const |
float | hltInvEInvP () const |
float | hltIsolEm () const |
float | hltIsolHad () const |
float | hltIsolTrksEle () const |
float | hltIsolTrksPho () const |
float | hltPhi () 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 ()=default | |
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 29 of file EgHLTOffEle.h.
|
inline |
Definition at line 97 of file EgHLTOffEle.h.
|
default |
|
inline |
|
inline |
Definition at line 132 of file EgHLTOffEle.h.
References reco::GsfElectron::caloEnergy(), and gsfEle_.
Referenced by DeltaE(), etSC(), and egHLT::OffEgSel::getCutCode().
|
inline |
Definition at line 144 of file EgHLTOffEle.h.
References reco::LeafCandidate::charge(), and gsfEle_.
|
inline |
Definition at line 140 of file EgHLTOffEle.h.
References reco::GsfElectron::classification(), and gsfEle_.
|
inline |
Definition at line 203 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().
|
inline |
|
inline |
|
inline |
Definition at line 223 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
Referenced by egHLT::OffEgSel::getCutCode().
|
inline |
Definition at line 224 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
Referenced by egHLT::OffEgSel::getCutCode().
|
inline |
Definition at line 221 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
Referenced by egHLT::OffEgSel::getCutCode().
|
inline |
|
inline |
|
inline |
Definition at line 222 of file EgHLTOffEle.h.
References ctfTrack(), and validCTFTrack().
Referenced by egHLT::OffEgSel::getCutCode().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 228 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().
|
inline |
Definition at line 200 of file EgHLTOffEle.h.
References caloEnergy(), and hltEnergy().
Referenced by egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 152 of file EgHLTOffEle.h.
References reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), and gsfEle_.
Referenced by egHLT::OffEgSel::getCutCode(), egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 155 of file EgHLTOffEle.h.
References reco::GsfElectron::deltaEtaSeedClusterTrackAtCalo(), and gsfEle_.
|
inline |
Definition at line 134 of file EgHLTOffEle.h.
References etaSC().
Referenced by egHLT::OffEgSel::getCutCode(), egHLT::MonElemFuncs::initStdEleCutHists(), egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 153 of file EgHLTOffEle.h.
References reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), and gsfEle_.
Referenced by egHLT::OffEgSel::getCutCode(), egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 154 of file EgHLTOffEle.h.
References reco::GsfElectron::deltaPhiSeedClusterTrackAtCalo(), and gsfEle_.
|
inline |
Definition at line 166 of file EgHLTOffEle.h.
References clusShapeData_, and egHLT::OffEle::ClusShapeData::e1x5Over5x5.
Referenced by egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 165 of file EgHLTOffEle.h.
References clusShapeData_, and egHLT::OffEle::ClusShapeData::e2x5MaxOver5x5.
Referenced by egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 126 of file EgHLTOffEle.h.
References reco::LeafCandidate::energy(), and gsfEle_.
Referenced by egHLT::MonElemFuncs::initStdEleHists(), egHLT::MonElemFuncs::initStdEleHistsHEP(), and Jet.Jet::rawEnergy().
|
inline |
Definition at line 156 of file EgHLTOffEle.h.
References reco::GsfElectron::eSuperClusterOverP(), and gsfEle_.
Referenced by egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 157 of file EgHLTOffEle.h.
References reco::GsfElectron::eSeedClusterOverPout(), and gsfEle_.
Referenced by egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 124 of file EgHLTOffEle.h.
References reco::LeafCandidate::et(), and gsfEle_.
Referenced by egHLT::EleHLTFilterMon::EleHLTFilterMon(), egHLT::OffEgSel::getCutCode(), egHLT::MonElemFuncs::initStdEleCutHists(), egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 127 of file EgHLTOffEle.h.
References reco::LeafCandidate::eta(), and gsfEle_.
Referenced by Particle.Particle::__str__(), egHLT::EleHLTFilterMon::EleHLTFilterMon(), Jet.Jet::jetID(), egHLT::EgTrigTagProbeCut::pass(), egHLT::EgTrigTagProbeCut_New::pass(), and Jet.Jet::puJetId().
|
inline |
Definition at line 133 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::superCluster().
Referenced by detEta(), egHLT::OffEgSel::getCutCode(), and sigmaEtaEta().
|
inline |
Definition at line 129 of file EgHLTOffEle.h.
References caloEnergy(), gsfEle_, and reco::GsfElectron::superCluster().
Referenced by egHLT::MonElemFuncs::initStdEleHists(), egHLT::MonElemFuncs::initStdEleHistsHEP(), egHLT::MonElemFuncs::initTrigTagProbeHist(), egHLT::MonElemFuncs::initTrigTagProbeHist_2Leg(), and egHLT::MonElemFuncs::initTrigTagProbeHists().
|
inline |
|
inline |
Definition at line 191 of file EgHLTOffEle.h.
References egHLT::OffEle::HLTData::dEtaIn, and hltData_.
Referenced by egHLT::OffEgSel::getCutCode().
|
inline |
Definition at line 192 of file EgHLTOffEle.h.
References egHLT::OffEle::HLTData::dPhiIn, and hltData_.
Referenced by egHLT::OffEgSel::getCutCode().
|
inline |
Definition at line 198 of file EgHLTOffEle.h.
References hltData_, and egHLT::OffEle::HLTData::HLTenergy.
Referenced by DeltaE(), egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 197 of file EgHLTOffEle.h.
References hltData_, and egHLT::OffEle::HLTData::HLTeta.
Referenced by egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 193 of file EgHLTOffEle.h.
References hltData_, and egHLT::OffEle::HLTData::invEInvP.
Referenced by egHLT::OffEgSel::getCutCode().
|
inline |
Definition at line 188 of file EgHLTOffEle.h.
References egHLT::OffEle::IsolData::hltEm, and isolData_.
Referenced by egHLT::OffEgSel::getCutCode(), egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 187 of file EgHLTOffEle.h.
References egHLT::OffEle::IsolData::hltHad, and isolData_.
Referenced by egHLT::OffEgSel::getCutCode(), egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 185 of file EgHLTOffEle.h.
References egHLT::OffEle::IsolData::hltTrksEle, and isolData_.
Referenced by egHLT::OffEgSel::getCutCode(), egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 186 of file EgHLTOffEle.h.
References egHLT::OffEle::IsolData::hltTrksPho, and isolData_.
Referenced by egHLT::OffEgSel::getCutCode().
|
inline |
Definition at line 196 of file EgHLTOffEle.h.
References hltData_, and egHLT::OffEle::HLTData::HLTphi.
Referenced by egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 151 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::hadronicOverEm().
Referenced by egHLT::OffEgSel::getCutCode(), egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 171 of file EgHLTOffEle.h.
References reco::GsfElectron::caloEnergy(), gsfEle_, and reco::GsfElectron::trackMomentumAtVtx().
Referenced by egHLT::OffEgSel::getCutCode(), egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 141 of file EgHLTOffEle.h.
References gsfEle_, reco::GsfElectron::isEBEEGap(), reco::GsfElectron::isEBGap(), and reco::GsfElectron::isEEGap().
Referenced by egHLT::OffEgSel::getCutCode().
|
inline |
Definition at line 179 of file EgHLTOffEle.h.
References egHLT::OffEle::IsolData::em, and isolData_.
Referenced by egHLT::OffEgSel::getCutCode().
|
inline |
Definition at line 180 of file EgHLTOffEle.h.
References isolHadDepth1(), and isolHadDepth2().
Referenced by egHLT::OffEgSel::getCutCode().
|
inline |
Definition at line 181 of file EgHLTOffEle.h.
References egHLT::OffEle::IsolData::hadDepth1, and isolData_.
Referenced by isolHad().
|
inline |
Definition at line 182 of file EgHLTOffEle.h.
References egHLT::OffEle::IsolData::hadDepth2, and isolData_.
Referenced by isolHad().
|
inline |
Definition at line 184 of file EgHLTOffEle.h.
References isolData_, and egHLT::OffEle::IsolData::nrTrks.
|
inline |
Definition at line 183 of file EgHLTOffEle.h.
References isolData_, and egHLT::OffEle::IsolData::ptTrks.
Referenced by egHLT::OffEgSel::getCutCode().
|
inline |
Definition at line 229 of file EgHLTOffEle.h.
References looseCutCode_.
Referenced by egHLT::EleHLTFilterMon::EleHLTFilterMon().
|
inline |
Definition at line 112 of file EgHLTOffEle.h.
References eventData_, and egHLT::OffEle::EventData::NVertex.
Referenced by egHLT::MonElemFuncs::initStdEleCutHists().
|
inline |
Definition at line 137 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::p4().
Referenced by Tau.Tau::dxy_approx(), Tau.Tau::dz(), Lepton.Lepton::p4WithFSR(), egHLT::EgTagProbeCut< T >::pass(), egHLT::EgTrigTagProbeCut::pass(), and egHLT::EgTrigTagProbeCut_New::pass().
|
inline |
Definition at line 146 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::trackMomentumAtCalo().
Referenced by bremFrac().
|
inline |
Definition at line 128 of file EgHLTOffEle.h.
References gsfEle_, and reco::LeafCandidate::phi().
Referenced by Particle.Particle::__str__(), egHLT::MonElemFuncs::initStdEleCutHists(), egHLT::MonElemFuncs::initStdEleHists(), egHLT::MonElemFuncs::initStdEleHistsHEP(), egHLT::EgTrigTagProbeCut::pass(), egHLT::EgTrigTagProbeCut_New::pass(), and ntupleDataFormat.Track::phiPull().
|
inline |
Definition at line 135 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::superCluster().
|
inline |
Definition at line 148 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::trackMomentumAtCalo().
|
inline |
Definition at line 147 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::trackMomentumAtVtx().
|
inline |
Definition at line 145 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::trackMomentumAtVtx().
Referenced by bremFrac().
|
inline |
Definition at line 168 of file EgHLTOffEle.h.
References clusShapeData_, and egHLT::OffEle::ClusShapeData::r9.
Referenced by egHLT::OffEgSel::getCutCode(), egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 113 of file EgHLTOffEle.h.
References cutCode_.
Referenced by egHLT::OffHelper::fillOffEleVec().
|
inline |
Definition at line 114 of file EgHLTOffEle.h.
References looseCutCode_.
Referenced by egHLT::OffHelper::fillOffEleVec().
|
inline |
|
inline |
Definition at line 116 of file EgHLTOffEle.h.
References trigCutsCutCodes_.
Referenced by egHLT::OffHelper::fillOffEleVec().
float OffEle::sigmaEtaEta | ( | ) | const |
Definition at line 7 of file EgHLTOffEle.cc.
References clusShapeData_, etaSC(), and egHLT::OffEle::ClusShapeData::sigmaEtaEta.
Referenced by egHLT::OffEgSel::getCutCode().
|
inline |
Definition at line 161 of file EgHLTOffEle.h.
References clusShapeData_, and egHLT::OffEle::ClusShapeData::sigmaEtaEta.
|
inline |
Definition at line 162 of file EgHLTOffEle.h.
References clusShapeData_, and egHLT::OffEle::ClusShapeData::sigmaIEtaIEta.
Referenced by egHLT::OffEgSel::getCutCode(), egHLT::MonElemFuncs::initStdEleHists(), and egHLT::MonElemFuncs::initStdEleHistsHEP().
|
inline |
Definition at line 163 of file EgHLTOffEle.h.
References clusShapeData_, and egHLT::OffEle::ClusShapeData::sigmaPhiPhi.
|
inline |
Definition at line 235 of file EgHLTOffEle.h.
References trigBits_.
Referenced by egHLT::EleHLTFilterMon::fill(), and egHLT::EgTrigTagProbeCut_New::pass().
int OffEle::trigCutsCutCode | ( | const TrigCodes::TrigBitSet & | trigger | ) | const |
Definition at line 19 of file EgHLTOffEle.cc.
References trigCutsCutCodes_.
Referenced by egHLT::MonElemFuncs::initTightLooseDiObjTrigHistsTrigCuts(), and egHLT::MonElemFuncs::initTightLooseTrigHistsTrigCuts().
|
inline |
Definition at line 207 of file EgHLTOffEle.h.
References reco::GsfElectron::closestCtfTrackRef(), gsfEle_, and edm::Ref< C, T, F >::isNonnull().
Referenced by ctfTrkChi2(), ctfTrkEta(), ctfTrkHitsFound(), ctfTrkHitsLost(), ctfTrkInnerRadius(), ctfTrkNDof(), ctfTrkNrHits(), ctfTrkOuterRadius(), ctfTrkP(), ctfTrkPt(), ctfTrkPtInner(), ctfTrkPtOuter(), and egHLT::OffEgSel::getCutCode().
|
inline |
Definition at line 136 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::TrackPositionAtVtx().
|
private |
Definition at line 78 of file EgHLTOffEle.h.
Referenced by e1x5Over5x5(), e2x5MaxOver5x5(), r9(), sigmaEtaEta(), sigmaEtaEtaUnCorr(), sigmaIEtaIEta(), and sigmaPhiPhi().
|
private |
Definition at line 84 of file EgHLTOffEle.h.
Referenced by cutCode(), and setCutCode().
|
private |
Definition at line 81 of file EgHLTOffEle.h.
Referenced by NVertex().
|
private |
Definition at line 76 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().
|
private |
Definition at line 80 of file EgHLTOffEle.h.
Referenced by hltDEtaIn(), hltDPhiIn(), hltEnergy(), hltEta(), hltInvEInvP(), and hltPhi().
|
private |
Definition at line 79 of file EgHLTOffEle.h.
Referenced by hltIsolEm(), hltIsolHad(), hltIsolTrksEle(), hltIsolTrksPho(), isolEm(), isolHadDepth1(), isolHadDepth2(), isolNrTrks(), and isolPtTrks().
|
private |
Definition at line 85 of file EgHLTOffEle.h.
Referenced by looseCutCode(), and setLooseCutCode().
|
private |
Definition at line 94 of file EgHLTOffEle.h.
Referenced by setTrigBits(), and trigBits().
|
private |
Definition at line 89 of file EgHLTOffEle.h.
Referenced by setTrigCutsCutCodes(), and trigCutsCutCode().