ATLAS Offline Software
LArCalorimeter
LArGeoModel
LArReadoutGeometry
LArReadoutGeometry
HECRadialSegment.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARREADOUTGEOMETRY_HECRADIALSEGMENT_H
6
#define LARREADOUTGEOMETRY_HECRADIALSEGMENT_H
7
19
class
HECRadialSegment
20
{
21
22
23
24
public
:
25
29
HECRadialSegment
(
const
HECRadialSegment
&right);
30
34
HECRadialSegment
(
double
lower,
double
upper
);
35
39
~HECRadialSegment
();
40
44
HECRadialSegment
&
operator=
(
const
HECRadialSegment
&right);
45
49
double
getMinVal
()
const
;
50
54
double
getMaxVal
()
const
;
55
56
private
:
57
58
double
m_minVal
;
59
double
m_maxVal
;
60
61
};
62
63
64
65
66
67
inline
HECRadialSegment::HECRadialSegment
(
const
HECRadialSegment
&right)
68
69
70
71
:m_minVal(right.m_minVal),m_maxVal(right.m_maxVal)
72
73
{
74
75
76
}
77
78
inline
HECRadialSegment::HECRadialSegment
(
double
lower,
double
upper
)
79
80
81
82
:m_minVal(lower),m_maxVal(
upper
)
83
84
{
85
86
87
}
88
89
90
inline
HECRadialSegment::~HECRadialSegment
()
91
{
92
93
94
}
95
96
97
inline
HECRadialSegment
&
HECRadialSegment::operator=
(
const
HECRadialSegment
&right)
98
{
99
100
if
(
this
!=&right) {
101
m_minVal
=right.
m_minVal
;
102
m_maxVal
=right.
m_maxVal
;
103
}
104
return
*
this
;
105
106
}
107
108
109
110
111
inline
double
HECRadialSegment::getMinVal
()
const
112
{
113
114
return
m_minVal
;
115
116
}
117
118
inline
double
HECRadialSegment::getMaxVal
()
const
119
{
120
121
return
m_maxVal
;
122
123
}
124
125
126
127
128
129
#endif
upper
int upper(int c)
Definition:
LArBadChannelParser.cxx:49
HECRadialSegment::m_maxVal
double m_maxVal
Definition:
HECRadialSegment.h:59
HECRadialSegment::operator=
HECRadialSegment & operator=(const HECRadialSegment &right)
Assignment.
Definition:
HECRadialSegment.h:97
HECRadialSegment::getMaxVal
double getMaxVal() const
Maximum Range Value.
Definition:
HECRadialSegment.h:118
HECRadialSegment::m_minVal
double m_minVal
Definition:
HECRadialSegment.h:58
HECRadialSegment
Description of a radial segment of a HEC module.
Definition:
HECRadialSegment.h:20
HECRadialSegment::getMinVal
double getMinVal() const
Minimum Range Value.
Definition:
HECRadialSegment.h:111
HECRadialSegment::~HECRadialSegment
~HECRadialSegment()
Destructor.
Definition:
HECRadialSegment.h:90
HECRadialSegment::HECRadialSegment
HECRadialSegment(const HECRadialSegment &right)
Copy Constructor.
Definition:
HECRadialSegment.h:67
Generated on Thu Nov 7 2024 21:16:06 for ATLAS Offline Software by
1.8.18