ATLAS Offline Software
Loading...
Searching...
No Matches
L0MDT::Segment Class Reference

Class describing a reconstructed MDT segment used by the L0Muon trigger. More...

#include <L0MDTSegment.h>

Collaboration diagram for L0MDT::Segment:

Public Member Functions

 Segment ()=default
 Segment (float m, float b)
 ~Segment ()=default
void setM (float x)
void setB (float x)
void setChi2 (float x)
void setNHits (unsigned int x)
void setZMin (float x)
void setZMax (float x)
void setZRef (float x)
void setRRef (float x)
float m () const
float b () const
float chi2 () const
unsigned int nHits () const
float zMin () const
float zMax () const
float zRef () const
float rRef () const

Private Attributes

float m_m {0.f}
float m_b {0.f}
float m_chi2 {0.f}
unsigned int m_nHits {0}
float m_zMin {0.f}
float m_zMax {0.f}
float m_zRef {0.f}
float m_rRef {0.f}

Detailed Description

Class describing a reconstructed MDT segment used by the L0Muon trigger.

The class stores the fitted segment parameters in the global (z, R) plane, together with representative quantities derived from the hits used in the fit.

Definition at line 17 of file L0MDTSegment.h.

Constructor & Destructor Documentation

◆ Segment() [1/2]

L0MDT::Segment::Segment ( )
default

◆ Segment() [2/2]

L0MDT::Segment::Segment ( float m,
float b )
inline

Definition at line 20 of file L0MDTSegment.h.

20: m_m(m), m_b(b) {}
float b() const
float m() const

◆ ~Segment()

L0MDT::Segment::~Segment ( )
default

Member Function Documentation

◆ b()

float L0MDT::Segment::b ( ) const
inline

Definition at line 36 of file L0MDTSegment.h.

36{ return m_b; }

◆ chi2()

float L0MDT::Segment::chi2 ( ) const
inline

Definition at line 37 of file L0MDTSegment.h.

37{ return m_chi2; }

◆ m()

float L0MDT::Segment::m ( ) const
inline

Definition at line 35 of file L0MDTSegment.h.

35{ return m_m; }

◆ nHits()

unsigned int L0MDT::Segment::nHits ( ) const
inline

Definition at line 38 of file L0MDTSegment.h.

38{ return m_nHits; }
unsigned int m_nHits

◆ rRef()

float L0MDT::Segment::rRef ( ) const
inline

Definition at line 43 of file L0MDTSegment.h.

43{ return m_rRef; }

◆ setB()

void L0MDT::Segment::setB ( float x)
inline

Definition at line 25 of file L0MDTSegment.h.

25{ m_b = x; }
#define x

◆ setChi2()

void L0MDT::Segment::setChi2 ( float x)
inline

Definition at line 26 of file L0MDTSegment.h.

26{ m_chi2 = x; }

◆ setM()

void L0MDT::Segment::setM ( float x)
inline

Definition at line 24 of file L0MDTSegment.h.

24{ m_m = x; }

◆ setNHits()

void L0MDT::Segment::setNHits ( unsigned int x)
inline

Definition at line 27 of file L0MDTSegment.h.

27{ m_nHits = x; }

◆ setRRef()

void L0MDT::Segment::setRRef ( float x)
inline

Definition at line 32 of file L0MDTSegment.h.

32{ m_rRef = x; }

◆ setZMax()

void L0MDT::Segment::setZMax ( float x)
inline

Definition at line 30 of file L0MDTSegment.h.

30{ m_zMax = x; }

◆ setZMin()

void L0MDT::Segment::setZMin ( float x)
inline

Definition at line 29 of file L0MDTSegment.h.

29{ m_zMin = x; }

◆ setZRef()

void L0MDT::Segment::setZRef ( float x)
inline

Definition at line 31 of file L0MDTSegment.h.

31{ m_zRef = x; }

◆ zMax()

float L0MDT::Segment::zMax ( ) const
inline

Definition at line 41 of file L0MDTSegment.h.

41{ return m_zMax; }

◆ zMin()

float L0MDT::Segment::zMin ( ) const
inline

Definition at line 40 of file L0MDTSegment.h.

40{ return m_zMin; }

◆ zRef()

float L0MDT::Segment::zRef ( ) const
inline

Definition at line 42 of file L0MDTSegment.h.

42{ return m_zRef; }

Member Data Documentation

◆ m_b

float L0MDT::Segment::m_b {0.f}
private

Definition at line 47 of file L0MDTSegment.h.

47{0.f};

◆ m_chi2

float L0MDT::Segment::m_chi2 {0.f}
private

Definition at line 48 of file L0MDTSegment.h.

48{0.f};

◆ m_m

float L0MDT::Segment::m_m {0.f}
private

Definition at line 46 of file L0MDTSegment.h.

46{0.f};

◆ m_nHits

unsigned int L0MDT::Segment::m_nHits {0}
private

Definition at line 49 of file L0MDTSegment.h.

49{0};

◆ m_rRef

float L0MDT::Segment::m_rRef {0.f}
private

Definition at line 54 of file L0MDTSegment.h.

54{0.f};

◆ m_zMax

float L0MDT::Segment::m_zMax {0.f}
private

Definition at line 52 of file L0MDTSegment.h.

52{0.f};

◆ m_zMin

float L0MDT::Segment::m_zMin {0.f}
private

Definition at line 51 of file L0MDTSegment.h.

51{0.f};

◆ m_zRef

float L0MDT::Segment::m_zRef {0.f}
private

Definition at line 53 of file L0MDTSegment.h.

53{0.f};

The documentation for this class was generated from the following file: