ATLAS Offline Software
EtaConditionAbs.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_ETACONDITIONABS_H
6 #define TRIGHLTJETHYPO_ETACONDITIONABS_H
7 
8 /********************************************************************
9  *
10  * NAME: EtaConditionAbs.h
11  * PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
12  *
13  * AUTHOR: P. Sherwood
14  *********************************************************************/
15 
16 #include <string>
17 #include "./ICondition.h"
18 
19 namespace HypoJet{
20  class IJet;
21 }
22 
24 
26  public:
27  EtaConditionAbs(double etaMin,
28  double etaMax);
29 
30  bool isSatisfied(const HypoJetVector&,
31  const std::unique_ptr<ITrigJetHypoInfoCollector>&) const override;
32 
33  virtual unsigned int capacity() const override{return s_capacity;}
34  std::string toString() const override;
35 
36  private:
37 
38  double m_min;
39  double m_max;
40  bool isSatisfied(const pHypoJet&,
41  const std::unique_ptr<ITrigJetHypoInfoCollector>&) const;
42 
43  const static unsigned int s_capacity{1};
44 
45 };
46 
47 #endif
EtaConditionAbs::EtaConditionAbs
EtaConditionAbs(double etaMin, double etaMax)
Definition: EtaConditionAbs.cxx:13
EtaConditionAbs::toString
std::string toString() const override
Definition: EtaConditionAbs.cxx:53
EtaConditionAbs
Definition: EtaConditionAbs.h:25
EtaConditionAbs::s_capacity
static const unsigned int s_capacity
Definition: EtaConditionAbs.h:43
xAOD::etaMax
etaMax
Definition: HIEventShape_v2.cxx:46
EtaConditionAbs::m_max
double m_max
Definition: EtaConditionAbs.h:39
pHypoJet
std::shared_ptr< const HypoJet::IJet > pHypoJet
Definition: HypoJetDefs.h:25
ITrigJetHypoInfoCollector
Definition: ITrigJetHypoInfoCollector.h:9
ICondition
Definition: ICondition.h:22
EtaConditionAbs::m_min
double m_min
Definition: EtaConditionAbs.h:38
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition: HypoJetDefs.h:27
EtaConditionAbs::isSatisfied
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition: EtaConditionAbs.cxx:46
LArCellBinning.etaMin
etaMin
Definition: LArCellBinning.py:84
EtaConditionAbs::capacity
virtual unsigned int capacity() const override
Definition: EtaConditionAbs.h:33
ICondition.h
HypoJet
Definition: AcceptAllCondition.h:19