ATLAS Offline Software
TimeSignificanceCondition.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGHLTJETHYPO_TIMESIGNIFICANCECONDITION_H
6 #define TRIGHLTJETHYPO_TIMESIGNIFICANCECONDITION_H
7 
8 /********************************************************************
9  *
10  * NAME: TimeSignificanceCondition.h
11  * PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
12  *
13  *********************************************************************/
14 
16 #include "./ICondition.h"
17 #include <vector>
18 #include <string>
19 
21 
23 
24  public:
25 
26  TimeSignificanceCondition(double t_minTimeSignificance, double t_maxTime);
27 
28  float getTmin(const float pt, const float m_minTimeSignificance) const;
29 
30  bool isSatisfied(const HypoJetVector&, const std::unique_ptr<ITrigJetHypoInfoCollector>&) const override;
31 
32  std::string toString() const override;
33 
34  virtual unsigned int capacity() const override {
35  return s_capacity;
36  }
37 
38  private:
39 
41  double m_maxTime;
42  const static unsigned int s_capacity{1};
43 
44 };
45 
46 #endif
TimeSignificanceCondition::m_maxTime
double m_maxTime
Definition: TimeSignificanceCondition.h:41
TimeSignificanceCondition::capacity
virtual unsigned int capacity() const override
Definition: TimeSignificanceCondition.h:34
IJet.h
TimeSignificanceCondition::TimeSignificanceCondition
TimeSignificanceCondition(double t_minTimeSignificance, double t_maxTime)
Definition: TimeSignificanceCondition.cxx:12
test_pyathena.pt
pt
Definition: test_pyathena.py:11
TimeSignificanceCondition
Definition: TimeSignificanceCondition.h:22
TimeSignificanceCondition::getTmin
float getTmin(const float pt, const float m_minTimeSignificance) const
Definition: TimeSignificanceCondition.cxx:17
ITrigJetHypoInfoCollector
Definition: ITrigJetHypoInfoCollector.h:9
ICondition
Definition: ICondition.h:22
TimeSignificanceCondition::s_capacity
static const unsigned int s_capacity
Definition: TimeSignificanceCondition.h:42
TimeSignificanceCondition::isSatisfied
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition: TimeSignificanceCondition.cxx:28
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition: HypoJetDefs.h:27
TimeSignificanceCondition::m_minTimeSignificance
double m_minTimeSignificance
Definition: TimeSignificanceCondition.h:40
TimeSignificanceCondition::toString
std::string toString() const override
Definition: TimeSignificanceCondition.cxx:68
ICondition.h