ATLAS Offline Software
ISeedFitter.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ISeedFitter_H
6 #define ISeedFitter_H
7 
8 #include <vector>
9 #include <memory>
10 
11 #include "GaudiKernel/AlgTool.h"
13 #include "TrkTrack/Track.h"
14 
15 class MsgStream;
16 
17 namespace InDet {
18 
24  class ISeedFitter : virtual public IAlgTool
25  {
26  public:
28 
32 
37  virtual std::unique_ptr<const Trk::TrackParameters> fit(
38  const std::vector<const Trk::SpacePoint*>& spacepoints
39  ) const = 0;
40 
41 
43  // Print internal tool parameters and status
45 
46  virtual MsgStream& dump(MsgStream& out) const=0;
47  virtual std::ostream& dump(std::ostream& out) const=0;
48  };
49 
51  // Overload of << operator for MsgStream and std::ostream
53 
54  MsgStream& operator << (MsgStream& ,const ISeedFitter&);
55  std::ostream& operator << (std::ostream&,const ISeedFitter&);
56 
58  // Overload of << operator MsgStream
60 
61  inline MsgStream& operator << (MsgStream& sl,const ISeedFitter& se) {
62  return se.dump(sl);
63  }
65  // Overload of << operator std::ostream
67 
68  inline std::ostream& operator << (std::ostream& sl,const ISeedFitter& se) {
69  return se.dump(sl);
70  }
71 }
72 #endif
InDet::operator<<
MsgStream & operator<<(MsgStream &, const GNNTrackReaderTool &)
InDet::ISeedFitter::fit
virtual std::unique_ptr< const Trk::TrackParameters > fit(const std::vector< const Trk::SpacePoint * > &spacepoints) const =0
Convert spacepoints to Trk::Track.
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
InDet::ISeedFitter::dump
virtual std::ostream & dump(std::ostream &out) const =0
keylayer_zslicemap.se
se
Definition: keylayer_zslicemap.py:194
Track.h
InDet::ISeedFitter::dump
virtual MsgStream & dump(MsgStream &out) const =0
SpacePoint.h
InDet::ISeedFitter
Definition: ISeedFitter.h:25
InDet::ISeedFitter::DeclareInterfaceID
DeclareInterfaceID(ISeedFitter, 1, 0)