Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 
24 class NNJVTCondition: public ICondition{
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
NNJVTCondition::s_capacity
static const unsigned int s_capacity
Definition: NNJVTCondition.h:41
NNJVTCondition::m_nnjvtpass_acc
std::unique_ptr< SG::ConstAccessor< char > > m_nnjvtpass_acc
Definition: NNJVTCondition.h:39
NNJVTCondition::m_nnjvt_acc
std::unique_ptr< SG::ConstAccessor< float > > m_nnjvt_acc
Definition: NNJVTCondition.h:38
NNJVTCondition::toString
std::string toString() const override
Definition: NNJVTCondition.cxx:57
NNJVTCondition::m_nnjvt_name
std::string m_nnjvt_name
Definition: NNJVTCondition.h:36
NNJVTCondition::isSatisfied
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition: NNJVTCondition.cxx:18
ITrigJetHypoInfoCollector
Definition: ITrigJetHypoInfoCollector.h:9
ICondition
Definition: ICondition.h:22
NNJVTCondition::NNJVTCondition
NNJVTCondition(const std::string &nnjvt_name)
Definition: NNJVTCondition.cxx:11
NNJVTCondition::capacity
virtual unsigned int capacity() const override
Definition: NNJVTCondition.h:32
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition: HypoJetDefs.h:27
NNJVTCondition
Definition: NNJVTCondition.h:24
ConstAccessor.h
Helper class to provide constant type-safe access to aux data.
ICondition.h