ATLAS Offline Software
TRT_DriftCircleOnTrackRecalibrateTool.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_DriftCircleOnTrackRecalibrateTool
8 // (c) ATLAS Detector software
10 
11 
12 #ifndef TRT_DriftCircleOnTrackRecalibrateTool_H
13 #define TRT_DriftCircleOnTrackRecalibrateTool_H
14 
15 #include "GaudiKernel/ToolHandle.h"
16 #include "GaudiKernel/ThreadLocalContext.h"
21 
24 
25 
26 namespace InDet {
27 
34  virtual public Trk::IRIO_OnTrackCreator, public AthAlgTool
35 {
37  // Public methods:
39 
40 public:
41 
43  (const std::string&,const std::string&,const IInterface*);
45  virtual StatusCode initialize() override;
46  virtual StatusCode finalize () override;
47  virtual Trk::RIO_OnTrack* correct
48  (const Trk::PrepRawData&,const Trk::TrackParameters&,const EventContext& ctx = Gaudi::Hive::currentContext()) const override;
49 
51  // Private methods:
53 
54  private:
55 
57  // Private data:
59 
60  ToolHandle<Trk::IRIO_OnTrackCreator> m_riontrackTube{this, "RIOonTrackToolTube",
61  "InDet::TRT_DriftCircleOnTrackNoDriftTimeTool/TRT_DriftCircleOnTrackNoDriftTimeTool"};
62  ToolHandle<ITRT_DriftFunctionTool> m_drifttool{this, "DriftFunctionTool",
63  "TRT_DriftFunctionTool"};
64 
66  {this, "LumiDataKey", "", "SG key for luminosity data"};
67 
68  // SG::ReadCondHandleKey<TRTRIO_OnTrackErrorScaling> m_trtErrorScalingKey
70  {this,"TRTErrorScalingKey", "/Indet/TrkErrorScalingTRT", "Key for TRT error scaling conditions data."};
71 
72  BooleanProperty m_useToTCorrection{this, "useDriftTimeToTCorrection", false,
73  "Shall the Time over Threshold correction be used?"};
74  DoubleProperty m_scalefactor{this, "ScaleHitUncertainty", 2.,
75  "scale factor for hit uncertainty"};
76 
77 };
78 
79 } // end of namespace InDet
80 
81 #endif // TRT_DriftCircleOnTrackRecalibrateTool_H
InDet::TRT_DriftCircleOnTrackRecalibrateTool::TRT_DriftCircleOnTrackRecalibrateTool
TRT_DriftCircleOnTrackRecalibrateTool(const std::string &, const std::string &, const IInterface *)
Definition: TRT_DriftCircleOnTrackRecalibrateTool.cxx:26
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
IRIO_OnTrackCreator.h
Trk::RIO_OnTrack
Definition: RIO_OnTrack.h:70
InDet::TRT_DriftCircleOnTrackRecalibrateTool::m_lumiDataKey
SG::ReadCondHandleKey< LuminosityCondData > m_lumiDataKey
Definition: TRT_DriftCircleOnTrackRecalibrateTool.h:66
InDet::TRT_DriftCircleOnTrackRecalibrateTool::initialize
virtual StatusCode initialize() override
Definition: TRT_DriftCircleOnTrackRecalibrateTool.cxx:42
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
InDet::TRT_DriftCircleOnTrackRecalibrateTool::m_drifttool
ToolHandle< ITRT_DriftFunctionTool > m_drifttool
Definition: TRT_DriftCircleOnTrackRecalibrateTool.h:62
InDet::TRT_DriftCircleOnTrackRecalibrateTool::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_DriftCircleOnTrackRecalibrateTool.cxx:75
Trk::ParametersBase
Definition: ParametersBase.h:55
LuminosityCondData.h
Hold luminosity data produced by LuminosityCondAlg.
InDet::TRT_DriftCircleOnTrackRecalibrateTool::m_useToTCorrection
BooleanProperty m_useToTCorrection
Definition: TRT_DriftCircleOnTrackRecalibrateTool.h:72
ReadCondHandleKey.h
Trk::PrepRawData
Definition: PrepRawData.h:62
ITRT_DriftFunctionTool.h
InDet::TRT_DriftCircleOnTrackRecalibrateTool::finalize
virtual StatusCode finalize() override
Definition: TRT_DriftCircleOnTrackRecalibrateTool.cxx:65
InDet::TRT_DriftCircleOnTrackRecalibrateTool::m_scalefactor
DoubleProperty m_scalefactor
Definition: TRT_DriftCircleOnTrackRecalibrateTool.h:74
SG::ReadCondHandleKey< LuminosityCondData >
InDet::TRT_DriftCircleOnTrackRecalibrateTool::m_riontrackTube
ToolHandle< Trk::IRIO_OnTrackCreator > m_riontrackTube
Definition: TRT_DriftCircleOnTrackRecalibrateTool.h:60
InDet::TRT_DriftCircleOnTrackRecalibrateTool
Definition: TRT_DriftCircleOnTrackRecalibrateTool.h:35
TRTRIO_OnTrackErrorScaling.h
InDet::TRT_DriftCircleOnTrackRecalibrateTool::m_trtErrorScalingKey
SG::ReadCondHandleKey< RIO_OnTrackErrorScaling > m_trtErrorScalingKey
Definition: TRT_DriftCircleOnTrackRecalibrateTool.h:70
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
InDet::TRT_DriftCircleOnTrackRecalibrateTool::~TRT_DriftCircleOnTrackRecalibrateTool
virtual ~TRT_DriftCircleOnTrackRecalibrateTool()