ATLAS Offline Software
Tracking
TrkTools
TrkToolInterfaces
TrkToolInterfaces
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
12
static
const
InterfaceID IID_ISegmentConverterTool(
"Trk::ISegmentConverterTool"
, 1, 0);
13
14
namespace
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
37
inline
const
InterfaceID&
Trk::ISegmentConverterTool::interfaceID
()
38
{
39
return
IID_ISegmentConverterTool;
40
}
41
42
#endif
Trk::ISegmentConverterTool::convert
virtual Track * convert(const Segment &segment)=0
create a track from a given segment
Trk::TrackState::Segment
@ Segment
Definition:
TrackStateDefs.h:37
Trk::ISegmentConverterTool::interfaceID
static const InterfaceID & interfaceID()
Definition:
ISegmentConverterTool.h:37
Trk::ISegmentConverterTool
Interface for tool to convert a Trk::Segment object into a Trk::Track.
Definition:
ISegmentConverterTool.h:23
Trk::Segment
Definition:
Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h:56
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Track
Definition:
TriggerChamberClusterOnTrackCreator.h:21
NSWL1::PadTriggerAdapter::segment
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)
Definition:
PadTriggerAdapter.cxx:5
Generated on Sun Dec 22 2024 21:11:59 for ATLAS Offline Software by
1.8.18