ATLAS Offline Software
Loading...
Searching...
No Matches
DijetDPhiCondition.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_DIJETDPHICONDITION_H
6#define TRIGHLTJETHYPO_DIJETDPHICONDITION_H
7
8
9/********************************************************************
10 *
11 * NAME: DijetDPhiCondition.h
12 * PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
13 *
14 * Cuts on pairs of jets makling up a dijet
15 *
16 * AUTHOR: P. Sherwood
17 *
18 *********************************************************************/
19
21#include "./ICondition.h"
22#include <vector>
23#include <string>
24
26
28 public:
29 DijetDPhiCondition(double detaMin,
30 double detaMax);
31
32 bool isSatisfied(const HypoJetVector&,
33 const std::unique_ptr<ITrigJetHypoInfoCollector>&) const override;
34
35 std::string toString() const override;
36
37 virtual unsigned int capacity() const override{return s_capacity;}
38
39 private:
40
43
44 // cuts on dphi of jets
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
static const unsigned int s_capacity
virtual unsigned int capacity() const override
DijetDPhiCondition(double detaMin, double detaMax)
std::string toString() const override
bool passJetCuts(pHypoJet, pHypoJet) const
bool passDijetDPhiCuts(pHypoJet, pHypoJet) const
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override