#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 std::string &name) const |
CutFlowResult | getCutFlowResultMasking (const std::vector< std::string > &names) const |
CutFlowResult | getCutFlowResultMasking (const std::vector< unsigned > &idxs) const |
CutFlowResult | getCutFlowResultMasking (const unsigned idx) 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 std::string &name) const |
double | getValueCutUpon (const unsigned idx) const |
bool | isCutMasked (const std::string &name) const |
bool | isCutMasked (const unsigned idx) 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 41 of file VIDCutFlowResult.h.
|
inline |
Definition at line 61 of file VIDCutFlowResult.h.
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 |
||
) |
|
inlineprivate |
Definition at line 112 of file VIDCutFlowResult.h.
|
inline |
Definition at line 72 of file VIDCutFlowResult.h.
|
inline |
Definition at line 70 of file VIDCutFlowResult.h.
|
inline |
Definition at line 74 of file VIDCutFlowResult.h.
|
inline |
Definition at line 79 of file VIDCutFlowResult.h.
|
inlineprivate |
Definition at line 123 of file VIDCutFlowResult.h.
Referenced by getCutResultByIndex(), and getCutResultByName().
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking | ( | const std::string & | name | ) | const |
Definition at line 117 of file VIDCutFlowResult.cc.
References bitmap_, CutFlowResult(), HLT_2018_cff::distance, Exception, indices_, cuda_std::lower_bound(), mask_, Skims_PA_cff::name, name_, names_, and values_.
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking | ( | const std::vector< std::string > & | names | ) | const |
Definition at line 92 of file VIDCutFlowResult.cc.
References bitmap_, CutFlowResult(), HLT_2018_cff::distance, Exception, indices_, cuda_std::lower_bound(), mask_, Skims_PA_cff::name, name_, names, names_, AlCaHLTBitMon_QueryRunRegistry::string, and values_.
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking | ( | const std::vector< unsigned > & | idxs | ) | const |
Definition at line 79 of file VIDCutFlowResult.cc.
References bitmap_, CutFlowResult(), Exception, training_settings::idx, indices_, mask_, name_, names_, and values_.
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking | ( | const unsigned | idx | ) | const |
Definition at line 106 of file VIDCutFlowResult.cc.
References bitmap_, CutFlowResult(), Exception, training_settings::idx, indices_, mask_, name_, names_, and values_.
bool vid::CutFlowResult::getCutResultByIndex | ( | const unsigned | idx | ) | const |
Definition at line 34 of file VIDCutFlowResult.cc.
References Exception, getCutBit(), training_settings::idx, and indices_.
bool vid::CutFlowResult::getCutResultByName | ( | const std::string & | name | ) | const |
Definition at line 41 of file VIDCutFlowResult.cc.
References HLT_2018_cff::distance, Exception, getCutBit(), indices_, cuda_std::lower_bound(), Skims_PA_cff::name, and names_.
|
inlineprivate |
Definition at line 125 of file VIDCutFlowResult.h.
Referenced by getValueCutUpon().
|
inlineprivate |
Definition at line 121 of file VIDCutFlowResult.h.
Referenced by isCutMasked().
const std::string & vid::CutFlowResult::getNameAtIndex | ( | const unsigned | idx | ) | const |
Definition at line 23 of file VIDCutFlowResult.cc.
References Exception, training_settings::idx, indices_, and names_.
double vid::CutFlowResult::getValueCutUpon | ( | const std::string & | name | ) | const |
Definition at line 71 of file VIDCutFlowResult.cc.
References HLT_2018_cff::distance, Exception, getCutValue(), indices_, cuda_std::lower_bound(), Skims_PA_cff::name, and names_.
double vid::CutFlowResult::getValueCutUpon | ( | const unsigned | idx | ) | const |
Definition at line 64 of file VIDCutFlowResult.cc.
References Exception, getCutValue(), training_settings::idx, and indices_.
bool vid::CutFlowResult::isCutMasked | ( | const std::string & | name | ) | const |
Definition at line 56 of file VIDCutFlowResult.cc.
References HLT_2018_cff::distance, Exception, getMaskBit(), indices_, cuda_std::lower_bound(), Skims_PA_cff::name, and names_.
bool vid::CutFlowResult::isCutMasked | ( | const unsigned | idx | ) | const |
Definition at line 49 of file VIDCutFlowResult.cc.
References Exception, getMaskBit(), training_settings::idx, and indices_.
|
friend |
Definition at line 58 of file VIDCutFlowResult.h.
|
private |
Definition at line 107 of file VIDCutFlowResult.h.
Referenced by getCutFlowResultMasking().
|
private |
Definition at line 106 of file VIDCutFlowResult.h.
|
private |
Definition at line 110 of file VIDCutFlowResult.h.
Referenced by CutFlowResult(), getCutFlowResultMasking(), getCutResultByIndex(), getCutResultByName(), getNameAtIndex(), getValueCutUpon(), and isCutMasked().
|
private |
Definition at line 107 of file VIDCutFlowResult.h.
Referenced by getCutFlowResultMasking().
|
private |
Definition at line 106 of file VIDCutFlowResult.h.
Referenced by getCutFlowResultMasking().
|
private |
Definition at line 109 of file VIDCutFlowResult.h.
Referenced by CutFlowResult(), getCutFlowResultMasking(), getCutResultByName(), getNameAtIndex(), getValueCutUpon(), and isCutMasked().
|
private |
Definition at line 108 of file VIDCutFlowResult.h.
Referenced by getCutFlowResultMasking().