ATLAS Offline Software
TRT_DriftCircleOnTrackUniversalTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // Header file for class TRT_DriftCircleOnTrackUniversalTool
8 // (c) ATLAS Detector software
10 
11 
12 #ifndef TRT_DriftCircleOnTrackUniversalTool_H
13 #define TRT_DriftCircleOnTrackUniversalTool_H
14 
15 #include "GaudiKernel/ToolHandle.h"
16 #include "GaudiKernel/ThreadLocalContext.h"
19 
20 namespace InDet {
21 
28  virtual public Trk::IRIO_OnTrackCreator, public AthAlgTool
29 {
31  // Public methods:
33 
34 public:
35 
37  (const std::string&,const std::string&,const IInterface*);
39  virtual StatusCode initialize() override;
40  virtual StatusCode finalize () override;
41  virtual Trk::RIO_OnTrack* correct
42  (const Trk::PrepRawData&,const Trk::TrackParameters&,const EventContext& ctx = Gaudi::Hive::currentContext()) const override;
43 
45  // Private methods:
47 
48  private:
49 
51  // Private data:
53 
54  ToolHandle<Trk::IRIO_OnTrackCreator> m_riontrackDrift
55  {this, "RIOonTrackToolDrift", "InDet::TRT_DriftCircleOnTrackTool/TRT_DriftCircleOnTrackTool"};
56  ToolHandle<Trk::IRIO_OnTrackCreator> m_riontrackTube
57  {this, "RIOonTrackToolTube", "InDet::TRT_DriftCircleOnTrackNoDriftTimeTool/TRT_DriftCircleOnTrackNoDriftTimeTool"};
58  DoubleProperty m_scalefactor{this, "ScaleHitUncertainty", 2.,
59  "scale factor for hit uncertainty"};
60 };
61 
62 } // end of namespace InDet
63 
64 #endif // TRT_DriftCircleOnTrackUniversalTool_H
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::TRT_DriftCircleOnTrackUniversalTool::correct
virtual Trk::RIO_OnTrack * correct(const Trk::PrepRawData &, const Trk::TrackParameters &, const EventContext &ctx=Gaudi::Hive::currentContext()) const override
abstract base method for the creation of RIO_OnTrack it takes a RIO (PrepRawData) and the given Track...
Definition: TRT_DriftCircleOnTrackUniversalTool.cxx:69
IRIO_OnTrackCreator.h
Trk::RIO_OnTrack
Definition: RIO_OnTrack.h:70
InDet::TRT_DriftCircleOnTrackUniversalTool
Definition: TRT_DriftCircleOnTrackUniversalTool.h:29
InDet::TRT_DriftCircleOnTrackUniversalTool::~TRT_DriftCircleOnTrackUniversalTool
virtual ~TRT_DriftCircleOnTrackUniversalTool()
InDet::TRT_DriftCircleOnTrackUniversalTool::finalize
virtual StatusCode finalize() override
Definition: TRT_DriftCircleOnTrackUniversalTool.cxx:59
InDet::TRT_DriftCircleOnTrackUniversalTool::m_riontrackDrift
ToolHandle< Trk::IRIO_OnTrackCreator > m_riontrackDrift
Definition: TRT_DriftCircleOnTrackUniversalTool.h:55
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
Trk::ParametersBase
Definition: ParametersBase.h:55
InDet::TRT_DriftCircleOnTrackUniversalTool::TRT_DriftCircleOnTrackUniversalTool
TRT_DriftCircleOnTrackUniversalTool(const std::string &, const std::string &, const IInterface *)
Definition: TRT_DriftCircleOnTrackUniversalTool.cxx:22
Trk::PrepRawData
Definition: PrepRawData.h:62
InDet::TRT_DriftCircleOnTrackUniversalTool::m_scalefactor
DoubleProperty m_scalefactor
Definition: TRT_DriftCircleOnTrackUniversalTool.h:58
InDet::TRT_DriftCircleOnTrackUniversalTool::initialize
virtual StatusCode initialize() override
Definition: TRT_DriftCircleOnTrackUniversalTool.cxx:38
InDet::TRT_DriftCircleOnTrackUniversalTool::m_riontrackTube
ToolHandle< Trk::IRIO_OnTrackCreator > m_riontrackTube
Definition: TRT_DriftCircleOnTrackUniversalTool.h:57
AthAlgTool
Definition: AthAlgTool.h:26
Trk::IRIO_OnTrackCreator
Interface class for transforming Trk::PrepRawData to Trk::RIO_OnTrack using a local track hypothesis.
Definition: IRIO_OnTrackCreator.h:33