ATLAS Offline Software
Trigger
TrigHypothesis
TrigHLTJetHypo
src
CompoundCondition.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGHLTJETHYPO_COMPOUNDCONDITION_H
6
#define TRIGHLTJETHYPO_COMPOUNDCONDITION_H
7
8
/********************************************************************
9
*
10
* NAME: CompoundCondition.h
11
* PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
12
*
13
* AUTHOR: P. Sherwood
14
*********************************************************************/
15
16
#include <string>
17
#include "
./ICondition.h
"
18
#include "
./ConditionsDefs.h
"
19
20
class
ITrigJetHypoInfoCollector
;
21
22
class
CompoundCondition
:
public
ICondition
{
23
public
:
24
CompoundCondition
(std::vector<Condition>& elements);
25
26
CompoundCondition
(
const
CompoundCondition
&) =
delete
;
27
28
virtual
bool
isSatisfied
(
const
HypoJetVector
&,
29
const
std::unique_ptr<ITrigJetHypoInfoCollector>&)
const override
;
30
31
virtual
unsigned
int
capacity
()
const override
{
return
m_capacity
;}
32
33
34
std::string
toString
()
const override
;
35
private
:
36
37
std::vector<Condition>
m_elements
;
38
39
unsigned
int
m_capacity
;
40
41
};
42
43
#endif
CompoundCondition::m_elements
std::vector< Condition > m_elements
Definition:
CompoundCondition.h:37
CompoundCondition::toString
std::string toString() const override
Definition:
CompoundCondition.cxx:59
ConditionsDefs.h
CompoundCondition::CompoundCondition
CompoundCondition(const CompoundCondition &)=delete
CompoundCondition::m_capacity
unsigned int m_capacity
Definition:
CompoundCondition.h:39
ITrigJetHypoInfoCollector
Definition:
ITrigJetHypoInfoCollector.h:9
ICondition
Definition:
ICondition.h:22
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition:
HypoJetDefs.h:27
CompoundCondition::CompoundCondition
CompoundCondition(std::vector< Condition > &elements)
Definition:
CompoundCondition.cxx:13
CompoundCondition::capacity
virtual unsigned int capacity() const override
Definition:
CompoundCondition.h:31
CompoundCondition
Definition:
CompoundCondition.h:22
CompoundCondition::isSatisfied
virtual bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition:
CompoundCondition.cxx:31
ICondition.h
Generated on Thu Nov 7 2024 21:12:13 for ATLAS Offline Software by
1.8.18