#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 |
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_, and names_.
|
inlineprivate |
Definition at line 82 of file VIDCutFlowResult.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
Definition at line 102 of file VIDCutFlowResult.h.
References bitmap_, and customizeTrackingMonitorSeedNumber::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, customizeTrackingMonitorSeedNumber::idx, indices_, mask_, name_, names_, and values_.
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking | ( | const std::string & | name | ) | const |
Definition at line 138 of file VIDCutFlowResult.cc.
References bitmap_, CutFlowResult(), HLT_25ns14e33_v1_cff::distance, Exception, indices_, mask_, mergeVDriftHistosByStation::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, customizeTrackingMonitorSeedNumber::idx, indices_, 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(), HLT_25ns14e33_v1_cff::distance, Exception, indices_, mask_, mergeVDriftHistosByStation::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_.
bool vid::CutFlowResult::getCutResultByName | ( | const std::string & | name | ) | const |
Definition at line 46 of file VIDCutFlowResult.cc.
References HLT_25ns14e33_v1_cff::distance, Exception, getCutBit(), indices_, mergeVDriftHistosByStation::name, and names_.
|
inlineprivate |
Definition at line 106 of file VIDCutFlowResult.h.
References customizeTrackingMonitorSeedNumber::idx, and values_.
Referenced by getValueCutUpon().
|
inlineprivate |
Definition at line 98 of file VIDCutFlowResult.h.
References customizeTrackingMonitorSeedNumber::idx, and mask_.
Referenced by isCutMasked().
const std::string & vid::CutFlowResult::getNameAtIndex | ( | const unsigned | idx | ) | const |
Definition at line 27 of file VIDCutFlowResult.cc.
References Exception, indices_, names_, and relativeConstraints::value.
double vid::CutFlowResult::getValueCutUpon | ( | const unsigned | idx | ) | const |
Definition at line 74 of file VIDCutFlowResult.cc.
References Exception, getCutValue(), and indices_.
double vid::CutFlowResult::getValueCutUpon | ( | const std::string & | name | ) | const |
Definition at line 82 of file VIDCutFlowResult.cc.
References HLT_25ns14e33_v1_cff::distance, Exception, getCutValue(), indices_, mergeVDriftHistosByStation::name, and names_.
bool vid::CutFlowResult::isCutMasked | ( | const unsigned | idx | ) | const |
Definition at line 56 of file VIDCutFlowResult.cc.
References Exception, getMaskBit(), and indices_.
bool vid::CutFlowResult::isCutMasked | ( | const std::string & | name | ) | const |
Definition at line 64 of file VIDCutFlowResult.cc.
References HLT_25ns14e33_v1_cff::distance, Exception, getMaskBit(), indices_, mergeVDriftHistosByStation::name, and names_.
|
friend |
Definition at line 28 of file VIDCutFlowResult.h.
|
private |
Definition at line 77 of file VIDCutFlowResult.h.
Referenced by cutFlowPassed(), getCutBit(), 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(), and getMaskBit().
|
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(), and getCutValue().