ATLAS Offline Software
SCTExtensionAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef SCTExtensionAlg_H
6 #define SCTExtensionAlg_H
7 
11 
13  public:
14  SCTExtensionAlg (const std::string& name, ISvcLocator* pSvcLocator);
15  virtual StatusCode initialize() override;
16  virtual StatusCode execute(const EventContext& ctx) const override;
17  virtual StatusCode finalize() override;
18  private:
19  SG::ReadHandleKey<xAOD::TrackParticleContainer> m_pixelTracklets{this, "pixelTracklets", "InDetPixelTrackParticles"};
20  SG::ReadHandleKey<xAOD::TrackParticleContainer> m_tracks{this, "tracks", "InDetTrackParticles"};
21 };
22 
23 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SCTExtensionAlg::SCTExtensionAlg
SCTExtensionAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCTExtensionAlg.cxx:16
SG::ReadHandleKey< xAOD::TrackParticleContainer >
SCTExtensionAlg::finalize
virtual StatusCode finalize() override
Definition: SCTExtensionAlg.cxx:148
SCTExtensionAlg
Definition: SCTExtensionAlg.h:12
SCTExtensionAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: SCTExtensionAlg.cxx:32
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SCTExtensionAlg::initialize
virtual StatusCode initialize() override
Definition: SCTExtensionAlg.cxx:22
SCTExtensionAlg::m_pixelTracklets
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_pixelTracklets
Definition: SCTExtensionAlg.h:19
SCTExtensionAlg::m_tracks
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tracks
Definition: SCTExtensionAlg.h:20
TrackParticleContainer.h