ATLAS Offline Software
TimingCondition.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_TIMINGCONDITION_H
6 #define TRIGHLTJETHYPO_TIMINGCONDITION_H
7 
8 /********************************************************************
9  *
10  * NAME: TimingCondition.h
11  * PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
12  *
13  *********************************************************************/
14 
16 #include "./ICondition.h"
17 #include <vector>
18 #include <string>
19 
21 
23  public:
24  TimingCondition(double t_min,
25  double t_max);
26 
27  bool isSatisfied(const HypoJetVector&, const std::unique_ptr<ITrigJetHypoInfoCollector>&) const override;
28 
29  std::string toString() const override;
30 
31  virtual unsigned int capacity() const override{return s_capacity;}
32 
33  private:
34 
35 
36  double m_min;
37  double m_max;
38  const static unsigned int s_capacity{1};
39 
40 };
41 
42 #endif
TimingCondition::m_max
double m_max
Definition: TimingCondition.h:37
TimingCondition::toString
std::string toString() const override
Definition: TimingCondition.cxx:55
TimingCondition::isSatisfied
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition: TimingCondition.cxx:19
IJet.h
TimingCondition::m_min
double m_min
Definition: TimingCondition.h:36
TimingCondition::s_capacity
static const unsigned int s_capacity
Definition: TimingCondition.h:38
ITrigJetHypoInfoCollector
Definition: ITrigJetHypoInfoCollector.h:9
ICondition
Definition: ICondition.h:22
TimingCondition
Definition: TimingCondition.h:22
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition: HypoJetDefs.h:27
TimingCondition::TimingCondition
TimingCondition(double t_min, double t_max)
Definition: TimingCondition.cxx:13
ICondition.h
TimingCondition::capacity
virtual unsigned int capacity() const override
Definition: TimingCondition.h:31