395 r9(-std::numeric_limits<float>::
max()),
437 return (!(depth > 0 and depth < 8)) ? std::accumulate(
std::begin(hovere),
std::end(hovere), 0.
f)
454 return (!(depth > 0 and depth < 8)) ? std::accumulate(
std::begin(hovere),
std::end(hovere), 0.
f)
572 return (!(depth > 0 and depth < 8)) ? std::accumulate(
std::begin(hcaliso),
std::end(hcaliso), 0.
f)
573 : hcaliso[depth - 1];
589 return (!(depth > 0 and depth < 8)) ? std::accumulate(
std::begin(hcaliso),
std::end(hcaliso), 0.
f)
590 : hcaliso[depth - 1];
636 dist(std::numeric_limits<float>::
max()),
637 dcot(std::numeric_limits<float>::
max()),
638 radius(std::numeric_limits<float>::
max()),
const PflowIsolationVariables & pfIsolationVariables() const
CaloCluster_iterator basicClustersEnd() const
float dr03HcalTowerSumEtBc(int depth=0) const
float sigmaIphiIphi() const
CaloClusterPtr electronCluster() const
void setDr04Isolation(const IsolationVariables &dr04)
const ShowerShape & showerShape() const
float dPhi1
Pixel match variable: deltaPhi for innermost hit.
float full5x5_eLeft() const
unsigned char subdetectors
Subdetectors for first and second pixel hit.
void setTrackFbrem(float fbrem)
std::array< float, 7 > hcalRecHitSumEt
PixelMatchVariables pixelMatchVariables_
void setP4(P4Kind kind, const LorentzVector &p4, float p4Error, bool setCandidate)
float nSaturatedXtals() const
const edm::EventSetup & c
void setPassCutBasedPreselection(bool flag)
virtual TrackRef closestCtfTrackRef() const
float trackMomentumError() const
bool isNonnull() const
Checks for non-null.
void setFFlagIsEE(const bool b)
void setPixelMatchDRz2(float dRz2)
float scSigmaEtaEta() const
void setCore(const reco::GsfElectronCoreRef &core)
bool isEcalEnergyCorrected
const Corrections & corrections() const
virtual SuperClusterRef parentSuperCluster() const
float hcalOverEcalBc(int depth=0) const
float eSuperClusterOverP() const
float dRz2
Pixel match variable: deltaRz for second hit.
P4Kind candidateP4Kind() const
const TrackExtrapolations & trackExtrapolations() const
float full5x5_e5x5() const
void setPixelMatchDPhi1(float dPhi1)
math::XYZVectorF trackMomentumAtVtxWithConstraint() const
float dnn_bkg_Photon() const
float hcalTowerSumEtBc(const IsolationVariables &iv, int depth) const
const IsolationVariables & isolationVariables03() const
float correctedEcalEnergy
float mvaByPassForIsolated
float full5x5_e1x5() const
const SaturationInfo & saturationInfo() const
float pixelMatchDRz2() const
float correctedEcalEnergyError
void correctMomentum(const LorentzVector &p4, float trackMomentumError, float p4Error)
std::array< float, 7 > hcalRecHitSumEtBc
math::XYZVectorF trackMomentumAtVtx() const
ConversionRejection conversionRejection_
float fromSuperClusterP4Error
void setMvaInput(const MvaInput &mi)
static constexpr float mvaPlaceholder
void setSaturationInfo(const SaturationInfo &s)
float sumPUPt
sum pt of charged Particles not from PV (for Pu corrections)
float p4Error(P4Kind kind) const
float dr03HcalTowerSumEt(int depth=0) const
float full5x5_sigmaIphiIphi() const
float dnn_bkg_Tau() const
void setShowerShape(const ShowerShape &s)
float isSeedSaturated() const
float dr04TkSumPt() const
float hcalTowerSumEt(const IsolationVariables &iv, int depth) const
float pixelMatchDPhi2() const
SaturationInfo saturationInfo_
bool overlap(const Candidate &) const override
check overlap with another candidate
float sumNeutralHadronEtHighThreshold
sum pt of neutral hadrons with a higher threshold
bool passingCutBasedPreselection() const
float deltaEtaSuperClusterAtVtx
bool passingMvaPreselection() const
GsfElectron * clone() const override
returns a clone of the Candidate object
float deltaPhiSuperClusterAtVtx
float sumChargedParticlePt
sum-pt of charged Particles(inludes e/mu)
const std::vector< CaloTowerDetId > & hcalTowersBehindClusters() const
void setAmbiguous(bool flag)
GsfTrackRefVector ambiguousGsfTracks_
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float > > XYZPointF
point in space with cartesian internal representation
void setConversionRejectionVariables(const ConversionRejection &convRej)
float hcalDepth1TowerSumEt
int basicClustersSize() const
float dr03TkSumPtHEEP() const
void setPfIsolationVariables(const PflowIsolationVariables &iso)
math::XYZPointF TrackPositionAtVtx() const
float hcalDepth1TowerSumEtBc
void setDr03Isolation(const IsolationVariables &dr03)
void setMvaOutput(const MvaOutput &mo)
auto const & ambiguousGsfTracks() const
const IsolationVariables & dr04IsolationVariables() const
const ClassificationVariables & classificationVariables() const
const LorentzVector & p4() const final
four-momentum Lorentz vector
float superClusterFbrem() const
bool isEcalEnergyCorrected() const
float hcalOverEcal(int depth=0) const
void setPixelMatchSubdetectors(int sd1, int sd2)
virtual reco::TrackRef track() const
reference to a Track
KeyVec::size_type size_type
void setSuperClusterFbrem(float fbrem)
int closestCtfTrackNLayers() const
float full5x5_sigmaIetaIeta() const
CaloClusterPtr electronCluster
void clearAmbiguousGsfTracks()
void setFFlagIsEBEEGap(const bool b)
bool isGsfScPixChargeConsistent() const
int pixelMatchSubdetector1() const
const IsolationVariables & isolationVariables04() const
bool isGsfCtfScPixConsistent
float full5x5_e2x5Top() const
void setFFlagIsEBEtaGap(const bool b)
PflowIsolationVariables pfIso_
float hcalOverEcalBc(const ShowerShape &ss, int depth) const
math::XYZVectorF trackMomentumAtCalo() const
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
std::array< float, 7 > hcalOverEcal
bool isGsfCtfChargeConsistent() const
float pixelMatchDPhi1() const
float deltaEtaSuperClusterTrackAtVtx() const
void setFFlagIsEERingGap(const bool b)
float dPhi2
Pixel match variable: deltaPhi for second hit.
void setCorrectedEcalEnergyError(float newEnergyError)
float sigmaIetaIeta() const
float hadronicOverEm() const
float eSeedClusterOverPout
float eSeedClusterOverP() const
bool isElectron() const override
float dnn_e_sigNonIsolated
float dr04EcalRecHitSumEt() const
FiducialFlags fiducialFlags_
float closestCtfTrackNormChi2() const
float deltaPhiSeedClusterTrackAtCalo() const
const MvaInput & mvaInput() const
float sumPhotonEtHighThreshold
sum pt of PF photons with a higher threshold
float full5x5_sigmaEtaEta() const
ClassificationVariables()
math::XYZVectorF trackMomentumOut() const
float sumPhotonEt
sum pt of PF photons // old float photonIso ;
float deltaPhiSuperClusterTrackAtVtx() const
int numberOfBrems() const
static constexpr float kDefaultValue
void setPassMvaPreselection(bool flag)
float dr03TkSumPt() const
math::XYZPointF trackPositionAtCalo() const
void setFFlagIsEBPhiGap(const bool b)
std::vector< CaloTowerDetId > hcalTowersBehindClusters
float deltaEtaSeedClusterAtCalo
math::XYZTLorentzVector LorentzVector
math::XYZPointF TrackPositionAtCalo() const
float eEleClusterOverPout() const
float sumNeutralHadronEt
sum pt of neutral hadrons // old float neutralHadronIso ;
float dnn_signal_Isolated() const
float eSeedClusterOverPout() const
void setFFlagIsEB(const bool b)
float hcalPFClusterIso() const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float > > XYZVectorF
spatial vector with cartesian internal representation
int pixelMatchSubdetector2() const
float full5x5_hcalOverEcal(int depth=0) const
float scSigmaIEtaIEta() const
float pixelMatchDRz1() const
void setIsolation04(const IsolationVariables &dr04)
float ecalEnergyError() const
float deltaPhiEleClusterTrackAtCalo() const
void setDeltaPhiSuperClusterAtVtx(float dphi)
bool isEnergyScaleCorrected() const
void setEcalEnergyError(float energyError)
void setTrackMomentumError(float trackMomentumError)
math::XYZPoint superClusterPosition() const
float deltaEtaSeedClusterTrackAtVtx() const
void correctEcalEnergy(float newEnergy, float newEnergyError, bool corrEovP=true)
float dr04TkSumPtHEEP() const
float hcalDepth2TowerSumEtBc
float shFracInnerHits() const
float correctedEcalEnergy() const
void setPixelMatchDPhi2(float dPhi2)
ClassificationVariables classVariables_
ShowerShape full5x5_showerShape_
TrackBaseRef convPartner() const
float full5x5_e2x5Bottom() const
const ChargeInfo & chargeInfo() const
bool isGsfScPixConsistent
float full5x5_e2x5Max() const
float hcalDepth2TowerSumEt
CaloCluster_iterator basicClustersBegin() const
void clear()
Clear the vector.
float deltaEtaEleClusterTrackAtCalo() const
void setClassification(Classification myclass)
XYZPointD XYZPoint
point in space with cartesian internal representation
Classification classification() const
const MvaOutput & mvaOutput() const
math::XYZPoint caloPosition() const
GsfTrackRefVector::size_type ambiguousGsfTracksSize() const
float full5x5_eBottom() const
bool closestCtfTrackRefValid() const
float full5x5_eTop() const
float dnn_signal_nonIsolated() const
float ecalPFClusterIso() const
float hcalDepth2OverEcalBc
math::XYZTLorentzVector LorentzVector
Lorentz vector.
virtual GsfElectronCoreRef core() const
std::array< float, 7 > hcalOverEcalBc
float mva_Isolated() const
float deltaEtaEleClusterAtCalo
float dr03EcalRecHitSumEt() const
math::XYZVectorF trackMomentumAtEleClus() const
bool full5x5_hcalOverEcalValid() const
float correctedEcalEnergyError() const
float hcalDepth1OverEcalBc
void setCorrectedEcalEnergy(float newEnergy)
void setIsolation03(const IsolationVariables &dr03)
float deltaEtaSeedClusterTrackAtCalo() const
const ShowerShape & full5x5_showerShape() const
void setTrackExtrapolations(const TrackExtrapolations &te)
const IsolationVariables & dr03IsolationVariables() const
float eEleClusterOverPout
math::XYZPointF trackPositionAtVtx() const
float dr04HcalTowerSumEtBc(int depth=0) const
float full5x5_eRight() const
float deltaPhiEleClusterAtCalo
bool isGsfCtfScPixChargeConsistent() const
float hcalOverEcal(const ShowerShape &ss, int depth) const
ClosestCtfTrack(TrackRef track, float sh)
const TrackClusterMatching & trackClusterMatching() const
float convVtxFitProb() const
bool trackerDrivenSeed() const
bool hcalOverEcalValid() const
void setPassPflowPreselection(bool flag)
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
size_type size() const
Size of the RefVector.
float dnn_e_bkgNonIsolated
float deltaPhiSeedClusterAtCalo
float full5x5_hcalOverEcalBc(int depth=0) const
const ConversionRejection & conversionRejectionVariables() const
void setDeltaEtaSuperClusterAtVtx(float de)
float dRz1
Pixel match variable: deltaRz for innermost hit.
void setCorrections(const Corrections &c)
void setClassificationVariables(const ClassificationVariables &cv)
TrackClusterMatching trackClusterMatching_
bool passCutBasedPreselection_
float dr04HcalTowerSumEt(int depth=0) const
void addAmbiguousGsfTrack(const reco::GsfTrackRef &t)
float sumChargedHadronPt
sum-pt of charged Hadron // old float chargedHadronIso ;
void full5x5_setShowerShape(const ShowerShape &s)
TrackExtrapolations trackExtrapolations_
float full5x5_e2x5Right() const
void setFFlagIsEEDeeGap(const bool b)
bool passPflowPreselection_
float ctfGsfOverlap() const
const FiducialFlags & fiducialFlags() const
void setP4(const LorentzVector &p4) final
set 4-momentum
void setPixelMatchDRz1(float dRz1)
LorentzVector fromSuperClusterP4
SuperClusterRef superCluster() const override
reference to a SuperCluster
PflowIsolationVariables()
virtual ClosestCtfTrack closestCtfTrack() const
int charge() const final
electric charge
float sigmaEtaEta() const
float full5x5_e2x5Left() const
float dnn_bkg_nonIsolated() const
bool ecalDrivenSeed() const
void hcalToRun2EffDepth()
bool passingPflowPreselection() const