#include <VIDCutFlowResult.h>
Public Member Functions | |
const std::string & | cutFlowHash () const |
const std::string & | cutFlowName () const |
bool | cutFlowPassed () const |
CutFlowResult () | |
CutFlowResult (const std::string &name, const std::string &hash, const std::map< std::string, unsigned > &n2idx, const std::vector< double > &values, unsigned bitmap, unsigned mask=0) | |
size_t | cutFlowSize () const |
CutFlowResult | getCutFlowResultMasking (const unsigned idx) const |
CutFlowResult | getCutFlowResultMasking (const std::string &name) const |
CutFlowResult | getCutFlowResultMasking (const std::vector< unsigned > &idxs) const |
CutFlowResult | getCutFlowResultMasking (const std::vector< std::string > &names) const |
bool | getCutResultByIndex (const unsigned idx) const |
bool | getCutResultByName (const std::string &name) const |
const std::string & | getNameAtIndex (const unsigned idx) const |
double | getValueCutUpon (const unsigned idx) const |
double | getValueCutUpon (const std::string &name) const |
bool | isCutMasked (const unsigned idx) const |
bool | isCutMasked (const std::string &name) const |
Private Member Functions | |
CutFlowResult (const std::string &name, const std::string &hash, const std::vector< std::string > &names, const std::vector< unsigned > &indices, const std::vector< double > &values, unsigned bitmap, unsigned mask) | |
bool | getCutBit (const unsigned idx) const |
double | getCutValue (const unsigned idx) const |
bool | getMaskBit (const unsigned idx) const |
Private Attributes | |
unsigned | bitmap_ |
std::string | hash_ |
std::vector< unsigned > | indices_ |
unsigned | mask_ |
std::string | name_ |
std::vector< std::string > | names_ |
std::vector< double > | values_ |
Friends | |
template<class T > | |
class | VersionedSelector |
Definition at line 27 of file VIDCutFlowResult.h.
|
inline |
Definition at line 31 of file VIDCutFlowResult.h.
References cond::hash, RecoTauDiscriminantConfiguration::mask, dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, and MuonErrorMatrixValues_cff::values.
Referenced by getCutFlowResultMasking().
vid::CutFlowResult::CutFlowResult | ( | const std::string & | name, |
const std::string & | hash, | ||
const std::map< std::string, unsigned > & | n2idx, | ||
const std::vector< double > & | values, | ||
unsigned | bitmap, | ||
unsigned | mask = 0 |
||
) |
Definition at line 10 of file VIDCutFlowResult.cc.
References indices_, names_, and heppy_batch::val.
|
inlineprivate |
Definition at line 82 of file VIDCutFlowResult.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 49 of file VIDCutFlowResult.h.
References getCutFlowResultMasking(), getCutResultByIndex(), getCutResultByName(), getNameAtIndex(), getValueCutUpon(), training_settings::idx, indices_, isCutMasked(), names, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineprivate |
Definition at line 102 of file VIDCutFlowResult.h.
References training_settings::idx.
Referenced by getCutResultByIndex(), and getCutResultByName().
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking | ( | const unsigned | idx | ) | const |
Definition at line 125 of file VIDCutFlowResult.cc.
References bitmap_, CutFlowResult(), Exception, training_settings::idx, indices_, RecoTauDiscriminantConfiguration::mask, mask_, name_, names_, and values_.
Referenced by cutFlowSize(), getCutFlowResultMasking(), and getValueCutUpon().
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking | ( | const std::string & | name | ) | const |
Definition at line 138 of file VIDCutFlowResult.cc.
References bitmap_, CutFlowResult(), SoftLeptonByDistance_cfi::distance, Exception, indices_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, RecoTauDiscriminantConfiguration::mask, mask_, dataset::name, name_, names_, and values_.
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking | ( | const std::vector< unsigned > & | idxs | ) | const |
Definition at line 93 of file VIDCutFlowResult.cc.
References bitmap_, CutFlowResult(), Exception, getCutFlowResultMasking(), training_settings::idx, indices_, RecoTauDiscriminantConfiguration::mask, mask_, name_, names_, and values_.
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking | ( | const std::vector< std::string > & | names | ) | const |
Definition at line 108 of file VIDCutFlowResult.cc.
References bitmap_, CutFlowResult(), SoftLeptonByDistance_cfi::distance, Exception, getCutFlowResultMasking(), indices_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, RecoTauDiscriminantConfiguration::mask, mask_, dataset::name, name_, names_, AlCaHLTBitMon_QueryRunRegistry::string, and values_.
bool vid::CutFlowResult::getCutResultByIndex | ( | const unsigned | idx | ) | const |
Definition at line 38 of file VIDCutFlowResult.cc.
References Exception, getCutBit(), and indices_.
Referenced by cutFlowSize().
bool vid::CutFlowResult::getCutResultByName | ( | const std::string & | name | ) | const |
Definition at line 46 of file VIDCutFlowResult.cc.
References SoftLeptonByDistance_cfi::distance, Exception, getCutBit(), indices_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, dataset::name, and names_.
Referenced by cutFlowSize().
|
inlineprivate |
Definition at line 106 of file VIDCutFlowResult.h.
References training_settings::idx.
Referenced by getValueCutUpon().
|
inlineprivate |
Definition at line 98 of file VIDCutFlowResult.h.
References training_settings::idx.
Referenced by isCutMasked().
const std::string & vid::CutFlowResult::getNameAtIndex | ( | const unsigned | idx | ) | const |
Definition at line 27 of file VIDCutFlowResult.cc.
References Exception, indices_, and names_.
Referenced by cutFlowSize().
double vid::CutFlowResult::getValueCutUpon | ( | const unsigned | idx | ) | const |
Definition at line 74 of file VIDCutFlowResult.cc.
References Exception, getCutValue(), and indices_.
Referenced by cutFlowSize().
double vid::CutFlowResult::getValueCutUpon | ( | const std::string & | name | ) | const |
Definition at line 82 of file VIDCutFlowResult.cc.
References SoftLeptonByDistance_cfi::distance, Exception, getCutFlowResultMasking(), getCutValue(), indices_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, dataset::name, and names_.
bool vid::CutFlowResult::isCutMasked | ( | const unsigned | idx | ) | const |
Definition at line 56 of file VIDCutFlowResult.cc.
References Exception, getMaskBit(), and indices_.
Referenced by cutFlowSize().
bool vid::CutFlowResult::isCutMasked | ( | const std::string & | name | ) | const |
Definition at line 64 of file VIDCutFlowResult.cc.
References SoftLeptonByDistance_cfi::distance, Exception, getMaskBit(), indices_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, dataset::name, and names_.
|
friend |
Definition at line 28 of file VIDCutFlowResult.h.
|
private |
Definition at line 77 of file VIDCutFlowResult.h.
Referenced by cutFlowPassed(), and getCutFlowResultMasking().
|
private |
Definition at line 76 of file VIDCutFlowResult.h.
Referenced by cutFlowHash().
|
private |
Definition at line 80 of file VIDCutFlowResult.h.
Referenced by cutFlowPassed(), CutFlowResult(), cutFlowSize(), getCutFlowResultMasking(), getCutResultByIndex(), getCutResultByName(), getNameAtIndex(), getValueCutUpon(), and isCutMasked().
|
private |
Definition at line 77 of file VIDCutFlowResult.h.
Referenced by getCutFlowResultMasking().
|
private |
Definition at line 76 of file VIDCutFlowResult.h.
Referenced by cutFlowName(), and getCutFlowResultMasking().
|
private |
Definition at line 79 of file VIDCutFlowResult.h.
Referenced by CutFlowResult(), getCutFlowResultMasking(), getCutResultByName(), getNameAtIndex(), getValueCutUpon(), and isCutMasked().
|
private |
Definition at line 78 of file VIDCutFlowResult.h.
Referenced by getCutFlowResultMasking().