5#ifndef FLAVOR_TAG_DISCRIMINANTS_PRIMARY_VERTEX_DECORATOR_ALG_H
6#define FLAVOR_TAG_DISCRIMINANTS_PRIMARY_VERTEX_DECORATOR_ALG_H
26 ISvcLocator* pSvcLocator);
29 virtual StatusCode
execute(
const EventContext& ctx)
const override;
33 this,
"VertexContainer",
"PrimaryVertices",
34 "Key for the input primary vertex collection"};
37 this,
"EventInfoContainer",
"EventInfo",
41 this,
"ftag_nPrimaryVertices",
"EventInfo.ftag_nPrimaryVertices",
42 "Number of primary vertices"};
45 this,
"ftag_primaryVertexZ",
"EventInfo.ftag_primaryVertexZ",
46 "Primary vertex z position"};
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::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_dec_nPrimaryVertices
PrimaryVertexDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteDecorHandleKey< xAOD::EventInfo > m_dec_primaryVertexZ
virtual StatusCode initialize() override
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.