ATLAS Offline Software
Loading...
Searching...
No Matches
DijetMassCondition.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_DIJETMASSCONDITION_H
6#define TRIGHLTJETHYPO_DIJETMASSCONDITION_H
7
8/********************************************************************
9 *
10 * NAME: DijetMassCondition.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 DijetMassCondition(double massMin,
29 double massMax);
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 // cuts on dijet mass
44 double m_min;
45 double m_max;
46
47 const static unsigned int s_capacity{2};
48};
49
50#endif
std::vector< pHypoJet > HypoJetVector
Definition HypoJetDefs.h:27
std::shared_ptr< const HypoJet::IJet > pHypoJet
Definition HypoJetDefs.h:25
std::string toString() const override
virtual unsigned int capacity() const override
bool passJetCuts(pHypoJet, pHypoJet) const
DijetMassCondition(double massMin, double massMax)
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
bool passDijetMassCuts(pHypoJet, pHypoJet) const
static const unsigned int s_capacity