ATLAS Offline Software
Loading...
Searching...
No Matches
IAlignTrackCreator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRKALIGNINTERFACES_ALIGN_TRACK_CREATOR_IH
6#define TRKALIGNINTERFACES_ALIGN_TRACK_CREATOR_IH
7
8#include "GaudiKernel/IAlgTool.h"
9
19
20#include <fstream>
21
22namespace Trk {
23
24 class AlignTrack;
25 class Track;
26
27 static const InterfaceID
28 IID_TRK_IAlignTrackCreator("IAlignTrackCreator",1,0);
29
30 class IAlignTrackCreator: virtual public IAlgTool {
31
32 public:
35
36 static const InterfaceID& interfaceID();
37
39 virtual bool processAlignTrack(AlignTrack* alignTrack) = 0;
40
42 void setDoPixel(bool doPixel) { m_doPixel = doPixel; }
43 void setDoSCT(bool doSCT) { m_doSCT = doSCT; }
44 void setDoTRT(bool doTRT) { m_doTRT = doTRT; }
45 void setDoMDT(bool doMDT) { m_doMDT = doMDT; }
46
48 virtual void setLogStream(std::ostream * os) { m_logStream = os; }
49
50 protected:
51
53 bool m_doSCT;
54 bool m_doTRT;
55 bool m_doMDT;
56
57 std::ostream * m_logStream = nullptr;
58
59 }; // end class definition
60
62 inline const InterfaceID& IAlignTrackCreator::interfaceID()
64
65} // end namespace
66
67#endif // TRKALIGNINTERFACES_ALIGN_TRACK_CREATOR_IH
AlignTrack is a generalization of a Trk::Track, used as the basic object to contain track information...
virtual void setLogStream(std::ostream *os)
sets the output stream for the logfile
void setDoPixel(bool doPixel)
Sets flags to indicate whether hits from particular detector elements are to be stored on the AlignTr...
static const InterfaceID & interfaceID()
std::ostream * m_logStream
logfile output stream
virtual bool processAlignTrack(AlignTrack *alignTrack)=0
creates AlignTrack from Trk::Track
Ensure that the ATLAS eigen extensions are properly loaded.
static const InterfaceID IID_TRK_IAlignTrackCreator("IAlignTrackCreator", 1, 0)