ATLAS Offline Software
Loading...
Searching...
No Matches
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
9NAME: FillAlignTrkInfo
10PACKAGE: TRT_AlignTOOLS
11
12AUTHORS: Jorgen Beck Hansen
13CREATED: December 2005
14
15PURPOSE: 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
28class 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
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
ToolHandle< Trk::ITrackSummaryTool > m_TrackSummaryTool
virtual StatusCode initialize()
virtual bool fill(const Trk::Track *aTrack, TRT::TrackInfo *output, const xAOD::EventInfo &eventInfo, const xAOD::VertexContainer &vertices)
FillAlignTrkInfo(const std::string &type, const std::string &name, const IInterface *parent)
virtual ~FillAlignTrkInfo()
EventInfo_v1 EventInfo
Definition of the latest event info version.
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".