ATLAS Offline Software
ITRTCalibrator.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__ITRTCALIBRATOR_H
6 #define TRT_CALIBTOOLS__ITRTCALIBRATOR_H
7 /********************************************************************
8 
9 NAME: ITRTCalibrator
10 PACKAGE: TRT_CalibTools
11 
12 AUTHORS: Johan Lundquist
13 CREATED: March 2009
14 
15 PURPOSE: Fit R-t relation constants using histograms produced by a previous accumulation job
16 
17 ********************************************************************/
18 
20 #include "GaudiKernel/IAlgTool.h"
21 
22 namespace Trk{
23  class Track;
24 }
25 namespace TRT{
26 class TrackInfo;
27 }
28 
29 static const InterfaceID IID_ITRTCalibrator("ITRTCalibrator", 1, 0);
30 
31 // This tool is only called once in a job reconstructing only one event
32 class ATLAS_NOT_THREAD_SAFE ITRTCalibrator : virtual public IAlgTool {
33  public:
34  virtual bool fill(const Trk::Track* aTrack, TRT::TrackInfo* output) = 0;
35  // uses thread-unsafe methods from Calibrator.
36  virtual bool calibrate ATLAS_NOT_THREAD_SAFE () = 0;
37  static const InterfaceID& interfaceID();
38 };
39 
40 inline const InterfaceID& ITRTCalibrator::interfaceID()
41 {
42  return IID_ITRTCalibrator;
43 }
44 
45 #endif // TRT_CALIBTOOLS__ITRTCALIBRATOR_H
46 
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
ITRTCalibrator::ATLAS_NOT_THREAD_SAFE
virtual bool calibrate ATLAS_NOT_THREAD_SAFE()=0
ITRTCalibrator::fill
virtual bool fill(const Trk::Track *aTrack, TRT::TrackInfo *output)=0
TRT::TrackInfo
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:83
ITRTCalibrator
Definition: ITRTCalibrator.h:32
TRT
Definition: HitInfo.h:33
ITRTCalibrator::interfaceID
static const InterfaceID & interfaceID()
Definition: ITRTCalibrator.h:40
merge.output
output
Definition: merge.py:17
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
checker_macros.h
Define macros for attributes used to control the static checker.