ATLAS Offline Software
Loading...
Searching...
No Matches
TrackHitAssignementAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRACKHITASSIGNEMENT_TRACKHITASSIGNEMENTALG_H
6#define TRACKHITASSIGNEMENT_TRACKHITASSIGNEMENTALG_H 1
7
9
10#include "GaudiKernel/ToolHandle.h"
14
15#include "AthLinks/ElementLink.h"
22
23
25 public:
26 TrackHitAssignementAlg( const std::string& name, ISvcLocator* pSvcLocator );
27 virtual ~TrackHitAssignementAlg();
28
29 //IS EXECUTED:
30 virtual StatusCode initialize() override; //once, before any input is loaded
31 virtual StatusCode execute(const EventContext& context) const override; //per event
32
33 private:
34
35 SG::ReadHandleKey<xAOD::TrackParticleContainer> m_tracks{this,"TrackParticles", "InDetTrackParticles", "Track Particles"};
36 SG::ReadHandleKey<TrackCollection> m_TrackCollection{this,"TrackCollection", "CombinedInDetTracks", "InnerDetTracks"};
37
38 SG::ReadHandleKey<xAOD::TrackMeasurementValidationContainer> m_JetPixelCluster{this,"JetAssociatedPixelClusters", "JetAssociatedPixelClusters", "PixelClusters"};
39 SG::ReadHandleKey<xAOD::TrackMeasurementValidationContainer> m_JetSCTCluster{this,"JetAssociatedSCTClusters", "JetAssociatedSCTClusters", "SCTClusters"};
40
45
46};
47
48#endif //> !TRACKHITASSIGNEMENT_TRACKHITASSIGNEMENTALG_H
Base class for elements of a container that can have aux data.
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.
Handle class for adding a decoration to an object.
An algorithm that can be simultaneously executed in multiple threads.
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.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tracks
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_JetPixelClusterHits
SG::ReadHandleKey< xAOD::TrackMeasurementValidationContainer > m_JetPixelCluster
SG::ReadHandleKey< TrackCollection > m_TrackCollection
TrackHitAssignementAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
SG::ReadHandleKey< xAOD::TrackMeasurementValidationContainer > m_JetSCTCluster
virtual StatusCode execute(const EventContext &context) const override
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_JetPixelClusterTrackAssocs
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_JetSCTClusterHits
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_JetSCTClusterTrackAssocs