ATLAS Offline Software
Loading...
Searching...
No Matches
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
9NAME: ITRTCalibrator
10PACKAGE: TRT_CalibTools
11
12AUTHORS: Johan Lundquist
13CREATED: March 2009
14
15PURPOSE: Fit R-t relation constants using histograms produced by a previous accumulation job
16
17********************************************************************/
18
20#include "GaudiKernel/IAlgTool.h"
21
22namespace Trk{
23 class Track;
24}
25namespace TRT{
26class TrackInfo;
27}
28
29static const InterfaceID IID_ITRTCalibrator("ITRTCalibrator", 1, 0);
30
31// This tool is only called once in a job reconstructing only one event
32class 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
40inline const InterfaceID& ITRTCalibrator::interfaceID()
41{
42 return IID_ITRTCalibrator;
43}
44
45#endif // TRT_CALIBTOOLS__ITRTCALIBRATOR_H
46
static const InterfaceID IID_ITRTCalibrator("ITRTCalibrator", 1, 0)
Define macros for attributes used to control the static checker.
virtual bool calibrate ATLAS_NOT_THREAD_SAFE()=0
static const InterfaceID & interfaceID()
virtual bool fill(const Trk::Track *aTrack, TRT::TrackInfo *output)=0
Definition HitInfo.h:33
Ensure that the ATLAS eigen extensions are properly loaded.