#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_, names_, and heppy_batch::val.
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
Definition at line 94 of file VIDCutFlowResult.h.
References bitmap_, and heavyIonCSV_trainingSettings::idx.
Referenced by getCutResultByIndex(), and getCutResultByName().
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking | ( | const unsigned | idx | ) | const |
Definition at line 106 of file VIDCutFlowResult.cc.
References bitmap_, CutFlowResult(), Exception, heavyIonCSV_trainingSettings::idx, indices_, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, mask_, name_, names_, and values_.
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking | ( | const std::string & | name | ) | const |
Definition at line 117 of file VIDCutFlowResult.cc.
References bitmap_, CutFlowResult(), HLT_2024v14_cff::distance, Exception, indices_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, mask_, mergeVDriftHistosByStation::name, name_, names_, and values_.
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking | ( | const std::vector< unsigned > & | idxs | ) | const |
Definition at line 79 of file VIDCutFlowResult.cc.
References bitmap_, CutFlowResult(), Exception, heavyIonCSV_trainingSettings::idx, indices_, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, mask_, 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_2024v14_cff::distance, Exception, indices_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, mask_, mergeVDriftHistosByStation::name, name_, names, names_, AlCaHLTBitMon_QueryRunRegistry::string, and values_.
bool vid::CutFlowResult::getCutResultByIndex | ( | const unsigned | idx | ) | const |
Definition at line 34 of file VIDCutFlowResult.cc.
References Exception, getCutBit(), heavyIonCSV_trainingSettings::idx, and indices_.
bool vid::CutFlowResult::getCutResultByName | ( | const std::string & | name | ) | const |
Definition at line 41 of file VIDCutFlowResult.cc.
References HLT_2024v14_cff::distance, Exception, getCutBit(), indices_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, mergeVDriftHistosByStation::name, and names_.
|
inlineprivate |
Definition at line 96 of file VIDCutFlowResult.h.
References heavyIonCSV_trainingSettings::idx, and values_.
Referenced by getValueCutUpon().
|
inlineprivate |
Definition at line 92 of file VIDCutFlowResult.h.
References heavyIonCSV_trainingSettings::idx, and mask_.
Referenced by isCutMasked().
const std::string & vid::CutFlowResult::getNameAtIndex | ( | const unsigned | idx | ) | const |
Definition at line 23 of file VIDCutFlowResult.cc.
References Exception, heavyIonCSV_trainingSettings::idx, indices_, and names_.
double vid::CutFlowResult::getValueCutUpon | ( | const unsigned | idx | ) | const |
Definition at line 64 of file VIDCutFlowResult.cc.
References Exception, getCutValue(), heavyIonCSV_trainingSettings::idx, and indices_.
double vid::CutFlowResult::getValueCutUpon | ( | const std::string & | name | ) | const |
Definition at line 71 of file VIDCutFlowResult.cc.
References HLT_2024v14_cff::distance, Exception, getCutValue(), indices_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, mergeVDriftHistosByStation::name, and names_.
bool vid::CutFlowResult::isCutMasked | ( | const unsigned | idx | ) | const |
Definition at line 49 of file VIDCutFlowResult.cc.
References Exception, getMaskBit(), heavyIonCSV_trainingSettings::idx, and indices_.
bool vid::CutFlowResult::isCutMasked | ( | const std::string & | name | ) | const |
Definition at line 56 of file VIDCutFlowResult.cc.
References HLT_2024v14_cff::distance, Exception, getMaskBit(), indices_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, mergeVDriftHistosByStation::name, and names_.
|
friend |
Definition at line 29 of file VIDCutFlowResult.h.
|
private |
Definition at line 78 of file VIDCutFlowResult.h.
Referenced by cutFlowPassed(), getCutBit(), and getCutFlowResultMasking().
|
private |
Definition at line 77 of file VIDCutFlowResult.h.
Referenced by cutFlowHash().
|
private |
Definition at line 81 of file VIDCutFlowResult.h.
Referenced by cutFlowPassed(), CutFlowResult(), cutFlowSize(), getCutFlowResultMasking(), getCutResultByIndex(), getCutResultByName(), getNameAtIndex(), getValueCutUpon(), and isCutMasked().
|
private |
Definition at line 78 of file VIDCutFlowResult.h.
Referenced by getCutFlowResultMasking(), and getMaskBit().
|
private |
Definition at line 77 of file VIDCutFlowResult.h.
Referenced by cutFlowName(), and getCutFlowResultMasking().
|
private |
Definition at line 80 of file VIDCutFlowResult.h.
Referenced by CutFlowResult(), getCutFlowResultMasking(), getCutResultByName(), getNameAtIndex(), getValueCutUpon(), and isCutMasked().
|
private |
Definition at line 79 of file VIDCutFlowResult.h.
Referenced by getCutFlowResultMasking(), and getCutValue().