ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigHLTJetHypo
src
GrouperByCapacityFactory.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
GrouperByCapacityFactory.h
"
6
#include "
TrigHLTJetHypo/TrigHLTJetHypoUtils/AllJetsGrouper.h
"
7
#include "
TrigHLTJetHypo/TrigHLTJetHypoUtils/SingleJetGrouper.h
"
8
#include "
TrigHLTJetHypo/TrigHLTJetHypoUtils/CombinationsGrouper.h
"
9
10
11
std::unique_ptr<IJetGrouper>
grouperByCapacityFactory
(
unsigned
int
cap,
12
const
HypoJetCIter
& b,
13
const
HypoJetCIter
& e){
14
15
std::unique_ptr<IJetGrouper> pGrouper(
nullptr
);
16
17
if
(cap == 0) {
18
pGrouper.reset(
new
AllJetsGrouper
(b, e));
19
}
else
if
(cap == 1) {
20
pGrouper.reset(
new
SingleJetGrouper
(b, e));
21
}
else
{
22
pGrouper.reset(
new
CombinationsGrouper
(cap, b, e));
23
}
24
25
return
pGrouper;
26
}
AllJetsGrouper.h
CombinationsGrouper.h
grouperByCapacityFactory
std::unique_ptr< IJetGrouper > grouperByCapacityFactory(unsigned int cap, const HypoJetCIter &b, const HypoJetCIter &e)
Definition
GrouperByCapacityFactory.cxx:11
GrouperByCapacityFactory.h
HypoJetCIter
HypoJetVector::const_iterator HypoJetCIter
Definition
HypoJetDefs.h:29
SingleJetGrouper.h
AllJetsGrouper
Definition
AllJetsGrouper.h:10
CombinationsGrouper
Definition
CombinationsGrouper.h:10
SingleJetGrouper
Definition
SingleJetGrouper.h:10
Generated on
for ATLAS Offline Software by
1.14.0