ATLAS Offline Software
Loading...
Searching...
No Matches
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"
12#include "AthLinks/ElementLink.h"
14
15
16
17namespace 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
This is the common class for 3D segments used in the muon spectrometer.
Interface for tools calculating hit count summaries for track.
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...
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,...
virtual ~IMuonSegmentConverterTool()=default
DeclareInterfaceID(xAODMaker::IMuonSegmentConverterTool, 1, 0)
IAlgTool interface.
MuonSegmentContainer_v1 MuonSegmentContainer
Definition of the current "MuonSegment container version".
MuonSegment_v1 MuonSegment
Reference the current persistent version: