ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Muon
L0MuonMDTTools
L0MuonMDTTools
L0MDTSegment.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef L0MuonMDTTools_L0MDTSEGMENT_H
6
#define L0MuonMDTTools_L0MDTSEGMENT_H
7
8
namespace
L0MDT
{
9
17
class
Segment
{
18
public
:
19
Segment
() =
default
;
20
Segment
(
float
m
,
float
b
) :
m_m
(
m
),
m_b
(
b
) {}
21
~Segment
() =
default
;
22
23
// Setters
24
void
setM
(
float
x
) {
m_m
=
x
; }
25
void
setB
(
float
x
) {
m_b
=
x
; }
26
void
setChi2
(
float
x
) {
m_chi2
=
x
; }
27
void
setNHits
(
unsigned
int
x
) {
m_nHits
=
x
; }
28
29
void
setZMin
(
float
x
) {
m_zMin
=
x
; }
30
void
setZMax
(
float
x
) {
m_zMax
=
x
; }
31
void
setZRef
(
float
x
) {
m_zRef
=
x
; }
32
void
setRRef
(
float
x
) {
m_rRef
=
x
; }
33
34
// Getters
35
float
m
()
const
{
return
m_m
; }
36
float
b
()
const
{
return
m_b
; }
37
float
chi2
()
const
{
return
m_chi2
; }
38
unsigned
int
nHits
()
const
{
return
m_nHits
; }
39
40
float
zMin
()
const
{
return
m_zMin
; }
41
float
zMax
()
const
{
return
m_zMax
; }
42
float
zRef
()
const
{
return
m_zRef
; }
43
float
rRef
()
const
{
return
m_rRef
; }
44
45
private
:
46
float
m_m
{0.f};
47
float
m_b
{0.f};
48
float
m_chi2
{0.f};
49
unsigned
int
m_nHits
{0};
50
51
float
m_zMin
{0.f};
52
float
m_zMax
{0.f};
53
float
m_zRef
{0.f};
54
float
m_rRef
{0.f};
55
};
56
57
}
// end of namespace L0MDT
58
59
#endif
x
#define x
L0MDT::Segment::setM
void setM(float x)
Definition
L0MDTSegment.h:24
L0MDT::Segment::m_chi2
float m_chi2
Definition
L0MDTSegment.h:48
L0MDT::Segment::chi2
float chi2() const
Definition
L0MDTSegment.h:37
L0MDT::Segment::setRRef
void setRRef(float x)
Definition
L0MDTSegment.h:32
L0MDT::Segment::~Segment
~Segment()=default
L0MDT::Segment::setZMax
void setZMax(float x)
Definition
L0MDTSegment.h:30
L0MDT::Segment::rRef
float rRef() const
Definition
L0MDTSegment.h:43
L0MDT::Segment::b
float b() const
Definition
L0MDTSegment.h:36
L0MDT::Segment::m_zMin
float m_zMin
Definition
L0MDTSegment.h:51
L0MDT::Segment::setB
void setB(float x)
Definition
L0MDTSegment.h:25
L0MDT::Segment::nHits
unsigned int nHits() const
Definition
L0MDTSegment.h:38
L0MDT::Segment::setChi2
void setChi2(float x)
Definition
L0MDTSegment.h:26
L0MDT::Segment::Segment
Segment(float m, float b)
Definition
L0MDTSegment.h:20
L0MDT::Segment::zMin
float zMin() const
Definition
L0MDTSegment.h:40
L0MDT::Segment::m_rRef
float m_rRef
Definition
L0MDTSegment.h:54
L0MDT::Segment::m_b
float m_b
Definition
L0MDTSegment.h:47
L0MDT::Segment::m_m
float m_m
Definition
L0MDTSegment.h:46
L0MDT::Segment::Segment
Segment()=default
L0MDT::Segment::setZRef
void setZRef(float x)
Definition
L0MDTSegment.h:31
L0MDT::Segment::zMax
float zMax() const
Definition
L0MDTSegment.h:41
L0MDT::Segment::zRef
float zRef() const
Definition
L0MDTSegment.h:42
L0MDT::Segment::setZMin
void setZMin(float x)
Definition
L0MDTSegment.h:29
L0MDT::Segment::setNHits
void setNHits(unsigned int x)
Definition
L0MDTSegment.h:27
L0MDT::Segment::m_nHits
unsigned int m_nHits
Definition
L0MDTSegment.h:49
L0MDT::Segment::m_zMax
float m_zMax
Definition
L0MDTSegment.h:52
L0MDT::Segment::m_zRef
float m_zRef
Definition
L0MDTSegment.h:53
L0MDT::Segment::m
float m() const
Definition
L0MDTSegment.h:35
L0MDT
Compact Segment Finder algorithm overview.
Definition
IL0MDTSegmentFinderTool.h:13
Generated on
for ATLAS Offline Software by
1.17.0