ATLAS Offline Software
Loading...
Searching...
No Matches
IMuonLayerSegmentMatchingTool.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 MUON_IMUONLAYERSEGMENTMATCHINGTOOL_H
6#define MUON_IMUONLAYERSEGMENTMATCHINGTOOL_H
7
8#include <vector>
9
10#include "GaudiKernel/IAlgTool.h"
12
13namespace Muon {
14
15 class MuonSegment;
16
18 class IMuonLayerSegmentMatchingTool : virtual public IAlgTool {
19 public:
20 virtual ~IMuonLayerSegmentMatchingTool() = default;
22 static const InterfaceID& interfaceID() {
23 static const InterfaceID IID_IMuonLayerSegmentMatchingTool("Muon::IMuonLayerSegmentMatchingTool", 1, 0);
24 return IID_IMuonLayerSegmentMatchingTool;
25 }
26
28 virtual void select(const EventContext& ctx, const MuonSystemExtension::Intersection& intersection,
29 const std::vector<std::shared_ptr<const Muon::MuonSegment> >& segments,
30 std::vector<std::shared_ptr<const Muon::MuonSegment> >& selectedSegments) const = 0;
31
32 virtual bool match(const EventContext& ctx, const MuonSystemExtension::Intersection& intersection, const MuonSegment& segment) const = 0;
33 };
34} // namespace Muon
35
36#endif // IMuonLayerSegmentMatchingTool_H
Interface for tools calculating hit count summaries for track.
virtual bool match(const EventContext &ctx, const MuonSystemExtension::Intersection &intersection, const MuonSegment &segment) const =0
virtual ~IMuonLayerSegmentMatchingTool()=default
static const InterfaceID & interfaceID()
IAlgTool interface.
virtual void select(const EventContext &ctx, const MuonSystemExtension::Intersection &intersection, const std::vector< std::shared_ptr< const Muon::MuonSegment > > &segments, std::vector< std::shared_ptr< const Muon::MuonSegment > > &selectedSegments) const =0
Match segments for to a given MuonSystemExtension::Intersection, return selected segments.
This is the common class for 3D segments used in the muon spectrometer.
std::vector< std::string > intersection(std::vector< std::string > &v1, std::vector< std::string > &v2)
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.