ATLAS Offline Software
Loading...
Searching...
No Matches
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
std::vector< pHypoJet > HypoJetVector
Definition HypoJetDefs.h:27
std::shared_ptr< const HypoJet::IJet > pHypoJet
Definition HypoJetDefs.h:25
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
virtual unsigned int capacity() const override
std::string toString() const override
static const unsigned int s_capacity
DijetDEtaCondition(double detaMin, double detaMax)
bool passJetCuts(pHypoJet, pHypoJet) const
bool passDijetDEtaCuts(pHypoJet, pHypoJet) const