#include <VIDCutFlowResult.h>
|
| 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 |
|
Definition at line 27 of file VIDCutFlowResult.h.
vid::CutFlowResult::CutFlowResult |
( |
| ) |
|
|
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 |
|
) |
| |
vid::CutFlowResult::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 |
|
) |
| |
|
inlineprivate |
Definition at line 82 of file VIDCutFlowResult.h.
static const HistoName names[]
std::vector< unsigned > indices_
std::vector< std::string > names_
std::vector< double > values_
const std::string& vid::CutFlowResult::cutFlowHash |
( |
| ) |
const |
|
inline |
const std::string& vid::CutFlowResult::cutFlowName |
( |
| ) |
const |
|
inline |
bool vid::CutFlowResult::cutFlowPassed |
( |
| ) |
const |
|
inline |
size_t vid::CutFlowResult::cutFlowSize |
( |
| ) |
const |
|
inline |
bool vid::CutFlowResult::getCutBit |
( |
const unsigned |
idx | ) |
const |
|
inlineprivate |
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking |
( |
const unsigned |
idx | ) |
const |
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking |
( |
const std::string & |
name | ) |
const |
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking |
( |
const std::vector< unsigned > & |
idxs | ) |
const |
CutFlowResult vid::CutFlowResult::getCutFlowResultMasking |
( |
const std::vector< std::string > & |
names | ) |
const |
Definition at line 108 of file VIDCutFlowResult.cc.
References bitmap_, CutFlowResult(), HLT_25ns10e33_v2_cff::distance, Exception, indices_, mask_, mergeVDriftHistosByStation::name, name_, names_, AlCaHLTBitMon_QueryRunRegistry::string, and values_.
110 unsigned mask =
mask_;
113 if( found_name ==
names_.end() || *found_name !=
name ) {
115 <<
"Cut name: " <<
name
116 <<
" is not known for this cutflow!";
120 bitmap = bitmap | mask;
static const HistoName names[]
std::vector< unsigned > indices_
std::vector< std::string > names_
std::vector< double > values_
bool vid::CutFlowResult::getCutResultByIndex |
( |
const unsigned |
idx | ) |
const |
bool vid::CutFlowResult::getCutResultByName |
( |
const std::string & |
name | ) |
const |
double vid::CutFlowResult::getCutValue |
( |
const unsigned |
idx | ) |
const |
|
inlineprivate |
bool vid::CutFlowResult::getMaskBit |
( |
const unsigned |
idx | ) |
const |
|
inlineprivate |
const std::string & vid::CutFlowResult::getNameAtIndex |
( |
const unsigned |
idx | ) |
const |
double vid::CutFlowResult::getValueCutUpon |
( |
const unsigned |
idx | ) |
const |
double vid::CutFlowResult::getValueCutUpon |
( |
const std::string & |
name | ) |
const |
bool vid::CutFlowResult::isCutMasked |
( |
const unsigned |
idx | ) |
const |
bool vid::CutFlowResult::isCutMasked |
( |
const std::string & |
name | ) |
const |
unsigned vid::CutFlowResult::bitmap_ |
|
private |
std::string vid::CutFlowResult::hash_ |
|
private |
std::vector<unsigned> vid::CutFlowResult::indices_ |
|
private |
unsigned vid::CutFlowResult::mask_ |
|
private |
std::string vid::CutFlowResult::name_ |
|
private |
std::vector<std::string> vid::CutFlowResult::names_ |
|
private |
std::vector<double> vid::CutFlowResult::values_ |
|
private |