ATLAS Offline Software
Loading...
Searching...
No Matches
JetGroupUnion.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGHLTJETHYPO_JETGROUPUNION_H
6#define TRIGHLTJETHYPO_JETGROUPUNION_H
7
11#include <vector>
12
13using CondInd2JetGroupsInds = std::map<int, std::vector<std::size_t>>;
14
15using JetGroupInd2ElemInds = std::map<int, std::vector<std::size_t>>;
16
17
18typedef std::unique_ptr<ITrigJetHypoInfoCollector> Collector;
19
21 /*
22 * Form the union of the sets of jets passing sibling Conditions.
23 */
24 public:
25 JetGroupUnion(const std::vector<std::size_t>& siblings,
26 const CondInd2JetGroupsInds& satisfiedBy);
27
28 virtual std::vector<std::size_t> next(const Collector&) override;
29 virtual bool valid() const override;
30
31 private:
32 std::vector<std::size_t> m_jetIndices;
33 bool m_done{false};
34};
35
36#endif
std::unique_ptr< ITrigJetHypoInfoCollector > Collector
Definition FastReducer.h:22
std::map< int, std::vector< std::size_t > > CondInd2JetGroupsInds
std::map< int, std::vector< std::size_t > > CondInd2JetGroupsInds
std::unique_ptr< ITrigJetHypoInfoCollector > Collector
std::vector< std::size_t > m_jetIndices
JetGroupUnion(const std::vector< std::size_t > &siblings, const CondInd2JetGroupsInds &satisfiedBy)
virtual std::vector< std::size_t > next(const Collector &) override
virtual bool valid() const override
std::map< int, std::vector< std::size_t > > JetGroupInd2ElemInds