ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
FlavorTagJetDecorators
src
PrimaryVertexDecoratorAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef FLAVOR_TAG_DISCRIMINANTS_PRIMARY_VERTEX_DECORATOR_ALG_H
6
#define FLAVOR_TAG_DISCRIMINANTS_PRIMARY_VERTEX_DECORATOR_ALG_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
StoreGate/ReadHandleKey.h
"
10
#include "
StoreGate/WriteDecorHandleKey.h
"
11
12
#include "
xAODEventInfo/EventInfo.h
"
13
#include "
xAODTracking/VertexContainer.h
"
14
15
namespace
FlavorTagJetDecorators
{
16
22
23
class
PrimaryVertexDecoratorAlg
:
public
AthReentrantAlgorithm
{
24
public
:
25
PrimaryVertexDecoratorAlg
(
const
std::string& name,
26
ISvcLocator* pSvcLocator);
27
28
virtual
StatusCode
initialize
()
override
;
29
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
30
31
private
:
32
SG::ReadHandleKey<xAOD::VertexContainer>
m_vertexContainerKey
{
33
this
,
"VertexContainer"
,
"PrimaryVertices"
,
34
"Key for the input primary vertex collection"
};
35
36
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
37
this
,
"EventInfoContainer"
,
"EventInfo"
,
38
"Input EventInfo"
};
39
40
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_dec_nPrimaryVertices
{
41
this
,
"ftag_nPrimaryVertices"
,
"EventInfo.ftag_nPrimaryVertices"
,
42
"Number of primary vertices"
};
43
44
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_dec_primaryVertexZ
{
45
this
,
"ftag_primaryVertexZ"
,
"EventInfo.ftag_primaryVertexZ"
,
46
"Primary vertex z position"
};
47
};
48
49
}
// namespace FlavorTagJetDecorators
50
51
#endif
AthReentrantAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
VertexContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
FlavorTagJetDecorators::PrimaryVertexDecoratorAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
PrimaryVertexDecoratorAlg.h:36
FlavorTagJetDecorators::PrimaryVertexDecoratorAlg::m_dec_nPrimaryVertices
SG::WriteDecorHandleKey< xAOD::EventInfo > m_dec_nPrimaryVertices
Definition
PrimaryVertexDecoratorAlg.h:40
FlavorTagJetDecorators::PrimaryVertexDecoratorAlg::PrimaryVertexDecoratorAlg
PrimaryVertexDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
PrimaryVertexDecoratorAlg.cxx:17
FlavorTagJetDecorators::PrimaryVertexDecoratorAlg::m_dec_primaryVertexZ
SG::WriteDecorHandleKey< xAOD::EventInfo > m_dec_primaryVertexZ
Definition
PrimaryVertexDecoratorAlg.h:44
FlavorTagJetDecorators::PrimaryVertexDecoratorAlg::initialize
virtual StatusCode initialize() override
Definition
PrimaryVertexDecoratorAlg.cxx:21
FlavorTagJetDecorators::PrimaryVertexDecoratorAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
PrimaryVertexDecoratorAlg.cxx:32
FlavorTagJetDecorators::PrimaryVertexDecoratorAlg::m_vertexContainerKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainerKey
Definition
PrimaryVertexDecoratorAlg.h:32
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
FlavorTagJetDecorators
Definition
JetOverlapLeptonDecoratorAlg.cxx:25
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0