ATLAS Offline Software
PhysicsAnalysis
JetTagging
FlavorTagDiscriminants
src
LinkCounterAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LINK_COUNTER_ALG_H
6
#define LINK_COUNTER_ALG_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
10
#include "
StoreGate/WriteDecorHandleKey.h
"
11
#include "
StoreGate/ReadDecorHandleKey.h
"
12
13
14
namespace
FlavorTagDiscriminants
{
15
16
template
<
typename
T,
typename
C>
17
class
LinkCounterAlg
:
public
AthReentrantAlgorithm
18
{
19
public
:
20
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
21
virtual
StatusCode
initialize
()
override
;
22
virtual
StatusCode
execute
(
const
EventContext& cxt)
const override
;
23
protected
:
24
SG::ReadDecorHandleKey<C>
m_links
{
25
this
,
"links"
,
""
,
"name of linked container"
26
};
27
SG::WriteDecorHandleKey<C>
m_flag
{
28
this
,
"flag"
,
"applyGNN"
,
"flag to confirm GNN application"
29
};
30
Gaudi::Property<size_t>
m_minimumLinks
{
31
this
,
"minimumLinks"
, 0,
"minimum number of links required to tag a jet"
32
};
33
};
34
35
}
36
37
#include "
LinkCounterAlg.icc
"
38
39
#endif
SG::WriteDecorHandleKey< C >
FlavorTagDiscriminants::LinkCounterAlg::m_links
SG::ReadDecorHandleKey< C > m_links
Definition:
LinkCounterAlg.h:24
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
FlavorTagDiscriminants
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition:
AssociationEnums.h:11
FlavorTagDiscriminants::LinkCounterAlg::m_flag
SG::WriteDecorHandleKey< C > m_flag
Definition:
LinkCounterAlg.h:27
FlavorTagDiscriminants::LinkCounterAlg
Definition:
LinkCounterAlg.h:18
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:74
FlavorTagDiscriminants::LinkCounterAlg::initialize
virtual StatusCode initialize() override
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
FlavorTagDiscriminants::LinkCounterAlg::m_minimumLinks
Gaudi::Property< size_t > m_minimumLinks
Definition:
LinkCounterAlg.h:30
AthReentrantAlgorithm.h
FlavorTagDiscriminants::LinkCounterAlg::execute
virtual StatusCode execute(const EventContext &cxt) const override
SG::ReadDecorHandleKey< C >
LinkCounterAlg.icc
Generated on Mon Mar 17 2025 21:14:22 for ATLAS Offline Software by
1.8.18