ATLAS Offline Software
Loading...
Searching...
No Matches
SMCCondition.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_SMCCONDITION_H
6#define TRIGHLTJETHYPO_SMCCONDITION_H
7
8/********************************************************************
9 *
10 * NAME: SMCCondition.h (mass of jet consition
11 * PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
12 *
13 * AUTHOR: P. Sherwood
14 *********************************************************************/
15
16#include <string>
17#include "./ICondition.h"
18
19namespace HypoJet{
20 class IJet;
21}
22
24
26 public:
27 SMCCondition(double massMin,
28 double massMax);
29
30 bool isSatisfied(const HypoJetVector&,
31 const std::unique_ptr<ITrigJetHypoInfoCollector>&) const override;
32
33 virtual unsigned int capacity() const override{return s_capacity;}
34 std::string toString() const override;
35
36 private:
37
38 double m_min;
39 double m_max;
40 bool isSatisfied(const pHypoJet&,
41 const std::unique_ptr<ITrigJetHypoInfoCollector>&) const;
42
43 const static unsigned int s_capacity{1};
44
45};
46
47#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
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
virtual unsigned int capacity() const override
std::string toString() const override
SMCCondition(double massMin, double massMax)