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