1 #ifndef __DataFormats_PatCandidates_VIDResult_H__ 2 #define __DataFormats_PatCandidates_VIDResult_H__ 34 const std::map<std::string,unsigned>& n2idx,
35 const std::vector<double>&
values,
45 const unsigned all_pass = (1 <<
indices_.size()) - 1;
46 return (all_pass&
bitmap_) == all_pass;
84 const std::vector<std::string>& names,
85 const std::vector<unsigned>& indices,
86 const std::vector<double>& values,
99 return (
bool)(0x1&(mask_>>
idx));
103 return (
bool)(0x1&(bitmap_>>
idx));
static const HistoName names[]
bool cutFlowPassed() const
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 getCutResultByIndex(const unsigned idx) const
std::vector< unsigned > indices_
const std::string & cutFlowName() const
std::vector< std::string > names_
bool getCutResultByName(const std::string &name) const
bool isCutMasked(const unsigned idx) const
std::vector< double > values_
const std::string & cutFlowHash() const
double getCutValue(const unsigned idx) const
bool getCutBit(const unsigned idx) const
const std::string & getNameAtIndex(const unsigned idx) const
CutFlowResult getCutFlowResultMasking(const unsigned idx) const
size_t cutFlowSize() const
double getValueCutUpon(const unsigned idx) const
cut-flow versioning info in the event provenance
bool getMaskBit(const unsigned idx) const