ATLAS Offline Software
JetGroupSingleClique.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_JETGROUPSINGLECLIQUE_H
6 #define TRIGHLTJETHYPO_JETGROUPSINGLECLIQUE_H
7 
8 #include "./IJetGroupProduct.h"
9 #include "./DebugInfoCollector.h"
11 #include <vector>
12 
13 using CondInd2JetGroupsInds = std::map<int, std::vector<std::size_t>>;
14 
15 using JetGroupInd2ElemInds = std::map<int, std::vector<std::size_t>>;
16 
17 
18 typedef std::unique_ptr<ITrigJetHypoInfoCollector> Collector;
19 
21  /*
22  * create a jet group for monoclique simple trees
23  */
24  public:
25  JetGroupSingleClique(const std::vector<std::size_t>& satisfyingJets,
26  std::size_t n_required);
27 
28  virtual std::vector<std::size_t> next(const Collector&) override;
29 
30  virtual bool valid() const override;
31 
32  private:
33  std::vector<std::size_t> m_jetGroupIndices;
34  bool m_done{false};
35 };
36 
37 #endif
IJetGroupProduct
Definition: IJetGroupProduct.h:14
CondInd2JetGroupsInds
std::map< int, std::vector< std::size_t > > CondInd2JetGroupsInds
Definition: JetGroupProduct.h:15
HypoJetDefs.h
JetGroupSingleClique::m_done
bool m_done
Definition: JetGroupSingleClique.h:34
JetGroupSingleClique::next
virtual std::vector< std::size_t > next(const Collector &) override
Definition: JetGroupSingleClique.cxx:33
JetGroupSingleClique::m_jetGroupIndices
std::vector< std::size_t > m_jetGroupIndices
Definition: JetGroupSingleClique.h:33
JetGroupSingleClique
Definition: JetGroupSingleClique.h:20
JetGroupInd2ElemInds
std::map< int, std::vector< std::size_t > > JetGroupInd2ElemInds
Definition: elementalJetGroups.h:11
DebugInfoCollector.h
Collector
std::unique_ptr< ITrigJetHypoInfoCollector > Collector
Definition: FastReducer.h:22
IJetGroupProduct.h
JetGroupSingleClique::valid
virtual bool valid() const override
Definition: JetGroupSingleClique.cxx:49
Collector
std::unique_ptr< ITrigJetHypoInfoCollector > Collector
Definition: JetGroupSingleClique.h:18
JetGroupSingleClique::JetGroupSingleClique
JetGroupSingleClique(const std::vector< std::size_t > &satisfyingJets, std::size_t n_required)
Definition: JetGroupSingleClique.cxx:11