#include <JetGroupReducer.h>
Definition at line 29 of file JetGroupReducer.h.
◆ JetGroupReducer()
Definition at line 13 of file JetGroupReducer.cxx.
21 if (siblings.empty()){
26 for (
const auto&
s : siblings){
27 if (satisfiedBy.at(
s).empty()) {
33 std::vector<std::size_t> satisfying;
35 for (
const auto&
s :siblings){
36 satisfying.insert(satisfying.end(),
37 satisfiedBy.at(
s).cbegin(),
38 satisfiedBy.at(
s).cend()
46 auto end = satisfying.end();
47 if (siblings.size() > 1) {
55 std::vector<std::size_t> jet_indices;
56 for(
auto iter = satisfying.begin(); iter !=
end; ++iter) {
57 jet_indices.insert(jet_indices.end(),
58 jg2elemjgs.at(*iter).begin(),
59 jg2elemjgs.at(*iter).end());
69 jet_indices.resize(final_end-jet_indices.begin());
◆ next()
std::vector< std::size_t > JetGroupReducer::next |
( |
const Collector & |
collector | ) |
|
|
overridevirtual |
Implements IJetGroupProduct.
Definition at line 77 of file JetGroupReducer.cxx.
79 std::stringstream sstr;
81 <<
" done " << std::boolalpha <<
m_done;
82 collector->collect(
"JetGroupReducer::next()", sstr.str());
86 return std::vector<std::size_t>();
◆ valid()
bool JetGroupReducer::valid |
( |
| ) |
const |
|
overridevirtual |
◆ m_done
bool JetGroupReducer::m_done {false} |
|
private |
◆ m_jetIndices
std::vector<std::size_t> JetGroupReducer::m_jetIndices |
|
private |
The documentation for this class was generated from the following files:
std::reverse_iterator< DataModel_detail::iterator< DVL > > unique(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, BinaryPredicate pred)
Specialization of unique for DataVector/List.
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.