ATLAS Offline Software
Trigger
TrigHypothesis
TrigHLTJetHypo
src
MomentCondition.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGHLTJETHYPO_MOMENTCONDITION_H
6
#define TRIGHLTJETHYPO_MOMENTCONDITION_H
7
8
/********************************************************************
9
*
10
* NAME: MomentCondition.h
11
* PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
12
*
13
* AUTHOR: P. Sherwood
14
*********************************************************************/
15
16
#include <string>
17
#include "
./ICondition.h
"
18
19
namespace
HypoJet
{
20
class
IJet;
21
}
22
23
class
ITrigJetHypoInfoCollector
;
24
25
class
MomentCondition
:
public
ICondition
{
26
public
:
27
MomentCondition
(
double
mMin,
double
mMax,
const
std::string& moment);
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
std::string
m_moment
;
41
42
bool
isSatisfied
(
const
pHypoJet
&,
43
const
std::unique_ptr<ITrigJetHypoInfoCollector>&)
const
;
44
45
const
static
unsigned
int
s_capacity
{1};
46
47
};
48
49
#endif
MomentCondition::capacity
virtual unsigned int capacity() const override
Definition:
MomentCondition.h:32
MomentCondition::MomentCondition
MomentCondition(double mMin, double mMax, const std::string &moment)
Definition:
MomentCondition.cxx:13
MomentCondition::s_capacity
static const unsigned int s_capacity
Definition:
MomentCondition.h:45
MomentCondition::m_min
double m_min
Definition:
MomentCondition.h:38
pHypoJet
std::shared_ptr< const HypoJet::IJet > pHypoJet
Definition:
HypoJetDefs.h:25
MomentCondition
Definition:
MomentCondition.h:25
ITrigJetHypoInfoCollector
Definition:
ITrigJetHypoInfoCollector.h:9
MomentCondition::isSatisfied
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition:
MomentCondition.cxx:64
ICondition
Definition:
ICondition.h:22
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition:
HypoJetDefs.h:27
MomentCondition::m_max
double m_max
Definition:
MomentCondition.h:39
MomentCondition::toString
std::string toString() const override
Definition:
MomentCondition.cxx:71
ICondition.h
MomentCondition::m_moment
std::string m_moment
Definition:
MomentCondition.h:40
HypoJet
Definition:
AcceptAllCondition.h:19
Generated on Sun Dec 22 2024 21:14:40 for ATLAS Offline Software by
1.8.18