ATLAS Offline Software
QjetMassCondition.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_QJETMASSCONDITION_H
6 #define TRIGHLTJETHYPO_QJETMASSCONDITION_H
7 
8 /********************************************************************
9  *
10  * NAME: QjetMassCondition.h
11  * PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
12  *
13  * Cuts on pairs of jets makling up a qjet
14  *
15  * AUTHOR: P. Sherwood
16  *
17  *********************************************************************/
18 
20 #include "./ICondition.h"
21 #include <vector>
22 #include <string>
23 
25 
27  public:
28  QjetMassCondition(double massMin,
29  double massMax);
30 
31  bool isSatisfied(const HypoJetVector&,
32  const std::unique_ptr<ITrigJetHypoInfoCollector>&) const override;
33 
34  std::string toString() const override;
35 
36  virtual unsigned int capacity() const override{return s_capacity;}
37 
38  private:
39 
42 
43  // cuts on qjet mass
44  double m_min;
45  double m_max;
46 
47  const static unsigned int s_capacity{4};
48 };
49 
50 #endif
QjetMassCondition::isSatisfied
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition: QjetMassCondition.cxx:20
IJet.h
QjetMassCondition::capacity
virtual unsigned int capacity() const override
Definition: QjetMassCondition.h:36
QjetMassCondition::m_min
double m_min
Definition: QjetMassCondition.h:44
pHypoJet
std::shared_ptr< const HypoJet::IJet > pHypoJet
Definition: HypoJetDefs.h:25
ITrigJetHypoInfoCollector
Definition: ITrigJetHypoInfoCollector.h:9
QjetMassCondition::toString
std::string toString() const override
Definition: QjetMassCondition.cxx:66
ICondition
Definition: ICondition.h:22
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition: HypoJetDefs.h:27
QjetMassCondition::passJetCuts
bool passJetCuts(pHypoJet, pHypoJet) const
QjetMassCondition::passQjetMassCuts
bool passQjetMassCuts(pHypoJet, pHypoJet) const
QjetMassCondition
Definition: QjetMassCondition.h:26
QjetMassCondition::s_capacity
static const unsigned int s_capacity
Definition: QjetMassCondition.h:47
QjetMassCondition::m_max
double m_max
Definition: QjetMassCondition.h:45
QjetMassCondition::QjetMassCondition
QjetMassCondition(double massMin, double massMax)
Definition: QjetMassCondition.cxx:13
ICondition.h