ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSegmentConverterTool.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 MUON_MUONSEGMENTCONVERTERTOOL_H
6#define MUON_MUONSEGMENTCONVERTERTOOL_H
7
8#include "AthLinks/ElementLink.h"
10#include "GaudiKernel/ServiceHandle.h"
11#include "GaudiKernel/ToolHandle.h"
21
22
23namespace Muon {
24
25class MuonSegmentConverterTool : public extends<AthAlgTool, xAODMaker::IMuonSegmentConverterTool> {
26 public:
28 MuonSegmentConverterTool(const std::string&, const std::string&, const IInterface*);
29
32
34 StatusCode initialize();
35
40
44
45 private:
47 void addClusterTiming(const MuonSegment& seg, xAOD::MuonSegment& xaodSeg) const;
48
49 ToolHandle<IMuonSegmentHitSummaryTool> m_hitSummaryTool{
50 this,
51 "MuonSegmentHitSummaryTool",
52 "Muon::MuonSegmentHitSummaryTool/MuonSegmentHitSummaryTool",
53 };
54 ToolHandle<IMuonHitTimingTool> m_hitTimingTool{
55 this,
56 "MuonHitTimingTool",
57 "Muon::MuonHitTimingTool/MuonHitTimingTool",
58 };
60 this,
61 "MuonIdHelperSvc",
62 "Muon::MuonIdHelperSvc/MuonIdHelperSvc",
63 };
65 this,
66 "edmHelper",
67 "Muon::MuonEDMHelperSvc/MuonEDMHelperSvc",
68 "Handle to the service providing the IMuonEDMHelperSvc interface",
69 };
70};
71
72} // namespace Muon
73
74#endif
MuonSegmentConverterTool(const std::string &, const std::string &, const IInterface *)
default AlgTool constructor
void addClusterTiming(const MuonSegment &seg, xAOD::MuonSegment &xaodSeg) const
helper function to dress output segment with cluster hit timing information
~MuonSegmentConverterTool()=default
destructor
ToolHandle< IMuonHitTimingTool > m_hitTimingTool
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
ServiceHandle< IMuonEDMHelperSvc > m_edmHelper
ToolHandle< IMuonSegmentHitSummaryTool > m_hitSummaryTool
xAOD::MuonSegment * convert(const ElementLink< ::Trk::SegmentCollection > &segLink, xAOD::MuonSegmentContainer *container=0) const
convert a ElementLink to a Trk::Segment (should be of type MuonSegment) to a xAOD::MuonSegment,...
StatusCode initialize()
initialize method, method taken from bass-class AlgTool
This is the common class for 3D segments used in the muon spectrometer.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
MuonSegmentContainer_v1 MuonSegmentContainer
Definition of the current "MuonSegment container version".
MuonSegment_v1 MuonSegment
Reference the current persistent version: