ATLAS Offline Software
JVTCondition.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_JVTCONDITION_H
6 #define TRIGHLTJETHYPO_JVTCONDITION_H
7 
8 /********************************************************************
9  *
10  * NAME: JVTCondition.h
11  * PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
12  *
13  * AUTHOR: Jona Bossio
14  *
15  *********************************************************************/
16 
18 #include "./ICondition.h"
19 #include <vector>
20 #include <string>
21 
23 
24 class JVTCondition: public ICondition{
25  public:
26  JVTCondition(double workingPoint);
27 
28  bool isSatisfied(const HypoJetVector&, const std::unique_ptr<ITrigJetHypoInfoCollector>&) const override;
29 
30  std::string toString() const override;
31 
32  virtual unsigned int capacity() const override{return s_capacity;}
33 
34  private:
35 
37  double m_maxEta = 2.5;
38  double m_maxPt = 60;
39 
40  const static unsigned int s_capacity{1};
41 
42 };
43 
44 #endif
JVTCondition
Definition: JVTCondition.h:24
IJet.h
JVTCondition::m_maxPt
double m_maxPt
Definition: JVTCondition.h:38
JVTCondition::toString
std::string toString() const override
Definition: JVTCondition.cxx:72
ITrigJetHypoInfoCollector
Definition: ITrigJetHypoInfoCollector.h:9
ICondition
Definition: ICondition.h:22
JVTCondition::s_capacity
static const unsigned int s_capacity
Definition: JVTCondition.h:40
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition: HypoJetDefs.h:27
JVTCondition::m_maxEta
double m_maxEta
Definition: JVTCondition.h:37
JVTCondition::JVTCondition
JVTCondition(double workingPoint)
Definition: JVTCondition.cxx:13
JVTCondition::capacity
virtual unsigned int capacity() const override
Definition: JVTCondition.h:32
JVTCondition::isSatisfied
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition: JVTCondition.cxx:18
ICondition.h
JVTCondition::m_workingPoint
double m_workingPoint
Definition: JVTCondition.h:36