ATLAS Offline Software
Loading...
Searching...
No Matches
IMuonTrackToSegmentAssociationTool.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 IRECIMuonTrackToSegmentAssociationTool_H
6#define IRECIMuonTrackToSegmentAssociationTool_H
7
8#include "GaudiKernel/IAlgTool.h"
11#include "TrkTrack/Track.h"
12
13namespace MuonCombined {
14
18
19 class IMuonTrackToSegmentAssociationTool : virtual public IAlgTool {
20 public:
22 static const InterfaceID& interfaceID() {
23 static const InterfaceID IID_IMuonTrackToSegmentAssociationTool("MuonCombined::IMuonTrackToSegmentAssociationTool", 1, 0);
24 return IID_IMuonTrackToSegmentAssociationTool;
25 }
26
28 virtual bool associatedSegments(const Trk::Track& track, const Trk::SegmentCollection* segments,
29 std::vector<const Muon::MuonSegment*>& assocSegmentVec) const = 0;
30 };
31
32} // namespace MuonCombined
33
34#endif
Interface to associate the Muon segments to the muon track.
virtual bool associatedSegments(const Trk::Track &track, const Trk::SegmentCollection *segments, std::vector< const Muon::MuonSegment * > &assocSegmentVec) const =0
IMuonSegmentTagTool interface: build muons from ID and MuonSegments.
The MuonTagToSegMap is an auxillary construct that links the MuonSegments associated with a combined ...
DataVector< Trk::Segment > SegmentCollection