#include <ElectronIdentifier.h>
Public Member Functions | |
float | dEtaInSeed (const reco::GsfElectronPtr &ele) |
ElectronIdentifier (const edm::ParameterSet &c) | |
float | isolation (const reco::GsfElectronPtr &ele) |
bool | passID (const reco::GsfElectronPtr &ele, edm::Handle< reco::BeamSpot > beamspot, edm::Handle< reco::ConversionCollection > conversions) |
void | setID (std::string ID) |
void | setRho (double rho) |
Private Attributes | |
EffectiveAreas | _effectiveAreas |
std::array< std::array < std::array< double, 2 >, 4 >, 8 > | cuts_ |
int | ID_ |
double | rho_ |
Definition at line 40 of file ElectronIdentifier.h.
ElectronIdentifier::ElectronIdentifier | ( | const edm::ParameterSet & | c | ) |
Definition at line 24 of file ElectronIdentifier.cc.
References BARREL, CONVERSION, cuts_, DETAINSEED, DPHIIN, ENDCAP, HOVERE, ID_, ISO, LOOSE, MEDIUM, MISSINGHITS, ONEOVERE, rho_, SIGMAIETA, TIGHT, and VETO.
float ElectronIdentifier::dEtaInSeed | ( | const reco::GsfElectronPtr & | ele | ) |
Definition at line 132 of file ElectronIdentifier.cc.
References edm::Ptr< T >::isNonnull(), and SiStripPI::max.
Referenced by passID().
float ElectronIdentifier::isolation | ( | const reco::GsfElectronPtr & | ele | ) |
Definition at line 137 of file ElectronIdentifier.cc.
References _effectiveAreas, EffectiveAreas::getEffectiveArea(), SiStripPI::max, rho_, reco::GsfElectron::PflowIsolationVariables::sumChargedHadronPt, reco::GsfElectron::PflowIsolationVariables::sumNeutralHadronEt, and reco::GsfElectron::PflowIsolationVariables::sumPhotonEt.
Referenced by passID().
bool ElectronIdentifier::passID | ( | const reco::GsfElectronPtr & | ele, |
edm::Handle< reco::BeamSpot > | beamspot, | ||
edm::Handle< reco::ConversionCollection > | conversions | ||
) |
Definition at line 153 of file ElectronIdentifier.cc.
References funct::abs(), BARREL, cuts_, DETAINSEED, dEtaInSeed(), DPHIIN, ConversionTools::hasMatchedConversion(), HOVERE, ID_, ISO, isolation(), reco::HitPattern::MISSING_INNER_HITS, MISSINGHITS, ONEOVERE, HLT_FULL_cff::region, and SIGMAIETA.
Referenced by ZCounting::analyzeElectrons().
void ElectronIdentifier::setID | ( | std::string | ID | ) |
Definition at line 120 of file ElectronIdentifier.cc.
References ID_, LOOSE, MEDIUM, TIGHT, and VETO.
Referenced by ZCounting::ZCounting().
void ElectronIdentifier::setRho | ( | double | rho | ) |
Definition at line 111 of file ElectronIdentifier.cc.
References Exception, rho, and rho_.
Referenced by ZCounting::analyzeElectrons().
|
private |
Definition at line 57 of file ElectronIdentifier.h.
Referenced by isolation().
|
private |
Definition at line 55 of file ElectronIdentifier.h.
Referenced by ElectronIdentifier(), and passID().
|
private |
Definition at line 54 of file ElectronIdentifier.h.
Referenced by ElectronIdentifier(), passID(), and setID().
|
private |
Definition at line 53 of file ElectronIdentifier.h.
Referenced by ElectronIdentifier(), isolation(), and setRho().