ATLAS Offline Software
ProtoTrackReportingAlg.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 ACTSTRACKRECONSTRUCTION_PROTOTRACKREPORTINGALG_H
6 #define ACTSTRACKRECONSTRUCTION_PROTOTRACKREPORTINGALG_H 1
7 
11 
12 
13 namespace ActsTrk{
17  public:
18  ProtoTrackReportingAlg( const std::string& name, ISvcLocator* pSvcLocator );
19  virtual ~ProtoTrackReportingAlg() = default;
20 
22 
23  //IS EXECUTED:
24  virtual StatusCode initialize() override final; //once, before any input is loaded
25  virtual StatusCode execute(const EventContext & ctx) const override final;
26 
27  private:
28  // the track collection to print
29  SG::ReadHandleKey<TrackCollection> m_EFTracks{this, "TrackCollection","","track collection to look for"};
30  SG::ReadHandleKey<xAOD::TrackParticleContainer> m_xAODTracks{this, "xAODTrackCollection", ""," xAOD track collection to look for"};
31 
32 
33  };
34 
35 }
36 
37 #endif //> !ACTSTRACKRECONSTRUCTION_PROTOTRACKREPORTINGALG_H
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
ActsTrk::ProtoTrackReportingAlg::m_EFTracks
SG::ReadHandleKey< TrackCollection > m_EFTracks
Definition: ProtoTrackReportingAlg.h:29
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
SG::ReadHandleKey< xAOD::TrackParticleContainer >
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
TrackCollection.h
ActsTrk::ProtoTrackReportingAlg::m_xAODTracks
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_xAODTracks
Definition: ProtoTrackReportingAlg.h:30
ActsTrk::ProtoTrackReportingAlg::ProtoTrackReportingAlg
ProtoTrackReportingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ProtoTrackReportingAlg.cxx:9
DataVector< Trk::Track >
AthReentrantAlgorithm.h
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ActsTrk::ProtoTrackReportingAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: ProtoTrackReportingAlg.cxx:21
ActsTrk::ProtoTrackReportingAlg
Very lightweight algorithm to print out the results of the EF track finding.
Definition: ProtoTrackReportingAlg.h:16
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:34
ActsTrk::ProtoTrackReportingAlg::initialize
virtual StatusCode initialize() override final
uncomment and implement methods as required
Definition: ProtoTrackReportingAlg.cxx:12
ActsTrk::ProtoTrackReportingAlg::~ProtoTrackReportingAlg
virtual ~ProtoTrackReportingAlg()=default
TrackParticleContainer.h