ATLAS Offline Software
JetGroupProductFactory.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_JETGROUPPRODUCTFACTORY_H
6 #define TRIGHLTJETHYPO_JETGROUPPRODUCTFACTORY_H
7 
8 #include "./JetGroupProduct.h"
9 
10 // produce an object that will make jet groups
11 // for the parent Condition depend on that Conditions capacity
12 
13 using JetGroupInd2ElemInds = std::map<int, std::vector<std::size_t>>;
14 
15 bool willPassSimpleTree(const std::vector<std::size_t>& siblings,
16  const CondInd2JetGroupsInds& satisfiedBy,
17  const std::vector<std::size_t>& condMult);
18 
19 std::size_t max_jet (const std::vector<std::size_t>& siblings,
20  const CondInd2JetGroupsInds& satisfiedBy);
21 
22 std::unique_ptr<IJetGroupProduct>
23 makeJetGroupProduct(const std::vector<std::size_t>& siblings,
24  const CondInd2JetGroupsInds& satisfiedBy,
25  const std::vector<std::size_t>& condMult,
26  const std::vector<unsigned int>& condCap,
27  const std::vector<int>& condClique,
28  const JetGroupInd2ElemInds& jg2elemjgs,
29  std::size_t parCapacity,
30  bool simpleTree,
31  const Collector& collector);
32 
33 #endif
JetGroupProduct.h
CondInd2JetGroupsInds
std::map< int, std::vector< std::size_t > > CondInd2JetGroupsInds
Definition: JetGroupProduct.h:15
max_jet
std::size_t max_jet(const std::vector< std::size_t > &siblings, const CondInd2JetGroupsInds &satisfiedBy)
Definition: JetGroupProductFactory.cxx:15
JetGroupInd2ElemInds
std::map< int, std::vector< std::size_t > > JetGroupInd2ElemInds
Definition: elementalJetGroups.h:11
willPassSimpleTree
bool willPassSimpleTree(const std::vector< std::size_t > &siblings, const CondInd2JetGroupsInds &satisfiedBy, const std::vector< std::size_t > &condMult)
Definition: JetGroupProductFactory.cxx:30
Collector
std::unique_ptr< ITrigJetHypoInfoCollector > Collector
Definition: FastReducer.h:22
makeJetGroupProduct
std::unique_ptr< IJetGroupProduct > makeJetGroupProduct(const std::vector< std::size_t > &siblings, const CondInd2JetGroupsInds &satisfiedBy, const std::vector< std::size_t > &condMult, const std::vector< unsigned int > &condCap, const std::vector< int > &condClique, const JetGroupInd2ElemInds &jg2elemjgs, std::size_t parCapacity, bool simpleTree, const Collector &collector)
Definition: JetGroupProductFactory.cxx:73