#include <FastReductionMatcher.h>
Definition at line 23 of file FastReductionMatcher.h.
◆ FastReductionMatcher()
Definition at line 13 of file FastReductionMatcher.cxx.
25 m_msg =
"Condition tree root node is not AcceptAll";
34 m_msg =
"Tree leaf condition but not from ChainPart";
45 ss <<
"ConditionFilterInds and Conditions sequence sizes differ: ";
◆ match()
determine whether a set of jets satisfies all hypo conditions.
the jets are packed into jet grpups of length 1. groups_b and groups_e are iterators into the data structure containing these groups. Jet collector is used to transport the jets that matched the hypo conditions. Collector collects information for testing and debugging the final bool argument is used to allow further debugging within the method.
Implements IJetsMatcher.
Definition at line 54 of file FastReductionMatcher.cxx.
71 auto njets = jv.size();
75 collector->
collect(
"FastReductionMatcher",
91 return std::make_optional<bool>(reducer.pass());
◆ msg()
std::string FastReductionMatcher::msg |
( |
| ) |
const |
|
overridevirtual |
◆ toString()
std::string FastReductionMatcher::toString |
( |
| ) |
const |
|
overridevirtual |
Implements IJetsMatcher.
Definition at line 95 of file FastReductionMatcher.cxx.
97 ss <<
"FastReductionMatcher:\n"
98 <<
" treeVector: " <<
m_tree <<
'\n'
99 <<
" min required jets " <<
m_minNjets <<
"\n\n"
100 <<
"FastReductionMatcher Conditions ["
106 sc.insert(
sc.begin(), 3-
sc.length(),
' ');
107 ss <<
sc <<
": "<<
c->toString() +
'\n';
111 ss <<
"FastReductionMatcher ConditionFilter indices ["
118 sc.insert(
sc.begin(), 3-
sc.length(),
' ');
119 ss <<
sc <<
": "<<
c <<
'\n';
123 ss <<
"FastReductionMatcher ConditionFilters ["
130 sc.insert(
sc.begin(), 3-
sc.length(),
' ');
131 ss <<
sc <<
": "<<
c->toString() +
'\n';
◆ valid()
bool FastReductionMatcher::valid |
( |
| ) |
const |
|
overridevirtual |
◆ m_conditionFilterInds
◆ m_conditionFilters
◆ m_conditions
◆ m_minNjets
long unsigned int FastReductionMatcher::m_minNjets {0u} |
|
private |
◆ m_msg
std::string FastReductionMatcher::m_msg |
|
private |
◆ m_tree
Tree FastReductionMatcher::m_tree |
|
private |
tree structure for Conditions objects.
The conditions tree gives relations among conditions (eg parent-child and siblings-of)
Definition at line 66 of file FastReductionMatcher.h.
◆ m_validState
bool FastReductionMatcher::m_validState {true} |
|
private |
The documentation for this class was generated from the following files: