20 #include <boost/foreach.hpp> 21 #include <TLorentzVector.h> 26 _effectiveAreas( (c.getParameter<
edm::FileInPath>(
"effAreasConfigFile")).fullPath())
117 <<
"Encountered invalid value for energy density rho.\n" 118 <<
"Value: " << rho <<
"\n" 119 <<
"Rho should be a real, positive number.\n";
142 const float iso = chad +
std::max(0.0, nhad + pho -
rho_*eA);
const PflowIsolationVariables & pfIsolationVariables() const
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
float dEtaInSeed(const reco::GsfElectronPtr &ele)
bool isNonnull() const
Checks for non-null.
float eSuperClusterOverP() const
std::array< std::array< std::array< double, 2 >, 4 >, 8 > cuts_
double pt() const final
transverse momentum
const float getEffectiveArea(float eta) const
float full5x5_sigmaIetaIeta() const
EffectiveAreas _effectiveAreas
float deltaEtaSuperClusterTrackAtVtx() const
float hadronicOverEm() const
float sumPhotonEt
sum pt of PF photons // old float photonIso ;
float deltaPhiSuperClusterTrackAtVtx() const
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)
void setID(std::string ID)
SuperClusterRef superCluster() const override
reference to a SuperCluster
const Point & position() const
position
float isolation(const reco::GsfElectronPtr &ele)
float sumChargedHadronPt
sum-pt of charged Hadron // old float chargedHadronIso ;