ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
ConditionsDefs.h
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition
HypoJetDefs.h:27
ICondition.h
CompoundCondition::CompoundCondition
CompoundCondition(const CompoundCondition &)=delete
CompoundCondition::isSatisfied
virtual bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition
CompoundCondition.cxx:31
CompoundCondition::m_elements
std::vector< Condition > m_elements
Definition
CompoundCondition.h:37
CompoundCondition::capacity
virtual unsigned int capacity() const override
Definition
CompoundCondition.h:31
CompoundCondition::toString
std::string toString() const override
Definition
CompoundCondition.cxx:59
CompoundCondition::CompoundCondition
CompoundCondition(std::vector< Condition > &elements)
Definition
CompoundCondition.cxx:13
CompoundCondition::m_capacity
unsigned int m_capacity
Definition
CompoundCondition.h:39
ICondition
Definition
ICondition.h:22
ITrigJetHypoInfoCollector
Definition
ITrigJetHypoInfoCollector.h:9
Generated on
for ATLAS Offline Software by
1.17.0