ATLAS Offline Software
DijetMassCondition.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_DIJETMASSCONDITION_H
6 #define TRIGHLTJETHYPO_DIJETMASSCONDITION_H
7 
8 /********************************************************************
9  *
10  * NAME: DijetMassCondition.h
11  * PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
12  *
13  * Cuts on pairs of jets makling up a dijet
14  *
15  * AUTHOR: P. Sherwood
16  *
17  *********************************************************************/
18 
20 #include "./ICondition.h"
21 #include <vector>
22 #include <string>
23 
25 
27  public:
28  DijetMassCondition(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 dijet mass
44  double m_min;
45  double m_max;
46 
47  const static unsigned int s_capacity{2};
48 };
49 
50 #endif
IJet.h
DijetMassCondition::passDijetMassCuts
bool passDijetMassCuts(pHypoJet, pHypoJet) const
pHypoJet
std::shared_ptr< const HypoJet::IJet > pHypoJet
Definition: HypoJetDefs.h:25
DijetMassCondition::capacity
virtual unsigned int capacity() const override
Definition: DijetMassCondition.h:36
ITrigJetHypoInfoCollector
Definition: ITrigJetHypoInfoCollector.h:9
ICondition
Definition: ICondition.h:22
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition: HypoJetDefs.h:27
DijetMassCondition::passJetCuts
bool passJetCuts(pHypoJet, pHypoJet) const
DijetMassCondition::toString
std::string toString() const override
Definition: DijetMassCondition.cxx:63
DijetMassCondition::s_capacity
static const unsigned int s_capacity
Definition: DijetMassCondition.h:47
DijetMassCondition
Definition: DijetMassCondition.h:26
DijetMassCondition::isSatisfied
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition: DijetMassCondition.cxx:21
DijetMassCondition::DijetMassCondition
DijetMassCondition(double massMin, double massMax)
Definition: DijetMassCondition.cxx:13
ICondition.h
DijetMassCondition::m_max
double m_max
Definition: DijetMassCondition.h:45
DijetMassCondition::m_min
double m_min
Definition: DijetMassCondition.h:44