ATLAS Offline Software
IMuonSegmentConverterTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 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 
16 
17 namespace xAODMaker {
19  class IMuonSegmentConverterTool : virtual public IAlgTool {
20  public:
21  virtual ~IMuonSegmentConverterTool() = default;
24 
28  xAOD::MuonSegmentContainer* container = nullptr ) const = 0;
29 
33  xAOD::MuonSegmentContainer* container = nullptr ) const = 0;
34  };
35 
36 
37 } // end of name space
38 
39 #endif // IMuonSegmentConverterTool_H
40 
xAODMaker::IMuonSegmentConverterTool::convert
virtual xAOD::MuonSegment * convert(const Muon::MuonSegment &seg, xAOD::MuonSegmentContainer *container=nullptr) const =0
convert a Muon::MuonSegment to a xAOD::MuonSegment, the segment is add to the container if provided s...
xAODMaker::IMuonSegmentConverterTool::~IMuonSegmentConverterTool
virtual ~IMuonSegmentConverterTool()=default
xAODMaker::IMuonSegmentConverterTool::DeclareInterfaceID
DeclareInterfaceID(xAODMaker::IMuonSegmentConverterTool, 1, 0)
IAlgTool interface.
MuonSegment.h
xAOD::MuonSegment_v1
Class describing a MuonSegment.
Definition: MuonSegment_v1.h:33
xAODMaker
Definition: StoreGateSvc.h:72
MuonSegmentContainer.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
xAODMaker::IMuonSegmentConverterTool::convert
virtual xAOD::MuonSegment * convert(const ElementLink< ::Trk::SegmentCollection > &segLink, xAOD::MuonSegmentContainer *container=nullptr) const =0
convert a ElementLink to a Trk::Segment (should be of type MuonSegment) to a xAOD::MuonSegment,...
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