ATLAS Offline Software
MuonSpectrometer
MuonReconstruction
MuonSegmentMakers
MuonSegmentMakerTools
MuonSegmentMakerToolInterfaces
MuonSegmentMakerToolInterfaces
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
11
namespace
Muon
{
12
13
class
MuonSegment
;
14
19
class
IMuonSegmentPairMatchingTool
:
virtual
public
IAlgTool {
20
public
:
21
struct
SegmentMatchResult
{
22
SegmentMatchResult
() =
default
;
23
Identifier
chid_a
;
24
Identifier
chid_b
;
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
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::chid_a
Identifier chid_a
Definition:
IMuonSegmentPairMatchingTool.h:23
Muon::IMuonSegmentPairMatchingTool
tool to match segments
Definition:
IMuonSegmentPairMatchingTool.h:19
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition:
TrackSystemController.h:49
Muon::IMuonSegmentPairMatchingTool::interfaceID
static const InterfaceID & interfaceID()
access to tool interface
Definition:
IMuonSegmentPairMatchingTool.h:46
xAOD::MuonSegment
MuonSegment_v1 MuonSegment
Reference the current persistent version:
Definition:
Event/xAOD/xAODMuon/xAODMuon/MuonSegment.h:13
Identifier
Definition:
DetectorDescription/Identifier/Identifier/Identifier.h:32
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::phiposerr_b
double phiposerr_b
Definition:
IMuonSegmentPairMatchingTool.h:37
Muon::IMuonSegmentPairMatchingTool::~IMuonSegmentPairMatchingTool
virtual ~IMuonSegmentPairMatchingTool()=default
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::phidirerr_a
double phidirerr_a
Definition:
IMuonSegmentPairMatchingTool.h:36
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::deltaPhidir
double deltaPhidir
Definition:
IMuonSegmentPairMatchingTool.h:34
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::chid_b
Identifier chid_b
Definition:
IMuonSegmentPairMatchingTool.h:24
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::angleAB
double angleAB
Definition:
IMuonSegmentPairMatchingTool.h:32
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::deltaTheta_b
double deltaTheta_b
Definition:
IMuonSegmentPairMatchingTool.h:28
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::angleAC
double angleAC
Definition:
IMuonSegmentPairMatchingTool.h:30
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::SegmentMatchResult
SegmentMatchResult()=default
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::deltaTheta
double deltaTheta
Definition:
IMuonSegmentPairMatchingTool.h:29
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult
Definition:
IMuonSegmentPairMatchingTool.h:21
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::deltaTheta_a
double deltaTheta_a
Definition:
IMuonSegmentPairMatchingTool.h:27
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::phiposerr_a
double phiposerr_a
Definition:
IMuonSegmentPairMatchingTool.h:35
Muon::MuonSegment
Definition:
MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonSegment/MuonSegment/MuonSegment.h:45
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::phiSector_b
int phiSector_b
Definition:
IMuonSegmentPairMatchingTool.h:26
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::deltaPhipos
double deltaPhipos
Definition:
IMuonSegmentPairMatchingTool.h:33
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::phidirerr_b
double phidirerr_b
Definition:
IMuonSegmentPairMatchingTool.h:38
Muon::IMuonSegmentPairMatchingTool::matchResult
virtual SegmentMatchResult matchResult(const MuonSegment &seg1, const MuonSegment &seg2) const =0
performance match and return result
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::shorttube_b
double shorttube_b
Definition:
IMuonSegmentPairMatchingTool.h:40
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::shorttube_a
double shorttube_a
Definition:
IMuonSegmentPairMatchingTool.h:39
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::phiSector_a
int phiSector_a
Definition:
IMuonSegmentPairMatchingTool.h:25
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::angleBC
double angleBC
Definition:
IMuonSegmentPairMatchingTool.h:31
Muon::IMuonSegmentPairMatchingTool::SegmentMatchResult::matchFlag
bool matchFlag
Definition:
IMuonSegmentPairMatchingTool.h:41
Generated on Sun Jun 30 2024 21:17:21 for ATLAS Offline Software by
1.8.18