ATLAS Offline Software
IAlignTrackDresser.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRKALIGNINTERFACES_ALIGN_TRACK_DRESSER_IH
6 #define TRKALIGNINTERFACES_ALIGN_TRACK_DRESSER_IH
7 
8 #include "GaudiKernel/IAlgTool.h"
9 
21 #include <fstream>
22 
23 namespace Trk {
24 
25  class AlignTrack;
26 
27  static const InterfaceID
28  IID_TRK_IAlignTrackDresser("IAlignTrackDresser",1,0);
29 
30  class IAlignTrackDresser: virtual public IAlgTool {
31 
32  public:
33  static const InterfaceID& interfaceID();
34 
36  virtual bool dressAlignTrack(AlignTrack* alignTrack) = 0;
37 
39  virtual void setLogStream(std::ostream * os) { m_logStream = os; }
40 
41  protected:
42  std::ostream * m_logStream;
43 
44  }; // end class definition
45 
46  inline const InterfaceID& IAlignTrackDresser::interfaceID()
47  { return IID_TRK_IAlignTrackDresser; }
48 
49 } // end namespace
50 
51 #endif // TRKALIGNINTERFACES_ALIGN_TRACK_DRESSER_IH
52 
Trk::IAlignTrackDresser::dressAlignTrack
virtual bool dressAlignTrack(AlignTrack *alignTrack)=0
Dresses AlignTrack with derivatives and any other information needed for alignment.
Trk::IAlignTrackDresser
Definition: IAlignTrackDresser.h:30
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
Trk::IAlignTrackDresser::setLogStream
virtual void setLogStream(std::ostream *os)
sets the output stream for the logfile
Definition: IAlignTrackDresser.h:39
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::IAlignTrackDresser::m_logStream
std::ostream * m_logStream
logfile output stream
Definition: IAlignTrackDresser.h:42
Trk::AlignTrack
Definition: AlignTrack.h:41
Trk::IAlignTrackDresser::interfaceID
static const InterfaceID & interfaceID()
Definition: IAlignTrackDresser.h:46
AlignTrack
AlignTrack is a generalization of a Trk::Track, used as the basic object to contain track information...