ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
14
15namespace FlavorTagJetDecorators {
16
22
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:
33 this, "VertexContainer", "PrimaryVertices",
34 "Key for the input primary vertex collection"};
35
37 this, "EventInfoContainer", "EventInfo",
38 "Input EventInfo"};
39
41 this, "ftag_nPrimaryVertices", "EventInfo.ftag_nPrimaryVertices",
42 "Number of primary vertices"};
43
45 this, "ftag_primaryVertexZ", "EventInfo.ftag_primaryVertexZ",
46 "Primary vertex z position"};
47 };
48
49} // namespace FlavorTagJetDecorators
50
51#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_dec_nPrimaryVertices
PrimaryVertexDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteDecorHandleKey< xAOD::EventInfo > m_dec_primaryVertexZ
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainerKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.