ATLAS Offline Software
TLACondition.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_TLACONDITION_H
6 #define TRIGHLTJETHYPO_TLACONDITION_H
7 
8 /********************************************************************
9  *
10  * NAME: TLACondition.h
11  * PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
12  *
13  * AUTHOR: P. Sherwood
14  *
15  *********************************************************************/
16 
18 #include "./ICondition.h"
19 
21 
22 
23 class TLACondition: public ICondition{
24  public:
25  TLACondition(const std::vector<double>& etaMins,
26  const std::vector<double>& etaMaxs,
27  const std::vector<double>& ystarMins,
28  const std::vector<double>& ystarMaxs,
29  const std::vector<double>& massMins,
30  const std::vector<double>& massMaxs);
31 
32  TLACondition(double etaMin,
33  double etaMax,
34  double ystarMin,
35  double ystarMax,
36  double massMin,
37  double massMax);
38 
39  ~TLACondition() override {}
40 
41  bool isSatisfied(const HypoJetVector&,
42  const std::unique_ptr<ITrigJetHypoInfoCollector>&) const override;
43  std::string toString() const override;
44 
45  virtual unsigned int capacity() const override {return s_capacity;}
46 
47  private:
48  double m_etaMin;
49  double m_etaMax;
50  double m_ystarMin;
51  double m_ystarMax;
52  double m_massMin;
53  double m_massMax;
54 
55  const static unsigned int s_capacity{1};
56 
57 };
58 
59 #endif
TLACondition::~TLACondition
~TLACondition() override
Definition: TLACondition.h:39
IJet.h
TLACondition::m_massMin
double m_massMin
Definition: TLACondition.h:52
xAOD::etaMax
etaMax
Definition: HIEventShape_v2.cxx:46
TLACondition::toString
std::string toString() const override
Definition: TLACondition.cxx:90
TLACondition
Definition: TLACondition.h:23
TLACondition::m_massMax
double m_massMax
Definition: TLACondition.h:53
TLACondition::capacity
virtual unsigned int capacity() const override
Definition: TLACondition.h:45
ITrigJetHypoInfoCollector
Definition: ITrigJetHypoInfoCollector.h:9
TLACondition::isSatisfied
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition: TLACondition.cxx:58
ICondition
Definition: ICondition.h:22
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition: HypoJetDefs.h:27
TLACondition::m_ystarMin
double m_ystarMin
Definition: TLACondition.h:50
TLACondition::s_capacity
static const unsigned int s_capacity
Definition: TLACondition.h:55
TLACondition::m_etaMin
double m_etaMin
Definition: TLACondition.h:48
TLACondition::m_etaMax
double m_etaMax
Definition: TLACondition.h:49
LArCellBinning.etaMin
etaMin
Definition: LArCellBinning.py:84
TLACondition::m_ystarMax
double m_ystarMax
Definition: TLACondition.h:51
ICondition.h
TLACondition::TLACondition
TLACondition(const std::vector< double > &etaMins, const std::vector< double > &etaMaxs, const std::vector< double > &ystarMins, const std::vector< double > &ystarMaxs, const std::vector< double > &massMins, const std::vector< double > &massMaxs)
Definition: TLACondition.cxx:13