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);
float dEtaInSeed(const reco::GsfElectronPtr &ele)
double pt() const final
transverse momentum
bool isNonnull() const
Checks for non-null.
float eSuperClusterOverP() const
EffectiveAreas _effectiveAreas
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
const PflowIsolationVariables & pfIsolationVariables() const
float sumPhotonEt
sum pt of PF photons // old float photonIso ;
bool passID(const reco::GsfElectronPtr &ele, edm::Handle< reco::BeamSpot > beamspot, edm::Handle< reco::ConversionCollection > conversions)
Abs< T >::type abs(const T &t)
float sumNeutralHadronEt
sum pt of neutral hadrons // old float neutralHadronIso ;
ElectronIdentifier(const edm::ParameterSet &c)
const float getEffectiveArea(float eta) const
float deltaPhiSuperClusterTrackAtVtx() const
float deltaEtaSuperClusterTrackAtVtx() const
void setID(std::string ID)
float isolation(const reco::GsfElectronPtr &ele)
float full5x5_sigmaIetaIeta() const
float sumChargedHadronPt
sum-pt of charged Hadron // old float chargedHadronIso ;
float hadronicOverEm() const
SuperClusterRef superCluster() const override
reference to a SuperCluster
std::array< std::array< std::array< double, 2 >, 4 >, 8 > cuts_