ATLAS Offline Software
Loading...
Searching...
No Matches
ISegmentConverterTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6#ifndef ITRKSEGMENTCONVERTERTOOL_H
7#define ITRKSEGMENTCONVERTERTOOL_H
8
9#include "GaudiKernel/IAlgTool.h"
10
11
12static const InterfaceID IID_ISegmentConverterTool("Trk::ISegmentConverterTool", 1, 0);
13
14namespace Trk {
15
16 class Track;
17 class Segment;
18
22 class ISegmentConverterTool : virtual public IAlgTool
23 {
24 public:
25
26 static const InterfaceID& interfaceID( ) ;
27
32 virtual Track* convert(const Segment& segment)=0;
33 };
34
35}//end of ns
36
37inline const InterfaceID& Trk::ISegmentConverterTool::interfaceID()
38{
40}
41
42#endif
static const InterfaceID IID_ISegmentConverterTool("Trk::ISegmentConverterTool", 1, 0)
Straight line in 2D space.
Interface for tool to convert a Trk::Segment object into a Trk::Track.
virtual Track * convert(const Segment &segment)=0
create a track from a given segment
static const InterfaceID & interfaceID()
Base class for all TrackSegment implementations, extends the common MeasurementBase.
Ensure that the ATLAS eigen extensions are properly loaded.