ATLAS Offline Software
Loading...
Searching...
No Matches
PhiCondition.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGHLTJETHYPO_PHICONDITIONSIGNED_H
6#define TRIGHLTJETHYPO_PHICONDITIONSIGNED_H
7
8
9/********************************************************************
10 *
11 * NAME: PhiConditionSigned.h
12 * PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
13 *
14 * AUTHOR: P. Sherwood
15 *********************************************************************/
16
17#include <string>
18#include "./ICondition.h"
19
20namespace HypoJet{
21 class IJet;
22}
23
25
27 public:
28 PhiCondition(double phiMin,
29 double phiMax);
30
31 bool isSatisfied(const HypoJetVector&,
32 const std::unique_ptr<ITrigJetHypoInfoCollector>&) const override;
33
34 virtual unsigned int capacity() const override{return s_capacity;}
35 std::string toString() const override;
36
37 private:
38
39 double m_min;
40 double m_max;
41 bool isSatisfied(const pHypoJet&,
42 const std::unique_ptr<ITrigJetHypoInfoCollector>&) const;
43
44 const static unsigned int s_capacity{1};
45
46};
47
48#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
PhiCondition(double phiMin, double phiMax)
std::string toString() const override
virtual unsigned int capacity() const override
static const unsigned int s_capacity