ATLAS Offline Software
DijetDEtaCondition.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_DIJETDETACONDITION_H
6 #define TRIGHLTJETHYPO_DIJETDETACONDITION_H
7 
8 /********************************************************************
9  *
10  * NAME: DijetDEtaCondition.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  DijetDEtaCondition(double detaMin,
29  double detaMax);
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 
44  // cuts on the two jet dEta
45  double m_min;
46  double m_max;
47 
48  const static unsigned int s_capacity{2};
49 
50 };
51 
52 #endif
DijetDEtaCondition::s_capacity
static const unsigned int s_capacity
Definition: DijetDEtaCondition.h:48
IJet.h
DijetDEtaCondition::m_max
double m_max
Definition: DijetDEtaCondition.h:46
DijetDEtaCondition::capacity
virtual unsigned int capacity() const override
Definition: DijetDEtaCondition.h:36
DijetDEtaCondition::passJetCuts
bool passJetCuts(pHypoJet, pHypoJet) const
pHypoJet
std::shared_ptr< const HypoJet::IJet > pHypoJet
Definition: HypoJetDefs.h:25
DijetDEtaCondition::DijetDEtaCondition
DijetDEtaCondition(double detaMin, double detaMax)
Definition: DijetDEtaCondition.cxx:13
ITrigJetHypoInfoCollector
Definition: ITrigJetHypoInfoCollector.h:9
ICondition
Definition: ICondition.h:22
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition: HypoJetDefs.h:27
DijetDEtaCondition::isSatisfied
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition: DijetDEtaCondition.cxx:21
DijetDEtaCondition::m_min
double m_min
Definition: DijetDEtaCondition.h:45
DijetDEtaCondition
Definition: DijetDEtaCondition.h:26
ICondition.h
DijetDEtaCondition::passDijetDEtaCuts
bool passDijetDEtaCuts(pHypoJet, pHypoJet) const
DijetDEtaCondition::toString
std::string toString() const override
Definition: DijetDEtaCondition.cxx:62