Typedefs | |
typedef std::vector < edm::Handle< edm::ValueMap < reco::IsoDeposit > > > | IsoDepositMaps |
typedef std::vector < edm::Handle< edm::ValueMap < double > > > | IsoDepositVals |
Enumerations | |
enum | CutType { DETAIN = (1<<0), DPHIIN = (1<<1), SIGMAIETAIETA = (1<<2), HOE = (1<<3), OOEMOOP = (1<<4), D0VTX = (1<<5), DZVTX = (1<<6), ISO = (1<<7), VTXFIT = (1<<8), MHITS = (1<<9) } |
enum | TriggerWorkingPoint { TRIGGERTIGHT, TRIGGERWP70 } |
enum | WorkingPoint { VETO, LOOSE, MEDIUM, TIGHT } |
Functions | |
bool | PassEoverPCuts (const reco::GsfElectronRef &ele) |
bool | PassEoverPCuts (const reco::GsfElectron &ele) |
bool | PassEoverPCuts (const float eta, const float eopin, const float fbrem) |
bool | PassTriggerCuts (const TriggerWorkingPoint triggerWorkingPoint, const reco::GsfElectronRef &ele) |
bool | PassTriggerCuts (const TriggerWorkingPoint triggerWorkingPoint, const reco::GsfElectron &ele) |
bool | PassTriggerCuts (const TriggerWorkingPoint triggerWorkingPoint, const bool isEB, const float pt, const float dEtaIn, const float dPhiIn, const float sigmaIEtaIEta, const float hoe, const float trackIso, const float ecalIso, const float hcalIso) |
bool | PassWP (const WorkingPoint workingPoint, const reco::GsfElectronRef &ele, const edm::Handle< reco::ConversionCollection > &conversions, const reco::BeamSpot &beamspot, const edm::Handle< reco::VertexCollection > &vtxs, const double &iso_ch, const double &iso_em, const double &iso_nh, const double &rho) |
bool | PassWP (const WorkingPoint workingPoint, const reco::GsfElectron &ele, const edm::Handle< reco::ConversionCollection > &conversions, const reco::BeamSpot &beamspot, const edm::Handle< reco::VertexCollection > &vtxs, const double &iso_ch, const double &iso_em, const double &iso_nh, const double &rho) |
bool | PassWP (WorkingPoint workingPoint, const bool isEB, const float pt, const float eta, const float dEtaIn, const float dPhiIn, const float sigmaIEtaIEta, const float hoe, const float ooemoop, const float d0vtx, const float dzvtx, const float iso_ch, const float iso_em, const float iso_nh, const bool vtxFitConversion, const unsigned int mHits, const double rho) |
void | PrintDebug (unsigned int mask) |
unsigned int | TestWP (const WorkingPoint workingPoint, const reco::GsfElectronRef &ele, const edm::Handle< reco::ConversionCollection > &conversions, const reco::BeamSpot &beamspot, const edm::Handle< reco::VertexCollection > &vtxs, const double &iso_ch, const double &iso_em, const double &iso_nh, const double &rho) |
unsigned int | TestWP (const WorkingPoint workingPoint, const reco::GsfElectron &ele, const edm::Handle< reco::ConversionCollection > &conversions, const reco::BeamSpot &beamspot, const edm::Handle< reco::VertexCollection > &vtxs, const double &iso_ch, const double &iso_em, const double &iso_nh, const double &rho) |
unsigned int | TestWP (WorkingPoint workingPoint, const bool isEB, const float pt, const float eta, const float dEtaIn, const float dPhiIn, const float sigmaIEtaIEta, const float hoe, const float ooemoop, const float d0vtx, const float dzvtx, const float iso_ch, const float iso_em, const float iso_nh, const bool vtxFitConversion, const unsigned int mHits, const double rho) |
Variables | |
static const unsigned int | PassAll = DETAIN | DPHIIN | SIGMAIETAIETA | HOE | OOEMOOP | D0VTX | DZVTX | ISO | VTXFIT | MHITS |
typedef std::vector< edm::Handle< edm::ValueMap<reco::IsoDeposit> > > EgammaCutBasedEleId::IsoDepositMaps |
Definition at line 26 of file EGammaCutBasedEleId.h.
typedef std::vector< edm::Handle< edm::ValueMap<double> > > EgammaCutBasedEleId::IsoDepositVals |
Definition at line 27 of file EGammaCutBasedEleId.h.
Enumerator | |
---|---|
DETAIN | |
DPHIIN | |
SIGMAIETAIETA | |
HOE | |
OOEMOOP | |
D0VTX | |
DZVTX | |
ISO | |
VTXFIT | |
MHITS |
Definition at line 49 of file EGammaCutBasedEleId.h.
bool EgammaCutBasedEleId::PassEoverPCuts | ( | const reco::GsfElectronRef & | ele | ) |
Definition at line 78 of file EGammaCutBasedEleId.cc.
Referenced by EGammaCutBasedEleIdAnalyzer::analyze(), and PassEoverPCuts().
bool EgammaCutBasedEleId::PassEoverPCuts | ( | const reco::GsfElectron & | ele | ) |
Definition at line 65 of file EGammaCutBasedEleId.cc.
References reco::GsfElectron::eSuperClusterOverP(), eta(), reco::GsfElectron::fbrem(), PassEoverPCuts(), and reco::GsfElectron::superCluster().
bool EgammaCutBasedEleId::PassEoverPCuts | ( | const float | eta, |
const float | eopin, | ||
const float | fbrem | ||
) |
Definition at line 209 of file EGammaCutBasedEleId.cc.
bool EgammaCutBasedEleId::PassTriggerCuts | ( | const TriggerWorkingPoint | triggerWorkingPoint, |
const reco::GsfElectronRef & | ele | ||
) |
Definition at line 60 of file EGammaCutBasedEleId.cc.
Referenced by EGammaCutBasedEleIdAnalyzer::analyze(), and PassTriggerCuts().
bool EgammaCutBasedEleId::PassTriggerCuts | ( | const TriggerWorkingPoint | triggerWorkingPoint, |
const reco::GsfElectron & | ele | ||
) |
Definition at line 41 of file EGammaCutBasedEleId.cc.
References reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::dr03HcalTowerSumEt(), reco::GsfElectron::dr03TkSumPt(), reco::GsfElectron::hadronicOverEm(), reco::GsfElectron::isEB(), PassTriggerCuts(), RecoTauCleanerPlugins::pt, reco::LeafCandidate::pt(), and reco::GsfElectron::sigmaIetaIeta().
bool EgammaCutBasedEleId::PassTriggerCuts | ( | const TriggerWorkingPoint | triggerWorkingPoint, |
const bool | isEB, | ||
const float | pt, | ||
const float | dEtaIn, | ||
const float | dPhiIn, | ||
const float | sigmaIEtaIEta, | ||
const float | hoe, | ||
const float | trackIso, | ||
const float | ecalIso, | ||
const float | hcalIso | ||
) |
Definition at line 160 of file EGammaCutBasedEleId.cc.
References gather_cfg::cout, customizeTrackingMonitorSeedNumber::idx, TRIGGERTIGHT, and TRIGGERWP70.
bool EgammaCutBasedEleId::PassWP | ( | const WorkingPoint | workingPoint, |
const reco::GsfElectronRef & | ele, | ||
const edm::Handle< reco::ConversionCollection > & | conversions, | ||
const reco::BeamSpot & | beamspot, | ||
const edm::Handle< reco::VertexCollection > & | vtxs, | ||
const double & | iso_ch, | ||
const double & | iso_em, | ||
const double & | iso_nh, | ||
const double & | rho | ||
) |
Definition at line 28 of file EGammaCutBasedEleId.cc.
Referenced by EGammaCutBasedEleIdAnalyzer::analyze().
bool EgammaCutBasedEleId::PassWP | ( | const WorkingPoint | workingPoint, |
const reco::GsfElectron & | ele, | ||
const edm::Handle< reco::ConversionCollection > & | conversions, | ||
const reco::BeamSpot & | beamspot, | ||
const edm::Handle< reco::VertexCollection > & | vtxs, | ||
const double & | iso_ch, | ||
const double & | iso_em, | ||
const double & | iso_nh, | ||
const double & | rho | ||
) |
Definition at line 9 of file EGammaCutBasedEleId.cc.
References PassAll, and TestWP().
bool EgammaCutBasedEleId::PassWP | ( | WorkingPoint | workingPoint, |
const bool | isEB, | ||
const float | pt, | ||
const float | eta, | ||
const float | dEtaIn, | ||
const float | dPhiIn, | ||
const float | sigmaIEtaIEta, | ||
const float | hoe, | ||
const float | ooemoop, | ||
const float | d0vtx, | ||
const float | dzvtx, | ||
const float | iso_ch, | ||
const float | iso_em, | ||
const float | iso_nh, | ||
const bool | vtxFitConversion, | ||
const unsigned int | mHits, | ||
const double | rho | ||
) |
Definition at line 148 of file EGammaCutBasedEleId.cc.
References PassAll, and TestWP().
void EgammaCutBasedEleId::PrintDebug | ( | unsigned int | mask | ) |
Definition at line 331 of file EGammaCutBasedEleId.cc.
References D0VTX, DETAIN, DPHIIN, DZVTX, HOE, ISO, MHITS, OOEMOOP, SIGMAIETAIETA, and VTXFIT.
unsigned int EgammaCutBasedEleId::TestWP | ( | const WorkingPoint | workingPoint, |
const reco::GsfElectronRef & | ele, | ||
const edm::Handle< reco::ConversionCollection > & | conversions, | ||
const reco::BeamSpot & | beamspot, | ||
const edm::Handle< reco::VertexCollection > & | vtxs, | ||
const double & | iso_ch, | ||
const double & | iso_em, | ||
const double & | iso_nh, | ||
const double & | rho | ||
) |
Definition at line 133 of file EGammaCutBasedEleId.cc.
Referenced by PassWP(), and TestWP().
unsigned int EgammaCutBasedEleId::TestWP | ( | const WorkingPoint | workingPoint, |
const reco::GsfElectron & | ele, | ||
const edm::Handle< reco::ConversionCollection > & | conversions, | ||
const reco::BeamSpot & | beamspot, | ||
const edm::Handle< reco::VertexCollection > & | vtxs, | ||
const double & | iso_ch, | ||
const double & | iso_em, | ||
const double & | iso_nh, | ||
const double & | rho | ||
) |
Definition at line 83 of file EGammaCutBasedEleId.cc.
References reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), reco::GsfElectron::ecalEnergy(), reco::GsfElectron::eSuperClusterOverP(), eta(), reco::GsfElectron::gsfTrack(), reco::GsfElectron::hadronicOverEm(), ConversionTools::hasMatchedConversion(), reco::GsfElectron::isEB(), reco::BeamSpot::position(), RecoTauCleanerPlugins::pt, reco::LeafCandidate::pt(), reco::GsfElectron::sigmaIetaIeta(), reco::GsfElectron::superCluster(), and TestWP().
unsigned int EgammaCutBasedEleId::TestWP | ( | WorkingPoint | workingPoint, |
const bool | isEB, | ||
const float | pt, | ||
const float | eta, | ||
const float | dEtaIn, | ||
const float | dPhiIn, | ||
const float | sigmaIEtaIEta, | ||
const float | hoe, | ||
const float | ooemoop, | ||
const float | d0vtx, | ||
const float | dzvtx, | ||
const float | iso_ch, | ||
const float | iso_em, | ||
const float | iso_nh, | ||
const bool | vtxFitConversion, | ||
const unsigned int | mHits, | ||
const double | rho | ||
) |
Definition at line 216 of file EGammaCutBasedEleId.cc.
References gather_cfg::cout, D0VTX, DETAIN, DPHIIN, DZVTX, ElectronEffectiveArea::GetElectronEffectiveArea(), HOE, customizeTrackingMonitorSeedNumber::idx, ISO, ElectronEffectiveArea::kEleEAData2011, ElectronEffectiveArea::kEleGammaAndNeutralHadronIso03, LOOSE, max(), MEDIUM, MHITS, OOEMOOP, SIGMAIETAIETA, TIGHT, funct::true, VETO, and VTXFIT.