![]() |
![]() |
#include <GsfElectron.h>
Definition at line 39 of file GsfElectron.h.
GsfElectron::GsfElectron | ( | ) |
Definition at line 8 of file GsfElectron.cc.
Referenced by clone().
: passCutBasedPreselection_(false), passMvaPreslection_(false), ambiguous_(true), mva_(-999999999), fbrem_(0), class_(UNKNOWN) {}
GsfElectron::GsfElectron | ( | const GsfElectronCoreRef & | core | ) |
Definition at line 12 of file GsfElectron.cc.
: core_(core), passCutBasedPreselection_(false), passMvaPreslection_(false), ambiguous_(true), mva_(-999999999), fbrem_(0), class_(UNKNOWN) {}
GsfElectron::GsfElectron | ( | const GsfElectron & | electron, |
const GsfElectronCoreRef & | core | ||
) |
Definition at line 42 of file GsfElectron.cc.
: RecoCandidate(electron), chargeInfo_(electron.chargeInfo_), core_(core), trackClusterMatching_(electron.trackClusterMatching_), trackExtrapolations_(electron.trackExtrapolations_), closestCtfTrack_(electron.closestCtfTrack_), ambiguousGsfTracks_(electron.ambiguousGsfTracks_), fiducialFlags_(electron.fiducialFlags_), showerShape_(electron.showerShape_), dr03_(electron.dr03_), dr04_(electron.dr04_), conversionRejection_(electron.conversionRejection_), passCutBasedPreselection_(electron.passCutBasedPreselection_), passMvaPreslection_(electron.passMvaPreslection_), ambiguous_(electron.ambiguous_), mva_(electron.mva_), fbrem_(electron.fbrem_), class_(electron.class_), corrections_(electron.corrections_) { }
GsfElectron::GsfElectron | ( | const GsfElectron & | electron, |
const GsfElectronCoreRef & | core, | ||
const CaloClusterPtr & | electronCluster, | ||
const TrackRef & | closestCtfTrack, | ||
const TrackBaseRef & | conversionPartner, | ||
const GsfTrackRefVector & | ambiguousTracks | ||
) |
Definition at line 66 of file GsfElectron.cc.
: RecoCandidate(electron), chargeInfo_(electron.chargeInfo_), core_(core), trackClusterMatching_(electron.trackClusterMatching_), trackExtrapolations_(electron.trackExtrapolations_), closestCtfTrack_(electron.closestCtfTrack_), ambiguousGsfTracks_(ambiguousTracks), fiducialFlags_(electron.fiducialFlags_), showerShape_(electron.showerShape_), dr03_(electron.dr03_), dr04_(electron.dr04_), conversionRejection_(electron.conversionRejection_), passCutBasedPreselection_(electron.passCutBasedPreselection_), passMvaPreslection_(electron.passMvaPreslection_), ambiguous_(electron.ambiguous_), mva_(electron.mva_), fbrem_(electron.fbrem_), class_(electron.class_), corrections_(electron.corrections_) { trackClusterMatching_.electronCluster = electronCluster ; closestCtfTrack_.ctfTrack = closestCtfTrack ; conversionRejection_.partner = conversionPartner ; // TO BE DONE // Check that the new edm references are really // to clones of the former references, and therefore other attributes // stay valid : // * electron.core_ ~ core ? // * electron.trackClusterMatching_.electronCluster ~ electronCluster ? // * electron.closestCtfTrack_.ctfTrack ~ closestCtfTrack ? // * electron.ambiguousGsfTracks_ ~ ambiguousTracks ? }
GsfElectron::GsfElectron | ( | const LorentzVector & | p4, |
int | charge, | ||
const ChargeInfo & | chargeInfo, | ||
const GsfElectronCoreRef & | core, | ||
const TrackClusterMatching & | tcm, | ||
const TrackExtrapolations & | te, | ||
const ClosestCtfTrack & | ctfInfo, | ||
const FiducialFlags & | ff, | ||
const ShowerShape & | ss, | ||
const ConversionRejection & | crv, | ||
float | fbrem | ||
) |
Definition at line 17 of file GsfElectron.cc.
References reco::GsfElectron::TrackExtrapolations::positionAtVtx.
: chargeInfo_(chargeInfo), core_(core), trackClusterMatching_(tcm), trackExtrapolations_(te), closestCtfTrack_(ctfInfo), fiducialFlags_(ff), showerShape_(ss), conversionRejection_(crv), passCutBasedPreselection_(false), passMvaPreslection_(false), ambiguous_(true), mva_(-999999999), fbrem_(fbrem), class_(UNKNOWN) { setCharge(charge) ; setP4(p4) ; setVertex(te.positionAtVtx) ; setPdgId(-11*charge) ; /*if (ecalDrivenSeed())*/ corrections_.ecalEnergy = superCluster()->energy() ; }
virtual reco::GsfElectron::~GsfElectron | ( | ) | [inline, virtual] |
Definition at line 101 of file GsfElectron.h.
{} ;
void reco::GsfElectron::addAmbiguousGsfTrack | ( | const reco::GsfTrackRef & | t | ) | [inline] |
Definition at line 301 of file GsfElectron.h.
References ambiguousGsfTracks_, and edm::RefVector< C, T, F >::push_back().
{ ambiguousGsfTracks_.push_back(t) ; }
bool reco::GsfElectron::ambiguous | ( | ) | const [inline] |
GsfTrackRefVector::const_iterator reco::GsfElectron::ambiguousGsfTracksBegin | ( | ) | const [inline] |
Definition at line 296 of file GsfElectron.h.
References ambiguousGsfTracks_, and edm::RefVector< C, T, F >::begin().
{ return ambiguousGsfTracks_.begin() ; }
GsfTrackRefVector::const_iterator reco::GsfElectron::ambiguousGsfTracksEnd | ( | ) | const [inline] |
Definition at line 297 of file GsfElectron.h.
References ambiguousGsfTracks_, and edm::RefVector< C, T, F >::end().
{ return ambiguousGsfTracks_.end() ; }
GsfTrackRefVector::size_type reco::GsfElectron::ambiguousGsfTracksSize | ( | ) | const [inline] |
Definition at line 295 of file GsfElectron.h.
References ambiguousGsfTracks_, and edm::RefVector< C, T, F >::size().
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), and GsfElectronFakeAnalyzer::analyze().
{ return ambiguousGsfTracks_.size() ; }
CaloCluster_iterator reco::GsfElectron::basicClustersBegin | ( | ) | const [inline] |
Definition at line 271 of file GsfElectron.h.
References superCluster().
{ return superCluster()->clustersBegin() ; }
CaloCluster_iterator reco::GsfElectron::basicClustersEnd | ( | ) | const [inline] |
Definition at line 272 of file GsfElectron.h.
References superCluster().
{ return superCluster()->clustersEnd() ; }
int reco::GsfElectron::basicClustersSize | ( | ) | const [inline] |
Definition at line 270 of file GsfElectron.h.
References superCluster().
Referenced by numberOfBrems().
{ return superCluster()->clustersSize() ; } // number of basic clusters inside the supercluster
float reco::GsfElectron::caloEnergy | ( | ) | const [inline] |
Definition at line 595 of file GsfElectron.h.
References ecalEnergy().
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), pat::CaloIsolationEnergy::calculate(), egHLT::OffEle::caloEnergy(), pat::ElectronSelector::customSelection_(), EgammaObjects::findRecoMass(), egHLT::OffEle::invEInvP(), and PTDRElectronID::result().
{ return ecalEnergy() ; }
math::XYZPoint reco::GsfElectron::caloPosition | ( | ) | const [inline] |
Definition at line 275 of file GsfElectron.h.
References superCluster().
Referenced by FWElectronDetailView::addSceneInfo(), FWElectronDetailView::addTrackPointsInCaloData(), FWElectronDetailView::build(), ElectronEnergyCorrector::correct(), FWElectronDetailView::drawCrossHair(), and EgammaObjects::findRecoMass().
{ return superCluster()->position() ; }
const ChargeInfo& reco::GsfElectron::chargeInfo | ( | ) | const [inline] |
Classification reco::GsfElectron::classification | ( | ) | const [inline] |
Definition at line 530 of file GsfElectron.h.
References class_.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), egHLT::OffEle::classification(), ElectronEnergyCorrector::correct(), ElectronMomentumCorrector::correct(), ZeePlots::fillEleClassesPlots(), ZeeCalibration::getEtaCorrection(), PTDRElectronID::result(), and ClassBasedElectronID::result().
{ return class_ ; }
void reco::GsfElectron::classifyElectron | ( | Classification | myclass | ) | [inline] |
Definition at line 533 of file GsfElectron.h.
References class_.
Referenced by ElectronClassification::correct().
{ class_ = myclass ; }
void reco::GsfElectron::clearAmbiguousGsfTracks | ( | ) | [inline] |
Definition at line 300 of file GsfElectron.h.
References ambiguousGsfTracks_, and edm::RefVector< C, T, F >::clear().
{ ambiguousGsfTracks_.clear() ; }
GsfElectron * GsfElectron::clone | ( | const GsfElectronCoreRef & | core, |
const CaloClusterPtr & | electronCluster, | ||
const TrackRef & | closestCtfTrack, | ||
const TrackBaseRef & | conversionPartner, | ||
const GsfTrackRefVector & | ambiguousTracks | ||
) | const |
Definition at line 117 of file GsfElectron.cc.
{ return new GsfElectron(*this,core,electronCluster,closestCtfTrack,conversionPartner,ambiguousTracks) ; }
GsfElectron * GsfElectron::clone | ( | void | ) | const [virtual] |
returns a clone of the Candidate object
Reimplemented from reco::RecoCandidate.
Reimplemented in pat::Electron, and pat::Lepton< reco::GsfElectron >.
Definition at line 113 of file GsfElectron.cc.
References GsfElectron().
{ return new GsfElectron(*this) ; }
const ClosestCtfTrack& reco::GsfElectron::closestCtfTrack | ( | ) | const [inline] |
Definition at line 294 of file GsfElectron.h.
References closestCtfTrack_.
{ return closestCtfTrack_ ; }
TrackRef reco::GsfElectron::closestCtfTrackRef | ( | ) | const [inline] |
Definition at line 292 of file GsfElectron.h.
References closestCtfTrack_, and reco::GsfElectron::ClosestCtfTrack::ctfTrack.
Referenced by egHLT::OffEle::ctfTrack(), egHLT::OffHelper::fillHLTData(), ConversionFinder::getConversionInfo(), ConversionFinder::getElectronTrack(), and egHLT::OffEle::validCTFTrack().
{ return closestCtfTrack_.ctfTrack ; } // get the CTF track best matching the GTF associated to this electron
float reco::GsfElectron::convDcot | ( | ) | const [inline] |
Definition at line 479 of file GsfElectron.h.
References conversionRejection_, and reco::GsfElectron::ConversionRejection::dcot.
Referenced by CutBasedElectronID::cicSelection(), CutBasedElectronID::robustSelection(), and SimpleCutBasedElectronIDSelectionFunctor::spring10Variables().
{ return conversionRejection_.dcot ; }
float reco::GsfElectron::convDist | ( | ) | const [inline] |
Definition at line 478 of file GsfElectron.h.
References conversionRejection_, and reco::GsfElectron::ConversionRejection::dist.
Referenced by CutBasedElectronID::cicSelection(), CutBasedElectronID::robustSelection(), and SimpleCutBasedElectronIDSelectionFunctor::spring10Variables().
{ return conversionRejection_.dist ; }
const ConversionRejection& reco::GsfElectron::conversionRejectionVariables | ( | ) | const [inline] |
Definition at line 481 of file GsfElectron.h.
References conversionRejection_.
{ return conversionRejection_ ; }
int reco::GsfElectron::convFlags | ( | ) | const [inline] |
Definition at line 476 of file GsfElectron.h.
References conversionRejection_, and reco::GsfElectron::ConversionRejection::flags.
{ return conversionRejection_.flags ; }
TrackBaseRef reco::GsfElectron::convPartner | ( | ) | const [inline] |
Definition at line 477 of file GsfElectron.h.
References conversionRejection_, and reco::GsfElectron::ConversionRejection::partner.
{ return conversionRejection_.partner ; }
float reco::GsfElectron::convRadius | ( | ) | const [inline] |
Definition at line 480 of file GsfElectron.h.
References conversionRejection_, and reco::GsfElectron::ConversionRejection::radius.
{ return conversionRejection_.radius ; }
virtual GsfElectronCoreRef reco::GsfElectron::core | ( | ) | const [inline, virtual] |
Reimplemented in pat::Electron.
Definition at line 163 of file GsfElectron.h.
References core_.
Referenced by helper::GsfElectronCollectionStoreManager::cloneAndStore(), GsfElectronAlgo::createElectron(), ecalDrivenSeed(), pat::Electron::embedGsfElectronCore(), ConversionFinder::getConversionInfo(), gsfTrack(), pflowSuperCluster(), GsfElectronAlgo::setCutBasedPreselectionFlag(), GsfElectronAlgo::setMvaPreselectionFlag(), superCluster(), and trackerDrivenSeed().
{ return core_ ; }
void GsfElectron::correctEcalEnergy | ( | float | newEnergy, |
float | newEnergyError | ||
) |
Definition at line 137 of file GsfElectron.cc.
References corrections_, reco::GsfElectron::Corrections::ecalEnergy, reco::GsfElectron::Corrections::ecalEnergyError, reco::GsfElectron::TrackClusterMatching::eEleClusterOverPout, reco::GsfElectron::TrackClusterMatching::eSeedClusterOverP, reco::GsfElectron::TrackClusterMatching::eSuperClusterOverP, reco::GsfElectron::ShowerShape::hcalDepth1OverEcal, reco::GsfElectron::ShowerShape::hcalDepth2OverEcal, reco::GsfElectron::Corrections::isEcalEnergyCorrected, reco::LeafCandidate::momentum(), reco::LeafCandidate::p4(), reco::LeafCandidate::setP4(), showerShape_, trackClusterMatching_, and funct::true.
Referenced by ElectronEnergyCorrector::correct().
{ math::XYZTLorentzVectorD momentum = p4() ; momentum *= newEnergy/momentum.e() ; setP4(momentum) ; showerShape_.hcalDepth1OverEcal *= corrections_.ecalEnergy/newEnergy ; showerShape_.hcalDepth2OverEcal *= corrections_.ecalEnergy/newEnergy ; trackClusterMatching_.eSuperClusterOverP *= newEnergy/corrections_.ecalEnergy ; trackClusterMatching_.eSeedClusterOverP *= newEnergy/corrections_.ecalEnergy ; trackClusterMatching_.eEleClusterOverPout *= newEnergy/corrections_.ecalEnergy ; corrections_.ecalEnergy = newEnergy ; corrections_.ecalEnergyError = newEnergyError ; corrections_.isEcalEnergyCorrected = true ; }
const Corrections& reco::GsfElectron::corrections | ( | ) | const [inline] |
void GsfElectron::correctMomentum | ( | const LorentzVector & | momentum, |
float | trackMomentumError, | ||
float | electronMomentumError | ||
) |
Definition at line 153 of file GsfElectron.cc.
References funct::true.
Referenced by ElectronMomentumCorrector::correct().
{ setP4(momentum) ; corrections_.trackMomentumError = trackErr ; corrections_.electronMomentumError = electronErr ; corrections_.isMomentumCorrected = true ; }
float reco::GsfElectron::deltaEtaEleClusterTrackAtCalo | ( | ) | const [inline] |
Definition at line 207 of file GsfElectron.h.
References reco::GsfElectron::TrackClusterMatching::deltaEtaEleClusterAtCalo, and trackClusterMatching_.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), and GsfElectronFakeAnalyzer::analyze().
{ return trackClusterMatching_.deltaEtaEleClusterAtCalo ; }
float reco::GsfElectron::deltaEtaSeedClusterTrackAtCalo | ( | ) | const [inline] |
Definition at line 206 of file GsfElectron.h.
References reco::GsfElectron::TrackClusterMatching::deltaEtaSeedClusterAtCalo, and trackClusterMatching_.
Referenced by FWElectronDetailView::addTrackPointsInCaloData(), ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), egHLT::OffEle::dEtaOut(), FWElectronDetailView::drawCrossHair(), and FWElectronDetailView::setTextInfo().
{ return trackClusterMatching_.deltaEtaSeedClusterAtCalo ; }
float reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx | ( | ) | const [inline] |
Definition at line 205 of file GsfElectron.h.
References reco::GsfElectron::TrackClusterMatching::deltaEtaSuperClusterAtVtx, and trackClusterMatching_.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), EwkElecDQM::analyze(), GsfElectronFakeAnalyzer::analyze(), CutBasedElectronID::cicSelection(), pat::ElectronSelector::customSelection_(), FWElectronDetailView::deltaEtaSuperClusterTrackAtVtx(), egHLT::OffEle::dEtaIn(), ElectronLikelihood::getInputVar(), passesElectronId(), passesElectronPreId(), PTDRElectronID::result(), ClassBasedElectronID::result(), ZeePlots::ReturnCandVar(), WenuPlots::ReturnCandVar(), CutBasedElectronID::robustSelection(), GsfElectronAlgo::setCutBasedPreselectionFlag(), FWElectronDetailView::setTextInfo(), and SimpleCutBasedElectronIDSelectionFunctor::spring10Variables().
{ return trackClusterMatching_.deltaEtaSuperClusterAtVtx ; }
float reco::GsfElectron::deltaPhiEleClusterTrackAtCalo | ( | ) | const [inline] |
Definition at line 210 of file GsfElectron.h.
References reco::GsfElectron::TrackClusterMatching::deltaPhiEleClusterAtCalo, and trackClusterMatching_.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), and GsfElectronFakeAnalyzer::analyze().
{ return trackClusterMatching_.deltaPhiEleClusterAtCalo ; }
float reco::GsfElectron::deltaPhiSeedClusterTrackAtCalo | ( | ) | const [inline] |
Definition at line 209 of file GsfElectron.h.
References reco::GsfElectron::TrackClusterMatching::deltaPhiSeedClusterAtCalo, and trackClusterMatching_.
Referenced by FWElectronDetailView::addTrackPointsInCaloData(), ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), pat::ElectronSelector::customSelection_(), egHLT::OffEle::dPhiOut(), FWElectronDetailView::drawCrossHair(), PTDRElectronID::result(), and FWElectronDetailView::setTextInfo().
{ return trackClusterMatching_.deltaPhiSeedClusterAtCalo ; }
float reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx | ( | ) | const [inline] |
Definition at line 208 of file GsfElectron.h.
References reco::GsfElectron::TrackClusterMatching::deltaPhiSuperClusterAtVtx, and trackClusterMatching_.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), CutBasedElectronID::cicSelection(), pat::ElectronSelector::customSelection_(), FWElectronDetailView::deltaPhiSuperClusterTrackAtVtx(), egHLT::OffEle::dPhiIn(), ElectronLikelihood::getInputVar(), passesElectronId(), passesElectronPreId(), PTDRElectronID::result(), ClassBasedElectronID::result(), ZeePlots::ReturnCandVar(), WenuPlots::ReturnCandVar(), CutBasedElectronID::robustSelection(), GsfElectronAlgo::setCutBasedPreselectionFlag(), FWElectronDetailView::setTextInfo(), and SimpleCutBasedElectronIDSelectionFunctor::spring10Variables().
{ return trackClusterMatching_.deltaPhiSuperClusterAtVtx ; }
float reco::GsfElectron::dr03EcalRecHitSumEt | ( | ) | const [inline] |
Definition at line 423 of file GsfElectron.h.
References dr03_, and reco::GsfElectron::IsolationVariables::ecalRecHitSumEt.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), EwkElecDQM::analyze(), GsfElectronFakeAnalyzer::analyze(), WZInterestingEventSelector::electronSelection(), EwkElecTauHistManager::fillHistograms(), egHLT::OffHelper::fillIsolData(), ElectronVPlusJetsIDSelectionFunctor::firstDataCuts(), CutBasedElectronID::robustSelection(), and SimpleCutBasedElectronIDSelectionFunctor::spring10Variables().
{ return dr03_.ecalRecHitSumEt ; }
float reco::GsfElectron::dr03HcalDepth1TowerSumEt | ( | ) | const [inline] |
Definition at line 424 of file GsfElectron.h.
References dr03_, and reco::GsfElectron::IsolationVariables::hcalDepth1TowerSumEt.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), dr03HcalTowerSumEt(), egHLT::OffHelper::fillIsolData(), and CutBasedElectronID::robustSelection().
{ return dr03_.hcalDepth1TowerSumEt ; }
float reco::GsfElectron::dr03HcalDepth2TowerSumEt | ( | ) | const [inline] |
Definition at line 425 of file GsfElectron.h.
References dr03_, and reco::GsfElectron::IsolationVariables::hcalDepth2TowerSumEt.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), dr03HcalTowerSumEt(), egHLT::OffHelper::fillIsolData(), and CutBasedElectronID::robustSelection().
{ return dr03_.hcalDepth2TowerSumEt ; }
float reco::GsfElectron::dr03HcalTowerSumEt | ( | ) | const [inline] |
Definition at line 426 of file GsfElectron.h.
References dr03HcalDepth1TowerSumEt(), and dr03HcalDepth2TowerSumEt().
Referenced by ElectronTagProbeAnalyzer::analyze(), EwkElecDQM::analyze(), WZInterestingEventSelector::electronSelection(), EwkElecTauHistManager::fillHistograms(), ElectronVPlusJetsIDSelectionFunctor::firstDataCuts(), CutBasedElectronID::robustSelection(), and SimpleCutBasedElectronIDSelectionFunctor::spring10Variables().
{ return dr03HcalDepth1TowerSumEt()+dr03HcalDepth2TowerSumEt() ; }
const IsolationVariables& reco::GsfElectron::dr03IsolationVariables | ( | ) | const [inline] |
float reco::GsfElectron::dr03TkSumPt | ( | ) | const [inline] |
Definition at line 422 of file GsfElectron.h.
References dr03_, and reco::GsfElectron::IsolationVariables::tkSumPt.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), CutBasedElectronID::cicSelection(), WZInterestingEventSelector::electronSelection(), EwkElecTauHistManager::fillHistograms(), egHLT::OffHelper::fillIsolData(), ElectronVPlusJetsIDSelectionFunctor::firstDataCuts(), CutBasedElectronID::robustSelection(), and SimpleCutBasedElectronIDSelectionFunctor::spring10Variables().
float reco::GsfElectron::dr04EcalRecHitSumEt | ( | ) | const [inline] |
Definition at line 431 of file GsfElectron.h.
References dr04_, and reco::GsfElectron::IsolationVariables::ecalRecHitSumEt.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), CutBasedElectronID::cicSelection(), pat::Electron::ecalIso(), and CutBasedElectronID::robustSelection().
{ return dr04_.ecalRecHitSumEt ; }
float reco::GsfElectron::dr04HcalDepth1TowerSumEt | ( | ) | const [inline] |
Definition at line 432 of file GsfElectron.h.
References dr04_, and reco::GsfElectron::IsolationVariables::hcalDepth1TowerSumEt.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), dr04HcalTowerSumEt(), and CutBasedElectronID::robustSelection().
{ return dr04_.hcalDepth1TowerSumEt ; }
float reco::GsfElectron::dr04HcalDepth2TowerSumEt | ( | ) | const [inline] |
Definition at line 433 of file GsfElectron.h.
References dr04_, and reco::GsfElectron::IsolationVariables::hcalDepth2TowerSumEt.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), dr04HcalTowerSumEt(), and CutBasedElectronID::robustSelection().
{ return dr04_.hcalDepth2TowerSumEt ; }
float reco::GsfElectron::dr04HcalTowerSumEt | ( | ) | const [inline] |
Definition at line 434 of file GsfElectron.h.
References dr04HcalDepth1TowerSumEt(), and dr04HcalDepth2TowerSumEt().
Referenced by CutBasedElectronID::cicSelection(), pat::Electron::hcalIso(), and CutBasedElectronID::robustSelection().
{ return dr04HcalDepth1TowerSumEt()+dr04HcalDepth2TowerSumEt() ; }
const IsolationVariables& reco::GsfElectron::dr04IsolationVariables | ( | ) | const [inline] |
float reco::GsfElectron::dr04TkSumPt | ( | ) | const [inline] |
Definition at line 430 of file GsfElectron.h.
References dr04_, and reco::GsfElectron::IsolationVariables::tkSumPt.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), EwkElecDQM::analyze(), GsfElectronFakeAnalyzer::analyze(), and pat::Electron::trackIso().
float reco::GsfElectron::e1x5 | ( | ) | const [inline] |
Definition at line 379 of file GsfElectron.h.
References reco::GsfElectron::ShowerShape::e1x5, and showerShape_.
Referenced by egHLT::OffHelper::fillClusShapeData(), CutBasedElectronID::robustSelection(), and scE1x5().
{ return showerShape_.e1x5 ; }
float reco::GsfElectron::e2x5Max | ( | ) | const [inline] |
Definition at line 380 of file GsfElectron.h.
References reco::GsfElectron::ShowerShape::e2x5Max, and showerShape_.
Referenced by egHLT::OffHelper::fillClusShapeData(), CutBasedElectronID::robustSelection(), and scE2x5Max().
{ return showerShape_.e2x5Max ; }
float reco::GsfElectron::e5x5 | ( | ) | const [inline] |
Definition at line 381 of file GsfElectron.h.
References reco::GsfElectron::ShowerShape::e5x5, and showerShape_.
Referenced by egHLT::OffHelper::fillClusShapeData(), CutBasedElectronID::robustSelection(), and scE5x5().
{ return showerShape_.e5x5 ; }
bool GsfElectron::ecalDriven | ( | ) | const |
Definition at line 126 of file GsfElectron.cc.
References ecalDrivenSeed(), passingCutBasedPreselection(), and passingMvaPreselection().
{ if (!passingCutBasedPreselection()&&!passingMvaPreselection()) { edm::LogWarning("GsfElectronAlgo|UndefinedPreselectionInfo") <<"All preselection flags are false," <<" either the data is too old or electrons were not preselected." ; } return (ecalDrivenSeed()&&passingCutBasedPreselection()) ; }
bool reco::GsfElectron::ecalDrivenSeed | ( | ) | const [inline] |
Definition at line 168 of file GsfElectron.h.
References core().
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), CutBasedElectronID::classify(), ecalDriven(), RecoSelector::isSelected(), and FWElectronDetailView::setTextInfo().
{ return core()->ecalDrivenSeed() ; }
float reco::GsfElectron::ecalEnergy | ( | ) | const [inline] |
Definition at line 587 of file GsfElectron.h.
References corrections_, and reco::GsfElectron::Corrections::ecalEnergy.
Referenced by caloEnergy(), ElectronMomentumCorrector::correct(), and egHLT::OffHelper::fillHLTData().
{ return corrections_.ecalEnergy ; }
float reco::GsfElectron::ecalEnergyError | ( | ) | const [inline] |
Definition at line 588 of file GsfElectron.h.
References corrections_, and reco::GsfElectron::Corrections::ecalEnergyError.
Referenced by ElectronEnergyCorrector::correct(), and ElectronMomentumCorrector::correct().
{ return corrections_.ecalEnergyError ; }
float reco::GsfElectron::eEleClusterOverPout | ( | ) | const [inline] |
Definition at line 204 of file GsfElectron.h.
References reco::GsfElectron::TrackClusterMatching::eEleClusterOverPout, and trackClusterMatching_.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), and GsfElectronFakeAnalyzer::analyze().
{ return trackClusterMatching_.eEleClusterOverPout ; }
CaloClusterPtr reco::GsfElectron::electronCluster | ( | ) | const [inline] |
Definition at line 200 of file GsfElectron.h.
References reco::GsfElectron::TrackClusterMatching::electronCluster, and trackClusterMatching_.
{ return trackClusterMatching_.electronCluster ; }
float reco::GsfElectron::electronMomentumError | ( | ) | const [inline] |
Definition at line 591 of file GsfElectron.h.
References corrections_, and reco::GsfElectron::Corrections::electronMomentumError.
{ return corrections_.electronMomentumError ; }
float reco::GsfElectron::eSeedClusterOverP | ( | ) | const [inline] |
Definition at line 202 of file GsfElectron.h.
References reco::GsfElectron::TrackClusterMatching::eSeedClusterOverP, and trackClusterMatching_.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), and CutBasedElectronID::cicSelection().
{ return trackClusterMatching_.eSeedClusterOverP ; }
float reco::GsfElectron::eSeedClusterOverPout | ( | ) | const [inline] |
Definition at line 203 of file GsfElectron.h.
References reco::GsfElectron::TrackClusterMatching::eSeedClusterOverPout, and trackClusterMatching_.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), egHLT::OffEle::epOut(), PTDRElectronID::result(), and ClassBasedElectronID::result().
{ return trackClusterMatching_.eSeedClusterOverPout ; }
float reco::GsfElectron::eSuperClusterOverP | ( | ) | const [inline] |
Definition at line 201 of file GsfElectron.h.
References reco::GsfElectron::TrackClusterMatching::eSuperClusterOverP, and trackClusterMatching_.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), CutBasedElectronID::cicSelection(), CutBasedElectronID::classify(), pat::ElectronSelector::customSelection_(), egHLT::OffEle::epIn(), ElectronLikelihood::getInputVar(), EgAmbiguityTools::isBetter(), SoftElectronCandProducer::isClean(), PTDRElectronID::result(), CutBasedElectronID::robustSelection(), and GsfElectronAlgo::setCutBasedPreselectionFlag().
{ return trackClusterMatching_.eSuperClusterOverP ; }
float reco::GsfElectron::fbrem | ( | ) | const [inline] |
Definition at line 528 of file GsfElectron.h.
References fbrem_.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), CutBasedElectronID::cicSelection(), ElectronClassification::classify(), CutBasedElectronID::classify(), ElectronLikelihood::getInputVar(), and SoftElectronCandProducer::isClean().
{ return fbrem_ ; }
const FiducialFlags& reco::GsfElectron::fiducialFlags | ( | ) | const [inline] |
Definition at line 344 of file GsfElectron.h.
References fiducialFlags_.
{ return fiducialFlags_ ; }
GsfTrackRef reco::GsfElectron::gsfTrack | ( | ) | const [inline, virtual] |
reference to a GsfTrack
Reimplemented from reco::RecoCandidate.
Reimplemented in pat::Electron.
Definition at line 167 of file GsfElectron.h.
References core().
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), FWElectronLegoProxyBuilder::build(), CutBasedElectronID::cicSelection(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), egammaisolation::EgammaTrackExtractor::deposit(), WZInterestingEventSelector::electronSelection(), pat::Electron::embedGsfTrack(), egHLT::OffHelper::fillIsolData(), ConversionFinder::getElectronTrack(), ElectronTkIsolation::getIso(), ElectronSqPtTkIsolation::getIso(), SoftElectronCandProducer::isClean(), SoftPFElectronProducer::isClean(), overlap(), FWElectronProxyBuilder::requestCommon(), CutBasedElectronID::robustSelection(), and GsfElectronAlgo::setCutBasedPreselectionFlag().
{ return core()->gsfTrack() ; }
float reco::GsfElectron::hadronicOverEm | ( | ) | const [inline] |
Definition at line 393 of file GsfElectron.h.
References hcalOverEcal().
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), CutBasedElectronID::cicSelection(), pat::ElectronSelector::customSelection_(), ElectronLikelihood::getInputVar(), egHLT::OffEle::hOverE(), PTDRElectronID::result(), ClassBasedElectronID::result(), ZeePlots::ReturnCandVar(), WenuPlots::ReturnCandVar(), CutBasedElectronID::robustSelection(), and SimpleCutBasedElectronIDSelectionFunctor::spring10Variables().
{return hcalOverEcal();}
float reco::GsfElectron::hadronicOverEm1 | ( | ) | const [inline] |
Definition at line 394 of file GsfElectron.h.
References hcalDepth1OverEcal().
{return hcalDepth1OverEcal();}
float reco::GsfElectron::hadronicOverEm2 | ( | ) | const [inline] |
Definition at line 395 of file GsfElectron.h.
References hcalDepth2OverEcal().
{return hcalDepth2OverEcal();}
float reco::GsfElectron::hcalDepth1OverEcal | ( | ) | const [inline] |
Definition at line 382 of file GsfElectron.h.
References reco::GsfElectron::ShowerShape::hcalDepth1OverEcal, and showerShape_.
Referenced by hadronicOverEm1(), hcalOverEcal(), and GsfElectronAlgo::setCutBasedPreselectionFlag().
{ return showerShape_.hcalDepth1OverEcal ; }
float reco::GsfElectron::hcalDepth2OverEcal | ( | ) | const [inline] |
Definition at line 383 of file GsfElectron.h.
References reco::GsfElectron::ShowerShape::hcalDepth2OverEcal, and showerShape_.
Referenced by hadronicOverEm2(), hcalOverEcal(), and GsfElectronAlgo::setCutBasedPreselectionFlag().
{ return showerShape_.hcalDepth2OverEcal ; }
float reco::GsfElectron::hcalOverEcal | ( | ) | const [inline] |
Definition at line 384 of file GsfElectron.h.
References hcalDepth1OverEcal(), and hcalDepth2OverEcal().
Referenced by WZInterestingEventSelector::electronSelection(), hadronicOverEm(), passesElectronId(), and GsfElectronAlgo::setCutBasedPreselectionFlag().
{ return hcalDepth1OverEcal() + hcalDepth2OverEcal() ; }
bool reco::GsfElectron::isEB | ( | ) | const [inline] |
Definition at line 334 of file GsfElectron.h.
References fiducialFlags_, and reco::GsfElectron::FiducialFlags::isEB.
Referenced by ElectronMcFakeValidator::analyze(), GsfElectronDataAnalyzer::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), CutBasedElectronID::cicSelection(), ElectronClassification::classify(), CutBasedElectronID::classify(), ElectronEnergyCorrector::correct(), ElectronMomentumCorrector::correct(), WZInterestingEventSelector::electronSelection(), PTDRElectronID::result(), ClassBasedElectronID::result(), CutBasedElectronID::robustSelection(), GsfElectronAlgo::setCutBasedPreselectionFlag(), and SimpleCutBasedElectronIDSelectionFunctor::spring10Variables().
{ return fiducialFlags_.isEB ; }
bool reco::GsfElectron::isEBEEGap | ( | ) | const [inline] |
Definition at line 337 of file GsfElectron.h.
References fiducialFlags_, and reco::GsfElectron::FiducialFlags::isEBEEGap.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), ElectronClassification::classify(), isGap(), egHLT::OffEle::isGap(), and GsfElectronAlgo::setCutBasedPreselectionFlag().
{ return fiducialFlags_.isEBEEGap ; }
bool reco::GsfElectron::isEBEtaGap | ( | ) | const [inline] |
Definition at line 339 of file GsfElectron.h.
References fiducialFlags_, and reco::GsfElectron::FiducialFlags::isEBEtaGap.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), ElectronClassification::classify(), isEBGap(), and GsfElectronAlgo::setCutBasedPreselectionFlag().
{ return fiducialFlags_.isEBEtaGap ; }
bool reco::GsfElectron::isEBGap | ( | ) | const [inline] |
Definition at line 338 of file GsfElectron.h.
References isEBEtaGap(), and isEBPhiGap().
Referenced by isGap(), and egHLT::OffEle::isGap().
{ return (isEBEtaGap()||isEBPhiGap()) ; }
bool reco::GsfElectron::isEBPhiGap | ( | ) | const [inline] |
Definition at line 340 of file GsfElectron.h.
References fiducialFlags_, and reco::GsfElectron::FiducialFlags::isEBPhiGap.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), isEBGap(), and GsfElectronAlgo::setCutBasedPreselectionFlag().
{ return fiducialFlags_.isEBPhiGap ; }
bool reco::GsfElectron::isEcalEnergyCorrected | ( | ) | const [inline] |
Definition at line 586 of file GsfElectron.h.
References corrections_, and reco::GsfElectron::Corrections::isEcalEnergyCorrected.
Referenced by ElectronEnergyCorrector::correct(), and isEnergyScaleCorrected().
{ return corrections_.isEcalEnergyCorrected ; }
bool reco::GsfElectron::isEE | ( | ) | const [inline] |
Definition at line 335 of file GsfElectron.h.
References fiducialFlags_, and reco::GsfElectron::FiducialFlags::isEE.
Referenced by ElectronMcFakeValidator::analyze(), GsfElectronDataAnalyzer::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), CutBasedElectronID::cicSelection(), ElectronClassification::classify(), CutBasedElectronID::classify(), ElectronEnergyCorrector::correct(), ElectronMomentumCorrector::correct(), WZInterestingEventSelector::electronSelection(), PTDRElectronID::result(), ClassBasedElectronID::result(), CutBasedElectronID::robustSelection(), and GsfElectronAlgo::setCutBasedPreselectionFlag().
{ return fiducialFlags_.isEE ; }
bool reco::GsfElectron::isEEDeeGap | ( | ) | const [inline] |
Definition at line 342 of file GsfElectron.h.
References fiducialFlags_, and reco::GsfElectron::FiducialFlags::isEEDeeGap.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), isEEGap(), and GsfElectronAlgo::setCutBasedPreselectionFlag().
{ return fiducialFlags_.isEEDeeGap ; }
bool reco::GsfElectron::isEEGap | ( | ) | const [inline] |
Definition at line 341 of file GsfElectron.h.
References isEEDeeGap(), and isEERingGap().
Referenced by isGap(), and egHLT::OffEle::isGap().
{ return (isEEDeeGap()||isEERingGap()) ; }
bool reco::GsfElectron::isEERingGap | ( | ) | const [inline] |
Definition at line 343 of file GsfElectron.h.
References fiducialFlags_, and reco::GsfElectron::FiducialFlags::isEERingGap.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), ElectronClassification::classify(), isEEGap(), and GsfElectronAlgo::setCutBasedPreselectionFlag().
{ return fiducialFlags_.isEERingGap ; }
virtual bool reco::GsfElectron::isElectron | ( | ) | const [inline, virtual] |
Reimplemented from reco::LeafCandidate.
Definition at line 143 of file GsfElectron.h.
References funct::true.
{ return true ; }
bool reco::GsfElectron::isEnergyScaleCorrected | ( | ) | const [inline] |
Definition at line 602 of file GsfElectron.h.
References isEcalEnergyCorrected().
{ return isEcalEnergyCorrected() ; }
bool reco::GsfElectron::isGap | ( | ) | const [inline] |
Definition at line 336 of file GsfElectron.h.
References isEBEEGap(), isEBGap(), and isEEGap().
Referenced by ElectronEnergyCorrector::correct(), and ElectronMomentumCorrector::correct().
bool reco::GsfElectron::isGsfCtfChargeConsistent | ( | ) | const [inline] |
Definition at line 139 of file GsfElectron.h.
References chargeInfo_, and reco::GsfElectron::ChargeInfo::isGsfCtfConsistent.
{ return chargeInfo_.isGsfCtfConsistent ; }
bool reco::GsfElectron::isGsfCtfScPixChargeConsistent | ( | ) | const [inline] |
Definition at line 137 of file GsfElectron.h.
References chargeInfo_, and reco::GsfElectron::ChargeInfo::isGsfCtfScPixConsistent.
{ return chargeInfo_.isGsfCtfScPixConsistent ; }
bool reco::GsfElectron::isGsfScPixChargeConsistent | ( | ) | const [inline] |
Definition at line 138 of file GsfElectron.h.
References chargeInfo_, and reco::GsfElectron::ChargeInfo::isGsfScPixConsistent.
{ return chargeInfo_.isGsfScPixConsistent ; }
bool reco::GsfElectron::isMomentumCorrected | ( | ) | const [inline] |
Definition at line 589 of file GsfElectron.h.
References corrections_, and reco::GsfElectron::Corrections::isMomentumCorrected.
Referenced by ElectronMomentumCorrector::correct().
{ return corrections_.isMomentumCorrected ; }
const IsolationVariables& reco::GsfElectron::isolationVariables03 | ( | ) | const [inline] |
const IsolationVariables& reco::GsfElectron::isolationVariables04 | ( | ) | const [inline] |
float reco::GsfElectron::mva | ( | ) | const [inline] |
Definition at line 500 of file GsfElectron.h.
References mva_.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), LeptonRecoSkim::filter(), SoftElectronCandProducer::isClean(), SoftPFElectronProducer::isClean(), setMva(), and GsfElectronAlgo::setMvaPreselectionFlag().
{ return mva_ ; }
int reco::GsfElectron::numberOfBrems | ( | ) | const [inline] |
Definition at line 529 of file GsfElectron.h.
References basicClustersSize().
Referenced by ElectronClassification::classify(), and ElectronLikelihood::result().
{ return basicClustersSize()-1 ; }
bool GsfElectron::overlap | ( | const Candidate & | ) | const [virtual] |
check overlap with another candidate
Implements reco::RecoCandidate.
Definition at line 104 of file GsfElectron.cc.
References trackerHits::c, reco::RecoCandidate::checkOverlap(), gsfTrack(), reco::RecoCandidate::gsfTrack(), connectstrParser::o, superCluster(), and reco::RecoCandidate::superCluster().
{ const RecoCandidate * o = dynamic_cast<const RecoCandidate *>( & c ); return ( o != 0 && ( checkOverlap( gsfTrack(), o->gsfTrack() ) || checkOverlap( superCluster(), o->superCluster() ) ) ); //?? return false; }
bool reco::GsfElectron::passingCutBasedPreselection | ( | ) | const [inline] |
Definition at line 497 of file GsfElectron.h.
References passCutBasedPreselection_.
Referenced by ecalDriven(), and GsfElectronAlgo::isPreselected().
{ return passCutBasedPreselection_ ; }
bool reco::GsfElectron::passingMvaPreselection | ( | ) | const [inline] |
Definition at line 498 of file GsfElectron.h.
References passMvaPreslection_.
Referenced by ecalDriven(), GsfElectronAlgo::isPreselected(), and GsfElectronAlgo::setMvaPreselectionFlag().
{ return passMvaPreslection_ ; }
SuperClusterRef reco::GsfElectron::pflowSuperCluster | ( | ) | const [inline] |
Definition at line 170 of file GsfElectron.h.
References core().
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), and GsfElectronFakeAnalyzer::analyze().
{ return core()->pflowSuperCluster() ; }
float reco::GsfElectron::scE1x5 | ( | ) | const [inline] |
Definition at line 390 of file GsfElectron.h.
References e1x5().
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), and GsfElectronFakeAnalyzer::analyze().
{ return e1x5() ; }
float reco::GsfElectron::scE2x5Max | ( | ) | const [inline] |
Definition at line 391 of file GsfElectron.h.
References e2x5Max().
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), and GsfElectronFakeAnalyzer::analyze().
{ return e2x5Max() ; }
float reco::GsfElectron::scE5x5 | ( | ) | const [inline] |
Definition at line 392 of file GsfElectron.h.
References e5x5().
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), and GsfElectronFakeAnalyzer::analyze().
{ return e5x5() ; }
int reco::GsfElectron::scPixCharge | ( | ) | const [inline] |
Definition at line 136 of file GsfElectron.h.
References chargeInfo_, and reco::GsfElectron::ChargeInfo::scPixCharge.
{ return chargeInfo_.scPixCharge ; }
float reco::GsfElectron::scSigmaEtaEta | ( | ) | const [inline] |
Definition at line 388 of file GsfElectron.h.
References sigmaEtaEta().
Referenced by ElectronMcSignalValidator::analyze(), ElectronTagProbeAnalyzer::analyze(), and GsfElectronMCAnalyzer::analyze().
{ return sigmaEtaEta() ; }
float reco::GsfElectron::scSigmaIEtaIEta | ( | ) | const [inline] |
Definition at line 389 of file GsfElectron.h.
References sigmaIetaIeta().
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), ZeePlots::ReturnCandVar(), and WenuPlots::ReturnCandVar().
{ return sigmaIetaIeta() ; }
void reco::GsfElectron::setAmbiguous | ( | bool | flag | ) | [inline] |
void reco::GsfElectron::setDeltaEtaSuperClusterAtVtx | ( | float | de | ) | [inline] |
Definition at line 214 of file GsfElectron.h.
References reco::GsfElectron::TrackClusterMatching::deltaEtaSuperClusterAtVtx, and trackClusterMatching_.
{ trackClusterMatching_.deltaEtaSuperClusterAtVtx = de ; }
void reco::GsfElectron::setDeltaPhiSuperClusterAtVtx | ( | float | dphi | ) | [inline] |
Definition at line 215 of file GsfElectron.h.
References reco::GsfElectron::TrackClusterMatching::deltaPhiSuperClusterAtVtx, and trackClusterMatching_.
{ trackClusterMatching_.deltaPhiSuperClusterAtVtx = dphi ; }
void reco::GsfElectron::setDr03Isolation | ( | const IsolationVariables & | dr03 | ) | [inline] |
void reco::GsfElectron::setDr04Isolation | ( | const IsolationVariables & | dr04 | ) | [inline] |
void reco::GsfElectron::setIsolation03 | ( | const IsolationVariables & | dr03 | ) | [inline] |
Definition at line 442 of file GsfElectron.h.
References dr03_.
Referenced by GsfElectronAlgo::createElectron().
{ dr03_ = dr03 ; }
void reco::GsfElectron::setIsolation04 | ( | const IsolationVariables & | dr04 | ) | [inline] |
Definition at line 443 of file GsfElectron.h.
References dr04_.
Referenced by GsfElectronAlgo::createElectron().
{ dr04_ = dr04 ; }
void reco::GsfElectron::setMva | ( | float | mva | ) | [inline] |
Definition at line 506 of file GsfElectron.h.
Referenced by pat::PATElectronProducer::fillElectron2().
void reco::GsfElectron::setPassCutBasedPreselection | ( | bool | flag | ) | [inline] |
Definition at line 503 of file GsfElectron.h.
References passCutBasedPreselection_.
Referenced by GsfElectronAlgo::setCutBasedPreselectionFlag().
{ passCutBasedPreselection_ = flag ; }
void reco::GsfElectron::setPassMvaPreselection | ( | bool | flag | ) | [inline] |
Definition at line 504 of file GsfElectron.h.
References passMvaPreslection_.
Referenced by GsfElectronAlgo::setMvaPreselectionFlag().
{ passMvaPreslection_ = flag ; }
float reco::GsfElectron::shFracInnerHits | ( | ) | const [inline] |
Definition at line 293 of file GsfElectron.h.
References closestCtfTrack_, and reco::GsfElectron::ClosestCtfTrack::shFracInnerHits.
Referenced by ConversionFinder::getConversionInfo(), and ConversionFinder::getElectronTrack().
{ return closestCtfTrack_.shFracInnerHits ; } // measure the fraction of common hits between the GSF and CTF tracks
const ShowerShape& reco::GsfElectron::showerShape | ( | ) | const [inline] |
float reco::GsfElectron::sigmaEtaEta | ( | ) | const [inline] |
Definition at line 377 of file GsfElectron.h.
References showerShape_, and reco::GsfElectron::ShowerShape::sigmaEtaEta.
Referenced by CutBasedElectronID::cicSelection(), egHLT::OffHelper::fillClusShapeData(), passesElectronId(), CutBasedElectronID::robustSelection(), and scSigmaEtaEta().
{ return showerShape_.sigmaEtaEta ; }
float reco::GsfElectron::sigmaIetaIeta | ( | ) | const [inline] |
Definition at line 378 of file GsfElectron.h.
References showerShape_, and reco::GsfElectron::ShowerShape::sigmaIetaIeta.
Referenced by EwkElecDQM::analyze(), CutBasedElectronID::cicSelection(), WZInterestingEventSelector::electronSelection(), egHLT::OffHelper::fillClusShapeData(), passesElectronPreId(), ClassBasedElectronID::result(), CutBasedElectronID::robustSelection(), scSigmaIEtaIEta(), GsfElectronAlgo::setCutBasedPreselectionFlag(), and SimpleCutBasedElectronIDSelectionFunctor::spring10Variables().
{ return showerShape_.sigmaIetaIeta ; }
SuperClusterRef reco::GsfElectron::superCluster | ( | ) | const [inline, virtual] |
reference to a SuperCluster
Reimplemented from reco::RecoCandidate.
Reimplemented in pat::Electron.
Definition at line 166 of file GsfElectron.h.
References core().
Referenced by ZIterativeAlgorithmWithFit::addEvent(), FWElectronDetailView::addSceneInfo(), FWElectronDetailView::addTrackPointsInCaloData(), ElectronMcFakeValidator::analyze(), GsfElectronDataAnalyzer::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), DQMAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), EgammaObjects::analyzeElectrons(), basicClustersBegin(), basicClustersEnd(), basicClustersSize(), FWElectronDetailView::build(), FWElectronProxyBuilder::buildViewType(), caloPosition(), CutBasedElectronID::cicSelection(), ElectronClassification::classify(), CutBasedElectronID::classify(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), ElectronEnergyCorrector::correct(), FWElectronDetailView::drawCrossHair(), pat::Electron::embedSuperCluster(), egHLT::OffEle::etaSC(), egHLT::OffEle::etSC(), egHLT::OffHelper::fillClusShapeData(), ZeeCalibration::fillEleInfo(), egHLT::OffHelper::fillHLTData(), calib::CalibElectron::getCalibModulesWeights(), ZeeCalibration::getEtaCorrection(), ElectronLikelihood::getInputVar(), ZIterativeAlgorithmWithFit::getWeight(), SoftPFElectronProducer::isClean(), RecoSelector::isSelected(), overlap(), egHLT::OffEle::phiSC(), ElectronLikelihood::result(), PTDRElectronID::result(), CutBasedElectronID::robustSelection(), GsfElectronAlgo::setCutBasedPreselectionFlag(), FWElectronDetailView::setTextInfo(), and superClusterPosition().
{ return core()->superCluster() ; }
math::XYZPoint reco::GsfElectron::superClusterPosition | ( | ) | const [inline] |
Definition at line 269 of file GsfElectron.h.
References superCluster().
{ return superCluster()->position() ; } // the super cluster position
const TrackClusterMatching& reco::GsfElectron::trackClusterMatching | ( | ) | const [inline] |
Definition at line 211 of file GsfElectron.h.
References trackClusterMatching_.
{ return trackClusterMatching_ ; }
bool reco::GsfElectron::trackerDrivenSeed | ( | ) | const [inline] |
Definition at line 169 of file GsfElectron.h.
References core().
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), CutBasedElectronID::classify(), and FWElectronDetailView::setTextInfo().
{ return core()->trackerDrivenSeed() ; }
const TrackExtrapolations& reco::GsfElectron::trackExtrapolations | ( | ) | const [inline] |
Definition at line 249 of file GsfElectron.h.
References trackExtrapolations_.
{ return trackExtrapolations_ ; }
math::XYZVector reco::GsfElectron::trackMomentumAtCalo | ( | ) | const [inline] |
Definition at line 245 of file GsfElectron.h.
References reco::GsfElectron::TrackExtrapolations::momentumAtCalo, and trackExtrapolations_.
Referenced by egHLT::OffEle::pCalo(), and egHLT::OffEle::ptCalo().
{ return trackExtrapolations_.momentumAtCalo ; }
math::XYZVector reco::GsfElectron::trackMomentumAtEleClus | ( | ) | const [inline] |
Definition at line 247 of file GsfElectron.h.
References reco::GsfElectron::TrackExtrapolations::momentumAtEleClus, and trackExtrapolations_.
{ return trackExtrapolations_.momentumAtEleClus ; }
math::XYZVector reco::GsfElectron::trackMomentumAtVtx | ( | ) | const [inline] |
Definition at line 244 of file GsfElectron.h.
References reco::GsfElectron::TrackExtrapolations::momentumAtVtx, and trackExtrapolations_.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), ElectronClassification::classify(), ElectronMomentumCorrector::correct(), pat::ElectronSelector::customSelection_(), egHLT::OffEle::invEInvP(), egHLT::OffEle::ptVtx(), egHLT::OffEle::pVtx(), and PTDRElectronID::result().
{ return trackExtrapolations_.momentumAtVtx ; }
math::XYZVector reco::GsfElectron::trackMomentumAtVtxWithConstraint | ( | ) | const [inline] |
Definition at line 248 of file GsfElectron.h.
References reco::GsfElectron::TrackExtrapolations::momentumAtVtxWithConstraint, and trackExtrapolations_.
{ return trackExtrapolations_.momentumAtVtxWithConstraint ; }
float reco::GsfElectron::trackMomentumError | ( | ) | const [inline] |
Definition at line 590 of file GsfElectron.h.
References corrections_, and reco::GsfElectron::Corrections::trackMomentumError.
{ return corrections_.trackMomentumError ; }
math::XYZVector reco::GsfElectron::trackMomentumOut | ( | ) | const [inline] |
Definition at line 246 of file GsfElectron.h.
References reco::GsfElectron::TrackExtrapolations::momentumOut, and trackExtrapolations_.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), pat::ElectronSelector::customSelection_(), and PTDRElectronID::result().
{ return trackExtrapolations_.momentumOut ; }
math::XYZPoint reco::GsfElectron::TrackPositionAtCalo | ( | ) | const [inline] |
Definition at line 253 of file GsfElectron.h.
References trackPositionAtCalo().
{ return trackPositionAtCalo() ; }
math::XYZPoint reco::GsfElectron::trackPositionAtCalo | ( | ) | const [inline] |
Definition at line 243 of file GsfElectron.h.
References reco::GsfElectron::TrackExtrapolations::positionAtCalo, and trackExtrapolations_.
Referenced by TrackPositionAtCalo().
{ return trackExtrapolations_.positionAtCalo ; }
math::XYZPoint reco::GsfElectron::TrackPositionAtVtx | ( | ) | const [inline] |
Definition at line 252 of file GsfElectron.h.
References trackPositionAtVtx().
Referenced by egHLT::OffEle::zVtx().
{ return trackPositionAtVtx() ; }
math::XYZPoint reco::GsfElectron::trackPositionAtVtx | ( | ) | const [inline] |
Definition at line 242 of file GsfElectron.h.
References reco::GsfElectron::TrackExtrapolations::positionAtVtx, and trackExtrapolations_.
Referenced by TrackPositionAtVtx().
{ return trackExtrapolations_.positionAtVtx ; }
bool reco::GsfElectron::ambiguous_ [private] |
Definition at line 513 of file GsfElectron.h.
Referenced by ambiguous(), and setAmbiguous().
Definition at line 308 of file GsfElectron.h.
Referenced by addAmbiguousGsfTrack(), ambiguousGsfTracksBegin(), ambiguousGsfTracksEnd(), ambiguousGsfTracksSize(), and clearAmbiguousGsfTracks().
ChargeInfo reco::GsfElectron::chargeInfo_ [private] |
Definition at line 149 of file GsfElectron.h.
Referenced by chargeInfo(), isGsfCtfChargeConsistent(), isGsfCtfScPixChargeConsistent(), isGsfScPixChargeConsistent(), and scPixCharge().
Classification reco::GsfElectron::class_ [private] |
Definition at line 539 of file GsfElectron.h.
Referenced by classification(), and classifyElectron().
Definition at line 307 of file GsfElectron.h.
Referenced by closestCtfTrack(), closestCtfTrackRef(), and shFracInnerHits().
Definition at line 486 of file GsfElectron.h.
Referenced by convDcot(), convDist(), conversionRejectionVariables(), convFlags(), convPartner(), and convRadius().
GsfElectronCoreRef reco::GsfElectron::core_ [private] |
Definition at line 175 of file GsfElectron.h.
Referenced by core().
Corrections reco::GsfElectron::corrections_ [private] |
Definition at line 607 of file GsfElectron.h.
Referenced by correctEcalEnergy(), corrections(), ecalEnergy(), ecalEnergyError(), electronMomentumError(), isEcalEnergyCorrected(), isMomentumCorrected(), and trackMomentumError().
IsolationVariables reco::GsfElectron::dr03_ [private] |
Definition at line 450 of file GsfElectron.h.
Referenced by dr03EcalRecHitSumEt(), dr03HcalDepth1TowerSumEt(), dr03HcalDepth2TowerSumEt(), dr03IsolationVariables(), dr03TkSumPt(), isolationVariables03(), setDr03Isolation(), and setIsolation03().
IsolationVariables reco::GsfElectron::dr04_ [private] |
Definition at line 451 of file GsfElectron.h.
Referenced by dr04EcalRecHitSumEt(), dr04HcalDepth1TowerSumEt(), dr04HcalDepth2TowerSumEt(), dr04IsolationVariables(), dr04TkSumPt(), isolationVariables04(), setDr04Isolation(), and setIsolation04().
float reco::GsfElectron::fbrem_ [private] |
Definition at line 538 of file GsfElectron.h.
Referenced by fbrem().
Definition at line 350 of file GsfElectron.h.
Referenced by fiducialFlags(), isEB(), isEBEEGap(), isEBEtaGap(), isEBPhiGap(), isEE(), isEEDeeGap(), and isEERingGap().
float reco::GsfElectron::mva_ [private] |
Definition at line 514 of file GsfElectron.h.
bool reco::GsfElectron::passCutBasedPreselection_ [private] |
Definition at line 511 of file GsfElectron.h.
Referenced by passingCutBasedPreselection(), and setPassCutBasedPreselection().
bool reco::GsfElectron::passMvaPreslection_ [private] |
Definition at line 512 of file GsfElectron.h.
Referenced by passingMvaPreselection(), and setPassMvaPreselection().
ShowerShape reco::GsfElectron::showerShape_ [private] |
Definition at line 401 of file GsfElectron.h.
Referenced by correctEcalEnergy(), e1x5(), e2x5Max(), e5x5(), hcalDepth1OverEcal(), hcalDepth2OverEcal(), showerShape(), sigmaEtaEta(), and sigmaIetaIeta().
Definition at line 221 of file GsfElectron.h.
Referenced by correctEcalEnergy(), deltaEtaEleClusterTrackAtCalo(), deltaEtaSeedClusterTrackAtCalo(), deltaEtaSuperClusterTrackAtVtx(), deltaPhiEleClusterTrackAtCalo(), deltaPhiSeedClusterTrackAtCalo(), deltaPhiSuperClusterTrackAtVtx(), eEleClusterOverPout(), electronCluster(), eSeedClusterOverP(), eSeedClusterOverPout(), eSuperClusterOverP(), setDeltaEtaSuperClusterAtVtx(), setDeltaPhiSuperClusterAtVtx(), and trackClusterMatching().
Definition at line 259 of file GsfElectron.h.
Referenced by trackExtrapolations(), trackMomentumAtCalo(), trackMomentumAtEleClus(), trackMomentumAtVtx(), trackMomentumAtVtxWithConstraint(), trackMomentumOut(), trackPositionAtCalo(), and trackPositionAtVtx().