a class for expression parsing. More...
Public Member Functions | |
Expression (const std::string &expr) | |
novaddt::HitSet | Eval (const art::Event &e) |
const std::map< std::string, uint64_t > & | GetStatistics () |
Private Member Functions | |
void | Parse (const std::string &s) |
novaddt::HitSet | fetchOne (const std::string &tag, const art::Event &e) |
novaddt::HitSet | fetchAll (const std::string &tag, const art::Event &e) |
novaddt::HitSet | fetch (const std::string &tag, const art::Event &e) |
Private Attributes | |
std::vector< std::string > | fTokens |
std::map< std::string, uint64_t > | fSeenHits |
a class for expression parsing.
Definition at line 31 of file HitSubtract_module.cc.
|
inline |
novaddt::HitSet Expression::Eval | ( | const art::Event & | e | ) |
Definition at line 72 of file HitSubtract_module.cc.
References novaddt::HitSet::add(), fetch(), fSeenHits, fTokens, hits(), fillBadChanDBTables::result, runNovaSAM::stream, novaddt::HitSet::subtract(), confusionMatrixTree::t, and art::to_string().
Referenced by Expression(), and novaddt::HitSubtract::produce().
|
inlineprivate |
Definition at line 49 of file HitSubtract_module.cc.
References stan::lang::ends_with(), fetchAll(), and fetchOne().
Referenced by Eval().
|
inlineprivate |
Definition at line 42 of file HitSubtract_module.cc.
References novaddt::HitSet::add(), art::DataViewImpl::getValidHandle(), hits(), and getGoodRuns4SAM::tag.
Referenced by fetch().
|
inlineprivate |
Definition at line 38 of file HitSubtract_module.cc.
References art::DataViewImpl::getValidHandle(), and getGoodRuns4SAM::tag.
Referenced by fetch().
|
inline |
Definition at line 35 of file HitSubtract_module.cc.
References fSeenHits, Parse(), and string.
Referenced by novaddt::HitSubtract::endJob().
|
private |
Definition at line 61 of file HitSubtract_module.cc.
References fTokens, sep, submit_syst::str, string, confusionMatrixTree::t, and trim().
Referenced by Expression(), and GetStatistics().
|
private |
Definition at line 58 of file HitSubtract_module.cc.
Referenced by Eval(), and GetStatistics().
|
private |
Definition at line 57 of file HitSubtract_module.cc.