ATLAS Offline Software
HTConditionFastReduction.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGHLTJETHYPO_HTCONDITIONFASTREDUCTION_H
6 #define TRIGHLTJETHYPO_HTCONDITIONFASTREDUCTION_H
7 
8 /********************************************************************
9  *
10  * NAME: HTConditionFastReduction.h
11  * PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
12  *
13  * AUTHOR: P. Sherwood
14  *********************************************************************/
15 
16 #include "./ICondition.h"
17 
18 #include <string>
19 
20 
21 namespace HypoJet{
22  class IJet;
23 }
24 
25 
27 
29  public:
30 
31 
32  HTConditionFastReduction(double htMin, double htMax);
33 
34 
36 
37  bool isSatisfied(const HypoJetVector&,
38  const std::unique_ptr<ITrigJetHypoInfoCollector>&) const override;
39 
40  std::string toString() const override;
41  virtual unsigned int capacity() const override {return s_capacity;}
42 
43  private:
44 
45  double m_htMin;
46 
47  // number of jets unspecified - signalled by 0.
48  const static unsigned int s_capacity{0};
49 
50 
51 };
52 
53 #endif
HTConditionFastReduction::HTConditionFastReduction
HTConditionFastReduction(double htMin, double htMax)
Definition: HTConditionFastReduction.cxx:14
HTConditionFastReduction::capacity
virtual unsigned int capacity() const override
Definition: HTConditionFastReduction.h:41
ITrigJetHypoInfoCollector
Definition: ITrigJetHypoInfoCollector.h:9
HTConditionFastReduction::toString
std::string toString() const override
Definition: HTConditionFastReduction.cxx:53
ICondition
Definition: ICondition.h:22
HTConditionFastReduction
Definition: HTConditionFastReduction.h:28
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition: HypoJetDefs.h:27
HTConditionFastReduction::isSatisfied
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition: HTConditionFastReduction.cxx:21
HTConditionFastReduction::s_capacity
static const unsigned int s_capacity
Definition: HTConditionFastReduction.h:48
HTConditionFastReduction::~HTConditionFastReduction
~HTConditionFastReduction() override
Definition: HTConditionFastReduction.h:35
HTConditionFastReduction::m_htMin
double m_htMin
Definition: HTConditionFastReduction.h:45
ICondition.h
HypoJet
Definition: AcceptAllCondition.h:19