Go to the documentation of this file.
20 #include <TLorentzVector.h>
25 : _effectiveAreas((
c.getParameter<
edm::FileInPath>(
"effAreasConfigFile")).
fullPath())
115 throw cms::Exception(
"ValueError") <<
"Encountered invalid value for energy density rho.\n"
116 <<
"Value: " <<
rho <<
"\n"
117 <<
"Rho should be a real, positive number.\n";
123 else if (
ID ==
"MEDIUM")
125 else if (
ID ==
"LOOSE")
127 else if (
ID ==
"VETO")
146 const float iso = chad +
std::max(0.0, nhad + pho -
rho_ * eA);
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
float deltaPhiSuperClusterTrackAtVtx() const
void setID(std::string ID)
double pt() const final
transverse momentum
float hadronicOverEm() const
ElectronIdentifier(const edm::ParameterSet &c)
std::array< std::array< std::array< double, 2 >, 4 >, 8 > cuts_
float sumPhotonEt
sum pt of PF photons // old float photonIso ;
float isolation(const reco::GsfElectronPtr &ele)
float dEtaInSeed(const reco::GsfElectronPtr &ele)
float deltaEtaSuperClusterTrackAtVtx() const
bool passID(const reco::GsfElectronPtr &ele, edm::Handle< reco::BeamSpot > beamspot, edm::Handle< reco::ConversionCollection > conversions)
float full5x5_sigmaIetaIeta() const
bool isNonnull() const
Checks for non-null.
float sumNeutralHadronEt
sum pt of neutral hadrons // old float neutralHadronIso ;
float eSuperClusterOverP() const
const float getEffectiveArea(float eta) const
EffectiveAreas _effectiveAreas
SuperClusterRef superCluster() const override
reference to a SuperCluster
Abs< T >::type abs(const T &t)
const PflowIsolationVariables & pfIsolationVariables() const
float sumChargedHadronPt
sum-pt of charged Hadron // old float chargedHadronIso ;