5#ifndef HIT_DECORATOR_ALG_HH
6#define HIT_DECORATOR_ALG_HH
20#include <Math/Vector3D.h>
35 ISvcLocator* pSvcLocator );
38 virtual StatusCode
execute(
const EventContext& ctx)
const override;
44 this,
"hitContainer",
"PixelClusters",
"Key for hits"};
48 this,
"hitsXRelToBeamspotDecorator",
m_HitContainerKey,
"HitsXRelToBeamspot",
"Key for output hits x coordinate relative to beamspot"};
51 this,
"hitsYRelToBeamspotDecorator",
m_HitContainerKey,
"HitsYRelToBeamspot",
"Key for output hits y coordinate relative to beamspot"};
54 this,
"hitsZRelToBeamspotDecorator",
m_HitContainerKey,
"HitsZRelToBeamspot",
"Key for output hits z coordinate relative to beamspot"};
57 this,
"vertices",
"",
"Key for Vertices collection, if using a wedge selection w.r.t. the primary vertex"};
60 this,
"eventInfo",
"EventInfo",
"Key for EventInfo"};
62 StatusCode
getEventVertex(
const EventContext& ctx, ROOT::Math::XYZVector& vtx)
const;
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.
HitDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< xAOD::VertexContainer > m_verticesKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_OutputHitXKey
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_OutputHitZKey
StatusCode getEventVertex(const EventContext &ctx, ROOT::Math::XYZVector &vtx) const
SG::ReadHandleKey< xAOD::TrackMeasurementValidationContainer > m_HitContainerKey
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_OutputHitYKey
virtual StatusCode initialize() override
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.