#include <DQMOffline/Trigger/interface/EgHLTOffEle.h>
Public Member Functions | |
float | bremFrac () const |
float | caloEnergy () const |
int | charge () const |
int | classification () const |
int | cutCode () const |
float | dEtaIn () const |
float | detEta () const |
float | dPhiIn () const |
float | dPhiOut () const |
EgHLTOffEle (const reco::GsfElectron &ele, const ClusShapeData &shapeData, const IsolData &isolData) | |
float | energy () const |
float | epIn () const |
float | epOut () const |
float | et () const |
float | eta () const |
float | etaSC () const |
float | etSC () const |
float | hOverE () const |
float | invEOverInvP () const |
float | isolEm () const |
float | isolHad () const |
float | isolNrTrks () const |
float | isolPtTrks () const |
const math::XYZTLorentzVector & | p4 () const |
float | pCalo () const |
float | phi () const |
float | phiSC () const |
int | probeCutCode () const |
float | ptCalo () const |
float | ptVtx () const |
float | pVtx () const |
void | setCutCode (int code) |
void | setProbeCutCode (int code) |
void | setTagCutCode (int code) |
void | setTrigBits (TrigCodes::TrigBitSet bits) |
float | sigmaEtaEta () const |
float | sigmaEtaEtaUnCorr () const |
float | sigmaPhiPhi () const |
int | tagCutCode () const |
TrigCodes::TrigBitSet | trigBits () const |
float | zVtx () const |
~EgHLTOffEle () | |
Private Attributes | |
ClusShapeData | clusShapeData_ |
int | cutCode_ |
const reco::GsfElectron * | gsfEle_ |
IsolData | isolData_ |
int | probeCutCode_ |
int | tagCutCode_ |
TrigCodes::TrigBitSet | trigBits_ |
Classes | |
struct | ClusShapeData |
struct | IsolData |
Definition at line 28 of file EgHLTOffEle.h.
EgHLTOffEle::EgHLTOffEle | ( | const reco::GsfElectron & | ele, | |
const ClusShapeData & | shapeData, | |||
const IsolData & | isolData | |||
) | [inline] |
Definition at line 68 of file EgHLTOffEle.h.
00068 : 00069 gsfEle_(&ele),clusShapeData_(shapeData),isolData_(isolData), 00070 tagCutCode_(CutCodes::INVALID),probeCutCode_(CutCodes::INVALID),cutCode_(CutCodes::INVALID){} ~EgHLTOffEle(){}
EgHLTOffEle::~EgHLTOffEle | ( | ) | [inline] |
float EgHLTOffEle::bremFrac | ( | ) | const [inline] |
Definition at line 119 of file EgHLTOffEle.h.
References pCalo(), and pVtx().
Referenced by EgHLTOffEleSel::getCutCode().
float EgHLTOffEle::caloEnergy | ( | ) | const [inline] |
Definition at line 85 of file EgHLTOffEle.h.
References reco::GsfElectron::caloEnergy(), and gsfEle_.
Referenced by etSC().
00085 {return gsfEle_->caloEnergy();}
int EgHLTOffEle::charge | ( | ) | const [inline] |
Definition at line 96 of file EgHLTOffEle.h.
References reco::Particle::charge(), and gsfEle_.
Referenced by MonElemFuncs::initStdEleCutHists(), and MonElemFuncs::initStdEleHists().
int EgHLTOffEle::classification | ( | ) | const [inline] |
Definition at line 93 of file EgHLTOffEle.h.
References reco::GsfElectron::classification(), and gsfEle_.
Referenced by EgHLTOffEleSel::getCutCode().
00093 {return gsfEle_->classification();}
int EgHLTOffEle::cutCode | ( | ) | const [inline] |
Definition at line 132 of file EgHLTOffEle.h.
References cutCode_.
Referenced by EgammaHLTOffline::beginJob(), EleHLTFilterMon::EleHLTFilterMon(), and MonElemFuncs::initStdEffHists().
00132 {return cutCode_;}
float EgHLTOffEle::dEtaIn | ( | ) | const [inline] |
Definition at line 105 of file EgHLTOffEle.h.
References reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), and gsfEle_.
Referenced by EgHLTOffEleSel::getCutCode(), and MonElemFuncs::initStdEleHists().
00105 {return gsfEle_->deltaEtaSuperClusterTrackAtVtx();}
float EgHLTOffEle::detEta | ( | ) | const [inline] |
Definition at line 87 of file EgHLTOffEle.h.
References etaSC().
Referenced by MonElemFuncs::initStdEleCutHists(), and MonElemFuncs::initStdEleHists().
00087 {return etaSC();}
float EgHLTOffEle::dPhiIn | ( | ) | const [inline] |
Definition at line 106 of file EgHLTOffEle.h.
References reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), and gsfEle_.
Referenced by EgHLTOffEleSel::getCutCode(), and MonElemFuncs::initStdEleHists().
00106 {return gsfEle_->deltaPhiSuperClusterTrackAtVtx();}
float EgHLTOffEle::dPhiOut | ( | ) | const [inline] |
Definition at line 107 of file EgHLTOffEle.h.
References reco::GsfElectron::deltaPhiSeedClusterTrackAtCalo(), and gsfEle_.
Referenced by EgHLTOffEleSel::getCutCode().
00107 {return gsfEle_->deltaPhiSeedClusterTrackAtCalo();}
float EgHLTOffEle::energy | ( | ) | const [inline] |
float EgHLTOffEle::epIn | ( | ) | const [inline] |
Definition at line 108 of file EgHLTOffEle.h.
References reco::GsfElectron::eSuperClusterOverP(), and gsfEle_.
Referenced by EgHLTOffEleSel::getCutCode().
00108 {return gsfEle_->eSuperClusterOverP();}
float EgHLTOffEle::epOut | ( | ) | const [inline] |
Definition at line 109 of file EgHLTOffEle.h.
References reco::GsfElectron::eSeedClusterOverPout(), and gsfEle_.
Referenced by EgHLTOffEleSel::getCutCode().
00109 {return gsfEle_->eSeedClusterOverPout();}
float EgHLTOffEle::et | ( | ) | const [inline] |
Definition at line 80 of file EgHLTOffEle.h.
References reco::Particle::et(), and gsfEle_.
Referenced by EleHLTFilterMon::EleHLTFilterMon(), EgHLTOffEleSel::getCutCode(), MonElemFuncs::initStdEleCutHists(), and MonElemFuncs::initStdEleHists().
float EgHLTOffEle::eta | ( | ) | const [inline] |
Definition at line 82 of file EgHLTOffEle.h.
References reco::Particle::eta(), and gsfEle_.
Referenced by EgTrigTagProbeCut::pass().
float EgHLTOffEle::etaSC | ( | ) | const [inline] |
Definition at line 86 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::superCluster().
Referenced by detEta(), EgHLTOffEleSel::getCutCode(), and sigmaEtaEta().
00086 {return gsfEle_->superCluster()->eta();}
float EgHLTOffEle::etSC | ( | ) | const [inline] |
Definition at line 84 of file EgHLTOffEle.h.
References caloEnergy(), gsfEle_, and reco::GsfElectron::superCluster().
Referenced by EgammaHLTOffline::beginJob(), and EgHLTOffEleSel::getCutCode().
00084 {return gsfEle_->superCluster()->position().rho()/gsfEle_->superCluster()->position().r()*caloEnergy();}
float EgHLTOffEle::hOverE | ( | ) | const [inline] |
Definition at line 104 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::hadronicOverEm().
Referenced by EgHLTOffEleSel::getCutCode(), and MonElemFuncs::initStdEleHists().
00104 {return gsfEle_->hadronicOverEm();}
float EgHLTOffEle::invEOverInvP | ( | ) | const [inline] |
Definition at line 120 of file EgHLTOffEle.h.
References reco::GsfElectron::caloEnergy(), gsfEle_, and reco::GsfElectron::trackMomentumAtVtx().
Referenced by EgHLTOffEleSel::getCutCode().
00120 {return 1./gsfEle_->caloEnergy() - 1./gsfEle_->trackMomentumAtVtx().R();}
float EgHLTOffEle::isolEm | ( | ) | const [inline] |
Definition at line 124 of file EgHLTOffEle.h.
References EgHLTOffEle::IsolData::em, and isolData_.
Referenced by EgHLTOffEleSel::getCutCode().
float EgHLTOffEle::isolHad | ( | ) | const [inline] |
Definition at line 125 of file EgHLTOffEle.h.
References EgHLTOffEle::IsolData::had, and isolData_.
Referenced by EgHLTOffEleSel::getCutCode().
float EgHLTOffEle::isolNrTrks | ( | ) | const [inline] |
Definition at line 126 of file EgHLTOffEle.h.
References isolData_, and EgHLTOffEle::IsolData::nrTrks.
Referenced by EgHLTOffEleSel::getCutCode().
float EgHLTOffEle::isolPtTrks | ( | ) | const [inline] |
Definition at line 127 of file EgHLTOffEle.h.
References isolData_, and EgHLTOffEle::IsolData::ptTrks.
Referenced by EgHLTOffEleSel::getCutCode().
const math::XYZTLorentzVector& EgHLTOffEle::p4 | ( | ) | const [inline] |
Definition at line 90 of file EgHLTOffEle.h.
References gsfEle_, and reco::Particle::p4().
Referenced by EgTagProbeCut< T >::pass(), and EgTrigTagProbeCut::pass().
float EgHLTOffEle::pCalo | ( | ) | const [inline] |
Definition at line 98 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::trackMomentumAtCalo().
Referenced by bremFrac().
00098 {return gsfEle_->trackMomentumAtCalo().R();}
float EgHLTOffEle::phi | ( | ) | const [inline] |
Definition at line 83 of file EgHLTOffEle.h.
References gsfEle_, and reco::Particle::phi().
Referenced by MonElemFuncs::initStdEleCutHists(), MonElemFuncs::initStdEleHists(), and EgTrigTagProbeCut::pass().
float EgHLTOffEle::phiSC | ( | ) | const [inline] |
Definition at line 88 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::superCluster().
00088 {return gsfEle_->superCluster()->phi();}
int EgHLTOffEle::probeCutCode | ( | ) | const [inline] |
Definition at line 131 of file EgHLTOffEle.h.
References probeCutCode_.
Referenced by EleHLTFilterMon::EleHLTFilterMon().
00131 {return probeCutCode_;}
float EgHLTOffEle::ptCalo | ( | ) | const [inline] |
Definition at line 100 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::trackMomentumAtCalo().
00100 {return gsfEle_->trackMomentumAtCalo().rho();}
float EgHLTOffEle::ptVtx | ( | ) | const [inline] |
Definition at line 99 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::trackMomentumAtVtx().
00099 {return gsfEle_->trackMomentumAtVtx().rho();}
float EgHLTOffEle::pVtx | ( | ) | const [inline] |
Definition at line 97 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::trackMomentumAtVtx().
Referenced by bremFrac().
00097 {return gsfEle_->trackMomentumAtVtx().R();}
Definition at line 76 of file EgHLTOffEle.h.
References cutCode_.
Referenced by EgHLTOffHelper::fillEgHLTOffEleVec().
Definition at line 75 of file EgHLTOffEle.h.
References probeCutCode_.
Referenced by EgHLTOffHelper::fillEgHLTOffEleVec().
00075 {probeCutCode_=code;}
Definition at line 74 of file EgHLTOffEle.h.
References tagCutCode_.
Referenced by EgHLTOffHelper::fillEgHLTOffEleVec().
00074 {tagCutCode_=code;}
void EgHLTOffEle::setTrigBits | ( | TrigCodes::TrigBitSet | bits | ) | [inline] |
float EgHLTOffEle::sigmaEtaEta | ( | ) | const |
Definition at line 3 of file EgHLTOffEle.cc.
References clusShapeData_, etaSC(), and EgHLTOffEle::ClusShapeData::sigmaEtaEta.
Referenced by EgHLTOffEleSel::getCutCode(), and MonElemFuncs::initStdEleHists().
00004 { 00005 if(fabs(etaSC())<1.479) return clusShapeData_.sigmaEtaEta; //barrel case, no correction 00006 else{ //endcap, need to apply eta correction 00007 return clusShapeData_.sigmaEtaEta - 0.02*( fabs(etaSC()) - 2.3); 00008 } 00009 00010 }
float EgHLTOffEle::sigmaEtaEtaUnCorr | ( | ) | const [inline] |
Definition at line 113 of file EgHLTOffEle.h.
References clusShapeData_, and EgHLTOffEle::ClusShapeData::sigmaEtaEta.
00113 {return clusShapeData_.sigmaEtaEta;}
float EgHLTOffEle::sigmaPhiPhi | ( | ) | const [inline] |
Definition at line 115 of file EgHLTOffEle.h.
References clusShapeData_, and EgHLTOffEle::ClusShapeData::sigmaPhiPhi.
00115 {return clusShapeData_.sigmaPhiPhi;}
int EgHLTOffEle::tagCutCode | ( | ) | const [inline] |
Definition at line 130 of file EgHLTOffEle.h.
References tagCutCode_.
Referenced by EleHLTFilterMon::EleHLTFilterMon().
00130 {return tagCutCode_;}
TrigCodes::TrigBitSet EgHLTOffEle::trigBits | ( | ) | const [inline] |
Definition at line 135 of file EgHLTOffEle.h.
References trigBits_.
Referenced by EleHLTFilterMon::fill().
00135 {return trigBits_;}
float EgHLTOffEle::zVtx | ( | ) | const [inline] |
Definition at line 89 of file EgHLTOffEle.h.
References gsfEle_, and reco::GsfElectron::TrackPositionAtVtx().
00089 {return gsfEle_->TrackPositionAtVtx().z();}
ClusShapeData EgHLTOffEle::clusShapeData_ [private] |
Definition at line 53 of file EgHLTOffEle.h.
Referenced by sigmaEtaEta(), sigmaEtaEtaUnCorr(), and sigmaPhiPhi().
int EgHLTOffEle::cutCode_ [private] |
const reco::GsfElectron* EgHLTOffEle::gsfEle_ [private] |
IsolData EgHLTOffEle::isolData_ [private] |
Definition at line 54 of file EgHLTOffEle.h.
Referenced by isolEm(), isolHad(), isolNrTrks(), and isolPtTrks().
int EgHLTOffEle::probeCutCode_ [private] |
int EgHLTOffEle::tagCutCode_ [private] |
TrigCodes::TrigBitSet EgHLTOffEle::trigBits_ [private] |