ATLAS Offline Software
TrackSegmentAssociationTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRACKSEGMENTASSOCIATIONTOOL_H
6 #define TRACKSEGMENTASSOCIATIONTOOL_H
7 
9 #include "GaudiKernel/ServiceHandle.h"
10 #include "GaudiKernel/ToolHandle.h"
22 namespace MuonCombined {
23 
25  public:
26  TrackSegmentAssociationTool(const std::string&, const std::string&, const IInterface*);
27 
29 
30  StatusCode initialize() override;
31  bool associatedSegments(const Trk::Track& muon, const Trk::SegmentCollection* segments,
32  std::vector<const Muon::MuonSegment*>& assocSegmentVec) const override;
33 
34  private:
35  ServiceHandle<Muon::IMuonEDMHelperSvc> m_edmHelperSvc{this, "edmHelper", "Muon::MuonEDMHelperSvc/MuonEDMHelperSvc",
36  "Handle to the service providing the IMuonEDMHelperSvc interface"};
37  ToolHandle<Muon::MuonEDMPrinterTool> m_printer{this, "MuonEDMPrinterTool", "Muon::MuonEDMPrinterTool/MuonEDMPrinterTool"};
38 
39  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
40  };
41 } // namespace MuonCombined
42 
43 #endif
xAOD::muon
@ muon
Definition: TrackingPrimitives.h:195
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
MuonEDMPrinterTool.h
MuonCombined::TrackSegmentAssociationTool::TrackSegmentAssociationTool
TrackSegmentAssociationTool(const std::string &, const std::string &, const IInterface *)
Definition: TrackSegmentAssociationTool.cxx:28
IMuonTrackToSegmentAssociationTool.h
MuonCombined::TrackSegmentAssociationTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: TrackSegmentAssociationTool.h:39
MuonCombined::TrackSegmentAssociationTool::m_printer
ToolHandle< Muon::MuonEDMPrinterTool > m_printer
Definition: TrackSegmentAssociationTool.h:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonCombined::TrackSegmentAssociationTool::m_edmHelperSvc
ServiceHandle< Muon::IMuonEDMHelperSvc > m_edmHelperSvc
Definition: TrackSegmentAssociationTool.h:35
AthAlgTool.h
DataVector< Trk::Segment >
MuonCombined::TrackSegmentAssociationTool::initialize
StatusCode initialize() override
Definition: TrackSegmentAssociationTool.cxx:33
IMuonEDMHelperSvc.h
MuonCombined::TrackSegmentAssociationTool::~TrackSegmentAssociationTool
~TrackSegmentAssociationTool()=default
MuonCombined
The MuonTagToSegMap is an auxillary construct that links the MuonSegments associated with a combined ...
Definition: IMuonSystemExtensionTool.h:23
MuonCombined::TrackSegmentAssociationTool
Definition: TrackSegmentAssociationTool.h:24
AthAlgTool
Definition: AthAlgTool.h:26
MuonCombined::IMuonTrackToSegmentAssociationTool
Interface to associate the Muon segments to the muon track.
Definition: IMuonTrackToSegmentAssociationTool.h:19
IMuonIdHelperSvc.h
SegmentCollection.h
MuonCombined::TrackSegmentAssociationTool::associatedSegments
bool associatedSegments(const Trk::Track &muon, const Trk::SegmentCollection *segments, std::vector< const Muon::MuonSegment * > &assocSegmentVec) const override
IMuonSegmentTagTool interface: build muons from ID and MuonSegments.
Definition: TrackSegmentAssociationTool.cxx:40
ServiceHandle< Muon::IMuonEDMHelperSvc >