ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigHLTJetHypo
src
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
"
18
#include "
AthContainers/ConstAccessor.h
"
19
#include <string>
20
#include<memory>
21
22
class
ITrigJetHypoInfoCollector
;
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
ConstAccessor.h
Helper class to provide constant type-safe access to aux data.
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition
HypoJetDefs.h:27
ICondition.h
ICondition
Definition
ICondition.h:22
ITrigJetHypoInfoCollector
Definition
ITrigJetHypoInfoCollector.h:9
NNJVTCondition::capacity
virtual unsigned int capacity() const override
Definition
NNJVTCondition.h:32
NNJVTCondition::m_nnjvt_name
std::string m_nnjvt_name
Definition
NNJVTCondition.h:36
NNJVTCondition::toString
std::string toString() const override
Definition
NNJVTCondition.cxx:57
NNJVTCondition::m_nnjvt_acc
std::unique_ptr< SG::ConstAccessor< float > > m_nnjvt_acc
Definition
NNJVTCondition.h:38
NNJVTCondition::NNJVTCondition
NNJVTCondition(const std::string &nnjvt_name)
Definition
NNJVTCondition.cxx:11
NNJVTCondition::m_nnjvtpass_acc
std::unique_ptr< SG::ConstAccessor< char > > m_nnjvtpass_acc
Definition
NNJVTCondition.h:39
NNJVTCondition::isSatisfied
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition
NNJVTCondition.cxx:18
NNJVTCondition::s_capacity
static const unsigned int s_capacity
Definition
NNJVTCondition.h:41
Generated on
for ATLAS Offline Software by
1.17.0