ATLAS Offline Software
Loading...
Searching...
No Matches
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_LOMDTSEGMENT_H
6#define L0MuonMDTTools_LOMDTSEGMENT_H
7
8
9namespace L0MDT {
17 class Segment {
18 public:
19 Segment(const float slope, const float intercept): m_slope(slope), m_intercept(intercept) {}
20 ~Segment() = default;
21
22 float slope() const { return m_slope; }
23 float intercept() const { return m_intercept; }
24
25 private:
26
27 float m_slope{0.f};
28 float m_intercept{0.f};
29
30 };
31
32}// end of namespace
33
34#endif
float slope() const
~Segment()=default
Segment(const float slope, const float intercept)
float intercept() const