ATLAS Offline Software
Trigger
TrigHypothesis
TrigHLTJetHypo
src
PileupRemovalCondition.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGHLTJETHYPO_PILEUPREMOVALCONDITION_H
6
#define TRIGHLTJETHYPO_PILEUPREMOVALCONDITION_H
7
8
/********************************************************************
9
*
10
* NAME: PileupRemovalCondition.h
11
* PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
12
*
13
* AUTHOR: Rachel Christine Rosten
14
*********************************************************************/
15
16
#include <string>
17
#include "
./ICondition.h
"
18
19
namespace
HypoJet
{
20
class
IJet;
21
}
22
23
class
ITrigJetHypoInfoCollector
;
24
25
class
PileupRemovalCondition
:
public
ICondition
{
26
public
:
27
PileupRemovalCondition
(
double
mMin,
double
mMax);
28
29
bool
isSatisfied
(
const
HypoJetVector
&,
30
const
std::unique_ptr<ITrigJetHypoInfoCollector>&)
const override
;
31
32
virtual
unsigned
int
capacity
()
const override
{
return
s_capacity
;}
33
34
35
std::string
toString
()
const override
;
36
private
:
37
38
double
m_min
;
39
double
m_max
;
40
bool
isSatisfied
(
const
pHypoJet
&,
41
const
std::unique_ptr<ITrigJetHypoInfoCollector>&)
const
;
42
43
const
static
unsigned
int
s_capacity
{1};
44
45
};
46
47
#endif
PileupRemovalCondition::m_min
double m_min
Definition:
PileupRemovalCondition.h:38
PileupRemovalCondition::m_max
double m_max
Definition:
PileupRemovalCondition.h:39
PileupRemovalCondition::capacity
virtual unsigned int capacity() const override
Definition:
PileupRemovalCondition.h:32
pHypoJet
std::shared_ptr< const HypoJet::IJet > pHypoJet
Definition:
HypoJetDefs.h:25
PileupRemovalCondition
Definition:
PileupRemovalCondition.h:25
ITrigJetHypoInfoCollector
Definition:
ITrigJetHypoInfoCollector.h:9
ICondition
Definition:
ICondition.h:22
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition:
HypoJetDefs.h:27
PileupRemovalCondition::isSatisfied
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition:
PileupRemovalCondition.cxx:104
PileupRemovalCondition::toString
std::string toString() const override
Definition:
PileupRemovalCondition.cxx:111
PileupRemovalCondition::PileupRemovalCondition
PileupRemovalCondition(double mMin, double mMax)
Definition:
PileupRemovalCondition.cxx:17
PileupRemovalCondition::s_capacity
static const unsigned int s_capacity
Definition:
PileupRemovalCondition.h:43
ICondition.h
HypoJet
Definition:
AcceptAllCondition.h:19
Generated on Sun Dec 22 2024 21:16:16 for ATLAS Offline Software by
1.8.18