ATLAS Offline Software
Loading...
Searching...
No Matches
HitBeamSpotDataDecoratorAlg.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 HIT_BEAMSPOT_DATA_DECORATOR_ALG_HH
6#define HIT_BEAMSPOT_DATA_DECORATOR_ALG_HH
7
8// FrameWork includes
10
11// Containers
13
14// Online beamspot access in the HLT/EF
17
18// Read and write handle keys
21
22#include <Math/Vector3D.h>
23
24
25namespace FlavorTagDiscriminants {
26
32
33public:
34 HitBeamSpotDataDecoratorAlg(const std::string& name,
35 ISvcLocator* pSvcLocator);
36
37 virtual StatusCode initialize() override;
38 virtual StatusCode execute(const EventContext& ctx) const override;
39
40
41private:
42 // Read and write handle keys for hits
44 this, "hitContainer", "PixelClusters", "Key for hits"};
45
47 this, "hitsXRelToBeamspotDecorator", m_HitContainerKey, "HitsXRelToBeamspot", "Key for output hits x coordinate relative to the vertex"};
48
50 this, "hitsYRelToBeamspotDecorator", m_HitContainerKey, "HitsYRelToBeamspot", "Key for output hits y coordinate relative to the vertex"};
51
53 this, "hitsZRelToBeamspotDecorator", m_HitContainerKey, "HitsZRelToBeamspot", "Key for output hits z coordinate relative to the vertex"};
54
55
57 this, "beamSpotKey", "", "Key for BeamSpot confition data"};
58
59 StatusCode getEventVertex(const EventContext& ctx, ROOT::Math::XYZVector& vtx) const;
60};
61
62}
63
64#endif
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle 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::TrackMeasurementValidationContainer > m_OutputHitZKey
HitBeamSpotDataDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_OutputHitYKey
SG::ReadHandleKey< xAOD::TrackMeasurementValidationContainer > m_HitContainerKey
StatusCode getEventVertex(const EventContext &ctx, ROOT::Math::XYZVector &vtx) const
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_OutputHitXKey
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.