ATLAS Offline Software
Loading...
Searching...
No Matches
IMuonNSWSegmentFinderTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUON_IMUONNSWSEGMENTFINDERTOOL_H
6#define MUON_IMUONNSWSEGMENTFINDERTOOL_H
7
8#include <vector>
9
10#include "GaudiKernel/IAlgTool.h"
15
16
17namespace Muon {
18
19 class IMuonNSWSegmentFinderTool : virtual public IAlgTool {
20 public:
22 static const InterfaceID& interfaceID() {
23 static const InterfaceID IID_IMuonNSWSegmentFinderTool("Muon::IMuonNSWSegmentFinderTool", 1, 0);
24 return IID_IMuonNSWSegmentFinderTool;
25 }
26
27 using MuonClusterPtr = std::unique_ptr<const Muon::MuonClusterOnTrack>;
28 using MuonClusterVec = std::vector<MuonClusterPtr>;
29
33 std::vector<std::unique_ptr<Muon::MuonSegment>> constructedSegs{};
35 bool buildQuads{false};
37 std::vector<std::unique_ptr<Muon::MuonSegment>> quadSegs{};
39 std::vector<std::unique_ptr<const Muon::MuonClusterOnTrack>> inputClust{};
41 std::set<Identifier> usedHits{};
42
43 };
44 virtual void find(const EventContext& ctx, SegmentMakingCache& cache) const = 0;
45
46 virtual ~IMuonNSWSegmentFinderTool() = default;
47 };
48
49} // namespace Muon
50
51#endif
static const InterfaceID & interfaceID()
access to tool interface
virtual ~IMuonNSWSegmentFinderTool()=default
std::unique_ptr< const Muon::MuonClusterOnTrack > MuonClusterPtr
virtual void find(const EventContext &ctx, SegmentMakingCache &cache) const =0
std::vector< MuonClusterPtr > MuonClusterVec
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
bool buildQuads
Toggle whether quad segments should be built or not.
std::vector< std::unique_ptr< Muon::MuonSegment > > quadSegs
Output vector to which the quadruplet segments are pushed back.
std::set< Identifier > usedHits
Set of all hits used in the segment making.
std::vector< std::unique_ptr< Muon::MuonSegment > > constructedSegs
Output vector to which the constructed segments are pushed_back.
std::vector< std::unique_ptr< const Muon::MuonClusterOnTrack > > inputClust
Input vector containing all muon cluster on track.