ATLAS Offline Software
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
}
AllowedVariables::e
e
Definition:
AsgElectronSelectorTool.cxx:37
CombinationsGrouper.h
grouperByCapacityFactory
std::unique_ptr< IJetGrouper > grouperByCapacityFactory(unsigned int cap, const HypoJetCIter &b, const HypoJetCIter &e)
Definition:
GrouperByCapacityFactory.cxx:11
SingleJetGrouper.h
HypoJetCIter
HypoJetVector::const_iterator HypoJetCIter
Definition:
HypoJetDefs.h:29
CombinationsGrouper
Definition:
CombinationsGrouper.h:10
SingleJetGrouper
Definition:
SingleJetGrouper.h:10
AllJetsGrouper
Definition:
AllJetsGrouper.h:10
plotBeamSpotMon.b
b
Definition:
plotBeamSpotMon.py:77
GrouperByCapacityFactory.h
AllJetsGrouper.h
Generated on Thu Nov 7 2024 21:15:59 for ATLAS Offline Software by
1.8.18