ATLAS Offline Software
Loading...
Searching...
No Matches
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
21
23 public:
24 CompoundCondition(std::vector<Condition>& elements);
25
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
std::vector< pHypoJet > HypoJetVector
Definition HypoJetDefs.h:27
CompoundCondition(const CompoundCondition &)=delete
virtual bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
std::vector< Condition > m_elements
virtual unsigned int capacity() const override
std::string toString() const override
CompoundCondition(std::vector< Condition > &elements)
unsigned int m_capacity