1 #ifndef __DataFormats_PatCandidates_VIDResult_H__
2 #define __DataFormats_PatCandidates_VIDResult_H__
35 const std::map<std::string, unsigned>& n2idx,
36 const std::vector<double>&
values,
46 const unsigned all_pass = (1 <<
indices_.size()) - 1;
47 return (all_pass &
bitmap_) == all_pass;
85 const std::vector<std::string>&
names,
86 const std::vector<unsigned>&
indices,
87 const std::vector<double>&
values,
92 bool getMaskBit(
const unsigned idx)
const {
return (
bool)(0x1 & (
mask_ >> idx)); }
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
const std::string names[nVars_]
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