ATLAS Offline Software
FillAlignTrkInfo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRT_CALIBTOOLS__FILLALIGNTRKINFO_H
6 #define TRT_CALIBTOOLS__FILLALIGNTRKINFO_H
7 /********************************************************************
8 
9 NAME: FillAlignTrkInfo
10 PACKAGE: TRT_AlignTOOLS
11 
12 AUTHORS: Jorgen Beck Hansen
13 CREATED: December 2005
14 
15 PURPOSE: Tool to fill Track info into the TRT::Track messenger class
16 
17 ********************************************************************/
18 
19 // INCLUDES:
20 
21 #include <string>
23 #include "GaudiKernel/ToolHandle.h"
25 
27 
28 class FillAlignTrkInfo : virtual public IFillAlignTrkInfo, public AthAlgTool {
29  public:
30 
31  FillAlignTrkInfo(const std::string& type, const std::string& name, const IInterface* parent);
32 
33  virtual ~FillAlignTrkInfo() {}
34 
35  virtual bool fill(const Trk::Track* aTrack, TRT::TrackInfo* output, const xAOD::EventInfo& eventInfo,
36  const xAOD::VertexContainer& vertices);
37 
38  virtual StatusCode initialize();
39  private:
40  ToolHandle<Trk::ITrackSummaryTool> m_TrackSummaryTool {this, "TrackSummaryTool", "Trk::TrackSummaryTool/TrackSummaryTool", ""};
41 };
42 
43 #endif // TRT_CALIBTOOLS__FILLALIGNTRKINFO_H
ITrackSummaryTool.h
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
FillAlignTrkInfo::~FillAlignTrkInfo
virtual ~FillAlignTrkInfo()
Definition: FillAlignTrkInfo.h:43
TRT::TrackInfo
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
FillAlignTrkInfo::FillAlignTrkInfo
FillAlignTrkInfo(const std::string &type, const std::string &name, const IInterface *parent)
Definition: FillAlignTrkInfo.cxx:22
FillAlignTrkInfo::fill
virtual bool fill(const Trk::Track *aTrack, TRT::TrackInfo *output, const xAOD::EventInfo &eventInfo, const xAOD::VertexContainer &vertices)
Definition: FillAlignTrkInfo.cxx:38
FillAlignTrkInfo
Definition: FillAlignTrkInfo.h:28
IFillAlignTrkInfo
Definition: IFillAlignTrkInfo.h:35
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
merge.output
output
Definition: merge.py:17
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
FillAlignTrkInfo::initialize
virtual StatusCode initialize()
Definition: FillAlignTrkInfo.cxx:26
AthAlgTool
Definition: AthAlgTool.h:26
IFillAlignTrkInfo.h
FillAlignTrkInfo::m_TrackSummaryTool
ToolHandle< Trk::ITrackSummaryTool > m_TrackSummaryTool
Definition: FillAlignTrkInfo.h:50