ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
AthReentrantAlgorithm.h
LinkCounterAlg.icc
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
FlavorTagDiscriminants::LinkCounterAlg
Definition
LinkCounterAlg.h:18
FlavorTagDiscriminants::LinkCounterAlg::execute
virtual StatusCode execute(const EventContext &cxt) const override
FlavorTagDiscriminants::LinkCounterAlg< xAOD::IParticleContainer, xAOD::IParticleContainer >::m_minimumLinks
Gaudi::Property< size_t > m_minimumLinks
Definition
LinkCounterAlg.h:30
FlavorTagDiscriminants::LinkCounterAlg< xAOD::IParticleContainer, xAOD::IParticleContainer >::m_links
SG::ReadDecorHandleKey< xAOD::IParticleContainer > m_links
Definition
LinkCounterAlg.h:24
FlavorTagDiscriminants::LinkCounterAlg< xAOD::IParticleContainer, xAOD::IParticleContainer >::m_flag
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_flag
Definition
LinkCounterAlg.h:27
FlavorTagDiscriminants::LinkCounterAlg::initialize
virtual StatusCode initialize() override
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
FlavorTagDiscriminants
Definition
CaloChargedFlowDecoratorAlg.h:15
Generated on
for ATLAS Offline Software by
1.17.0