ATLAS Offline Software
IMuonSegmentConverterTool.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 #ifndef XAOD_IMUONSEGMENTCONVERTERTOOL_H
6 #define XAOD_IMUONSEGMENTCONVERTERTOOL_H
7 
8 #include "GaudiKernel/IAlgTool.h"
9 #include "xAODMuon/MuonSegment.h"
12 #include "AthLinks/ElementLink.h"
14 
15 static const InterfaceID IID_IMuonSegmentConverterTool("Muon::IMuonSegmentConverterTool",1,0);
16 
17 namespace xAODMaker {
19  class IMuonSegmentConverterTool : virtual public IAlgTool {
20  public:
22  static const InterfaceID& interfaceID();
23 
27  xAOD::MuonSegmentContainer* container = 0 ) const = 0;
28 
32  xAOD::MuonSegmentContainer* container = 0 ) const = 0;
33  };
34 
35  inline const InterfaceID& IMuonSegmentConverterTool::interfaceID()
36  {
37  return IID_IMuonSegmentConverterTool;
38  }
39 
40 } // end of name space
41 
42 #endif // IMuonSegmentConverterTool_H
43 
MuonSegment.h
xAOD::MuonSegment_v1
Class describing a MuonSegment.
Definition: MuonSegment_v1.h:33
xAODMaker
Definition: StoreGateSvc.h:72
MuonSegmentContainer.h
xAODMaker::IMuonSegmentConverterTool::convert
virtual xAOD::MuonSegment * convert(const ElementLink< ::Trk::SegmentCollection > &segLink, xAOD::MuonSegmentContainer *container=0) const =0
convert a ElementLink to a Trk::Segment (should be of type MuonSegment) to a xAOD::MuonSegment,...
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
xAODMaker::IMuonSegmentConverterTool::convert
virtual xAOD::MuonSegment * convert(const Muon::MuonSegment &seg, xAOD::MuonSegmentContainer *container=0) const =0
convert a Muon::MuonSegment to a xAOD::MuonSegment, the segment is add to the container if provided s...
MuonSegment.h
Muon::MuonSegment
Definition: MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonSegment/MuonSegment/MuonSegment.h:45
xAODMaker::IMuonSegmentConverterTool
Interface for tools calculating hit count summaries for track.
Definition: IMuonSegmentConverterTool.h:19
SegmentCollection.h
xAODMaker::IMuonSegmentConverterTool::interfaceID
static const InterfaceID & interfaceID()
IAlgTool interface.
Definition: IMuonSegmentConverterTool.h:35