ATLAS Offline Software
Loading...
Searching...
No Matches
NNJVTCondition.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGHLTJETHYPO_NNJVTCONDITION_H
6#define TRIGHLTJETHYPO_NNJVTCONDITION_H
7
8/********************************************************************
9 *
10 * NAME: NNJVTCondition.h
11 * PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
12 *
13 * AUTHOR: Teng Jian Khoo
14 *
15 *********************************************************************/
16
17#include "./ICondition.h"
19#include <string>
20#include<memory>
21
23
25 public:
26 NNJVTCondition(const std::string& nnjvt_name);
27
28 bool isSatisfied(const HypoJetVector&, const std::unique_ptr<ITrigJetHypoInfoCollector>&) const override;
29
30 std::string toString() const override;
31
32 virtual unsigned int capacity() const override{return s_capacity;}
33
34 private:
35
36 std::string m_nnjvt_name;
37
38 std::unique_ptr<SG::ConstAccessor<float> > m_nnjvt_acc;
39 std::unique_ptr<SG::ConstAccessor<char> > m_nnjvtpass_acc;
40
41 const static unsigned int s_capacity{1};
42
43};
44
45#endif
Helper class to provide constant type-safe access to aux data.
std::vector< pHypoJet > HypoJetVector
Definition HypoJetDefs.h:27
virtual unsigned int capacity() const override
std::string m_nnjvt_name
std::string toString() const override
std::unique_ptr< SG::ConstAccessor< float > > m_nnjvt_acc
NNJVTCondition(const std::string &nnjvt_name)
std::unique_ptr< SG::ConstAccessor< char > > m_nnjvtpass_acc
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
static const unsigned int s_capacity