ATLAS Offline Software
Trigger
TrigHypothesis
TrigHLTJetHypo
src
SMCCondition.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_SMCCONDITION_H
6
#define TRIGHLTJETHYPO_SMCCONDITION_H
7
8
/********************************************************************
9
*
10
* NAME: SMCCondition.h (mass of jet consition
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
SMCCondition
:
public
ICondition
{
26
public
:
27
SMCCondition
(
double
massMin,
28
double
massMax);
29
30
bool
isSatisfied
(
const
HypoJetVector
&,
31
const
std::unique_ptr<ITrigJetHypoInfoCollector>&)
const override
;
32
33
virtual
unsigned
int
capacity
()
const override
{
return
s_capacity
;}
34
std::string
toString
()
const override
;
35
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
SMCCondition::s_capacity
static const unsigned int s_capacity
Definition:
SMCCondition.h:43
SMCCondition::isSatisfied
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition:
SMCCondition.cxx:46
SMCCondition::m_max
double m_max
Definition:
SMCCondition.h:39
SMCCondition::m_min
double m_min
Definition:
SMCCondition.h:38
SMCCondition::SMCCondition
SMCCondition(double massMin, double massMax)
Definition:
SMCCondition.cxx:13
SMCCondition::toString
std::string toString() const override
Definition:
SMCCondition.cxx:53
pHypoJet
std::shared_ptr< const HypoJet::IJet > pHypoJet
Definition:
HypoJetDefs.h:25
ITrigJetHypoInfoCollector
Definition:
ITrigJetHypoInfoCollector.h:9
SMCCondition::capacity
virtual unsigned int capacity() const override
Definition:
SMCCondition.h:33
ICondition
Definition:
ICondition.h:22
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition:
HypoJetDefs.h:27
SMCCondition
Definition:
SMCCondition.h:25
ICondition.h
HypoJet
Definition:
AcceptAllCondition.h:19
Generated on Thu Nov 7 2024 21:26:22 for ATLAS Offline Software by
1.8.18