ATLAS Offline Software
Loading...
Searching...
No Matches
IMuonSegmentPairMatchingTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUON_IMUONSEGMENTPAIRMATCHINGTOOL_H
6#define MUON_IMUONSEGMENTPAIRMATCHINGTOOL_H
7
8#include "GaudiKernel/IAlgTool.h"
9#include "Identifier/Identifier.h"
10
11namespace Muon {
12
13 class MuonSegment;
14
19 class IMuonSegmentPairMatchingTool : virtual public IAlgTool {
20 public:
22 SegmentMatchResult() = default;
25 int phiSector_a{-99999};
26 int phiSector_b{-99999};
27 double deltaTheta_a{-99999};
28 double deltaTheta_b{-99999};
29 double deltaTheta{-99999};
30 double angleAC{-99999};
31 double angleBC{-99999};
32 double angleAB{-99999};
33 double deltaPhipos{-99999};
34 double deltaPhidir{-99999};
35 double phiposerr_a{-99999};
36 double phidirerr_a{-99999};
37 double phiposerr_b{-99999};
38 double phidirerr_b{-99999};
39 double shorttube_a{-99999};
40 double shorttube_b{-99999};
41 bool matchFlag{false}; // false if anything went wrong with the calculation
42 };
43
44 public:
46 static const InterfaceID& interfaceID() {
47 static const InterfaceID IID_IMuonSegmentPairMatchingTool("Muon::IMuonSegmentPairMatchingTool", 1, 0);
48 return IID_IMuonSegmentPairMatchingTool;
49 }
50
52 virtual SegmentMatchResult matchResult(const MuonSegment& seg1, const MuonSegment& seg2) const = 0;
53
54 virtual ~IMuonSegmentPairMatchingTool() = default;
55 };
56
57} // namespace Muon
58
59#endif
static const InterfaceID & interfaceID()
access to tool interface
virtual ~IMuonSegmentPairMatchingTool()=default
virtual SegmentMatchResult matchResult(const MuonSegment &seg1, const MuonSegment &seg2) const =0
performance match and return result
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.