#include <EgHLTOffEgSel.h>
Public Member Functions | |
const EgCutValues & | ebCuts () const |
const EgCutValues & | eeCuts () const |
int | getCutCode (const OffEle &ele, int cutMask=~0x0) const |
int | getCutCode (const OffPho &pho, int cutMask=~0x0) const |
OffEgSel ()=default | |
OffEgSel (const edm::ParameterSet &config) | |
bool | passCuts (const OffEle &ele, int cutMask=~0x0) const |
bool | passCuts (const OffPho &pho, int cutMask=~0x0) const |
void | setEBCuts (const EgCutValues &cuts) |
void | setEECuts (const EgCutValues &cuts) |
void | setup (const edm::ParameterSet &) |
~OffEgSel ()=default | |
Static Public Member Functions | |
static int | getCutCode (const OffEle &ele, const EgCutValues &cuts, int cutMask=~0x0) |
static int | getCutCode (const OffPho &pho, const EgCutValues &cuts, int cutMask=~0x0) |
Private Attributes | |
EgCutValues | ebCutValues_ |
EgCutValues | eeCutValues_ |
Definition at line 24 of file EgHLTOffEgSel.h.
|
default |
|
inlineexplicit |
|
default |
|
inline |
|
inline |
int OffEgSel::getCutCode | ( | const OffEle & | ele, |
int | cutMask = ~0x0 |
||
) | const |
Definition at line 18 of file EgHLTOffEgSel.cc.
References egHLT::OffEle::detEta(), ebCutValues_, and eeCutValues_.
Referenced by egHLT::OffHelper::fillOffEleVec(), egHLT::OffHelper::fillOffPhoVec(), getCutCode(), and passCuts().
|
static |
Definition at line 25 of file EgHLTOffEgSel.cc.
References egHLT::OffEle::caloEnergy(), egHLT::EgCutCodes::CRACK, egHLT::EgCutCodes::CTFTRACK, egHLT::OffEle::ctfTrack(), egHLT::OffEle::ctfTrkHitsFound(), egHLT::OffEle::ctfTrkHitsLost(), egHLT::OffEle::ctfTrkInnerRadius(), egHLT::OffEle::ctfTrkOuterRadius(), egHLT::EgCutCodes::DETAIN, egHLT::OffEle::dEtaIn(), egHLT::EgCutCodes::DETETA, egHLT::EgCutCodes::DPHIIN, egHLT::OffEle::dPhiIn(), egHLT::EgCutCodes::ET, egHLT::OffEle::et(), egHLT::OffEle::etaSC(), egHLT::EgCutCodes::HADEM, egHLT::EgCutCodes::HLTDETAIN, egHLT::OffEle::hltDEtaIn(), egHLT::EgCutCodes::HLTDPHIIN, egHLT::OffEle::hltDPhiIn(), egHLT::EgCutCodes::HLTINVEINVP, egHLT::OffEle::hltInvEInvP(), egHLT::EgCutCodes::HLTISOLEM, egHLT::OffEle::hltIsolEm(), egHLT::EgCutCodes::HLTISOLHAD, egHLT::OffEle::hltIsolHad(), egHLT::EgCutCodes::HLTISOLTRKSELE, egHLT::OffEle::hltIsolTrksEle(), egHLT::EgCutCodes::HLTISOLTRKSPHO, egHLT::OffEle::hltIsolTrksPho(), egHLT::OffEle::hOverE(), egHLT::EgCutCodes::INVEINVP, egHLT::OffEle::invEInvP(), egHLT::OffEle::isGap(), egHLT::EgCutCodes::ISOLEM, egHLT::OffEle::isolEm(), egHLT::EgCutCodes::ISOLHAD, egHLT::OffEle::isolHad(), egHLT::EgCutCodes::ISOLPTTRKS, egHLT::OffEle::isolPtTrks(), egHLT::EgCutCodes::MAXR9, egHLT::EgCutCodes::MINR9, egHLT::OffEle::r9(), egHLT::EgCutCodes::SIGMAETAETA, egHLT::OffEle::sigmaEtaEta(), egHLT::EgCutCodes::SIGMAIETAIETA, egHLT::OffEle::sigmaIEtaIEta(), and egHLT::OffEle::validCTFTrack().
int OffEgSel::getCutCode | ( | const OffPho & | pho, |
int | cutMask = ~0x0 |
||
) | const |
Definition at line 125 of file EgHLTOffEgSel.cc.
References egHLT::OffPho::detEta(), ebCutValues_, eeCutValues_, and getCutCode().
|
static |
Definition at line 133 of file EgHLTOffEgSel.cc.
References egHLT::EgCutCodes::CRACK, egHLT::EgCutCodes::CTFTRACK, egHLT::EgCutCodes::DETAIN, egHLT::EgCutCodes::DETETA, egHLT::EgCutCodes::DPHIIN, egHLT::OffPho::energy(), egHLT::EgCutCodes::ET, egHLT::OffPho::et(), egHLT::OffPho::etaSC(), egHLT::EgCutCodes::HADEM, egHLT::EgCutCodes::HLTDETAIN, egHLT::EgCutCodes::HLTDPHIIN, egHLT::EgCutCodes::HLTINVEINVP, egHLT::EgCutCodes::HLTISOLEM, egHLT::OffPho::hltIsolEm(), egHLT::EgCutCodes::HLTISOLHAD, egHLT::OffPho::hltIsolHad(), egHLT::OffPho::hltIsolTrks(), egHLT::EgCutCodes::HLTISOLTRKSELE, egHLT::EgCutCodes::HLTISOLTRKSPHO, egHLT::OffPho::hOverE(), egHLT::EgCutCodes::INVEINVP, egHLT::OffPho::isGap(), egHLT::EgCutCodes::ISOLEM, egHLT::OffPho::isolEm(), egHLT::EgCutCodes::ISOLHAD, egHLT::OffPho::isolHad(), egHLT::EgCutCodes::ISOLNRTRKS, egHLT::OffPho::isolNrTrks(), egHLT::EgCutCodes::ISOLPTTRKS, egHLT::OffPho::isolPtTrks(), egHLT::EgCutCodes::MAXR9, egHLT::EgCutCodes::MINR9, egHLT::OffPho::r9(), egHLT::EgCutCodes::SIGMAETAETA, egHLT::OffPho::sigmaEtaEta(), egHLT::EgCutCodes::SIGMAIETAIETA, and egHLT::OffPho::sigmaIEtaIEta().
|
inline |
Definition at line 34 of file EgHLTOffEgSel.h.
References getCutCode().
|
inline |
Definition at line 38 of file EgHLTOffEgSel.h.
References getCutCode().
|
inline |
|
inline |
void OffEgSel::setup | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 13 of file EgHLTOffEgSel.cc.
References ebCutValues_, eeCutValues_, edm::ParameterSet::getParameter(), and egHLT::EgCutValues::setup().
Referenced by OffEgSel(), and egHLT::OffHelper::setup().
|
private |
Definition at line 26 of file EgHLTOffEgSel.h.
Referenced by ebCuts(), getCutCode(), setEBCuts(), and setup().
|
private |
Definition at line 27 of file EgHLTOffEgSel.h.
Referenced by eeCuts(), getCutCode(), setEECuts(), and setup().