ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODMuonCnv
xAODMuonCnv
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
"
10
#include "
xAODMuon/MuonSegmentContainer.h
"
11
#include "
MuonSegment/MuonSegment.h
"
12
#include "AthLinks/ElementLink.h"
13
#include "
TrkSegment/SegmentCollection.h
"
14
15
16
17
namespace
xAODMaker
{
19
class
IMuonSegmentConverterTool
:
virtual
public
IAlgTool {
20
public
:
21
virtual
~IMuonSegmentConverterTool
() =
default
;
23
DeclareInterfaceID
(
xAODMaker::IMuonSegmentConverterTool
, 1, 0);
24
27
virtual
xAOD::MuonSegment
*
convert
(
const
ElementLink< ::Trk::SegmentCollection >
& segLink,
28
xAOD::MuonSegmentContainer
* container =
nullptr
)
const
= 0;
29
32
virtual
xAOD::MuonSegment
*
convert
(
const
Muon::MuonSegment
& seg,
33
xAOD::MuonSegmentContainer
* container =
nullptr
)
const
= 0;
34
};
35
36
37
}
// end of name space
38
39
#endif
// IMuonSegmentConverterTool_H
40
MuonSegment.h
MuonSegmentContainer.h
MuonSegment.h
SegmentCollection.h
ElementLink
ElementLink implementation for ROOT usage.
Definition
A/AthLinks/ElementLink.h:40
Muon::MuonSegment
This is the common class for 3D segments used in the muon spectrometer.
Definition
MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonSegment/MuonSegment/MuonSegment.h:45
xAODMaker::IMuonSegmentConverterTool
Interface for tools calculating hit count summaries for track.
Definition
IMuonSegmentConverterTool.h:19
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::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,...
xAODMaker::IMuonSegmentConverterTool::~IMuonSegmentConverterTool
virtual ~IMuonSegmentConverterTool()=default
xAODMaker::IMuonSegmentConverterTool::DeclareInterfaceID
DeclareInterfaceID(xAODMaker::IMuonSegmentConverterTool, 1, 0)
IAlgTool interface.
xAODMaker
Definition
StoreGateSvc.h:70
xAOD::MuonSegmentContainer
MuonSegmentContainer_v1 MuonSegmentContainer
Definition of the current "MuonSegment container version".
Definition
MuonSegmentContainer.h:14
xAOD::MuonSegment
MuonSegment_v1 MuonSegment
Reference the current persistent version:
Definition
Event/xAOD/xAODMuon/xAODMuon/MuonSegment.h:13
Generated on
for ATLAS Offline Software by
1.17.0