ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
HECRadialSegment Class Reference

Description of a radial segment of a HEC module. More...

#include <HECRadialSegment.h>

Collaboration diagram for HECRadialSegment:

Public Member Functions

 HECRadialSegment (const HECRadialSegment &right)
 Copy Constructor. More...
 
 HECRadialSegment (double lower, double upper)
 Constructor. More...
 
 ~HECRadialSegment ()
 Destructor. More...
 
HECRadialSegmentoperator= (const HECRadialSegment &right)
 Assignment. More...
 
double getMinVal () const
 Minimum Range Value. More...
 
double getMaxVal () const
 Maximum Range Value. More...
 

Private Attributes

double m_minVal
 
double m_maxVal
 

Detailed Description

Description of a radial segment of a HEC module.

The HEC Radial Segment class describes the radial segmentation of one of the 7 compartments of the HEC. This essentially just consists of a minimum and maximum radial value.

Definition at line 19 of file HECRadialSegment.h.

Constructor & Destructor Documentation

◆ HECRadialSegment() [1/2]

HECRadialSegment::HECRadialSegment ( const HECRadialSegment right)
inline

Copy Constructor.

Definition at line 67 of file HECRadialSegment.h.

71  :m_minVal(right.m_minVal),m_maxVal(right.m_maxVal)
72 
73 {
74 
75 
76 }

◆ HECRadialSegment() [2/2]

HECRadialSegment::HECRadialSegment ( double  lower,
double  upper 
)
inline

Constructor.

Definition at line 78 of file HECRadialSegment.h.

82  :m_minVal(lower),m_maxVal(upper)
83 
84 {
85 
86 
87 }

◆ ~HECRadialSegment()

HECRadialSegment::~HECRadialSegment ( )
inline

Destructor.

Definition at line 90 of file HECRadialSegment.h.

91 {
92 
93 
94 }

Member Function Documentation

◆ getMaxVal()

double HECRadialSegment::getMaxVal ( ) const
inline

Maximum Range Value.

Definition at line 118 of file HECRadialSegment.h.

119 {
120 
121  return m_maxVal;
122 
123 }

◆ getMinVal()

double HECRadialSegment::getMinVal ( ) const
inline

Minimum Range Value.

Definition at line 111 of file HECRadialSegment.h.

112 {
113 
114  return m_minVal;
115 
116 }

◆ operator=()

HECRadialSegment & HECRadialSegment::operator= ( const HECRadialSegment right)
inline

Assignment.

Definition at line 97 of file HECRadialSegment.h.

98 {
99 
100  if (this!=&right) {
101  m_minVal=right.m_minVal;
102  m_maxVal=right.m_maxVal;
103  }
104  return *this;
105 
106 }

Member Data Documentation

◆ m_maxVal

double HECRadialSegment::m_maxVal
private

Definition at line 59 of file HECRadialSegment.h.

◆ m_minVal

double HECRadialSegment::m_minVal
private

Definition at line 58 of file HECRadialSegment.h.


The documentation for this class was generated from the following file:
upper
int upper(int c)
Definition: LArBadChannelParser.cxx:49
HECRadialSegment::m_maxVal
double m_maxVal
Definition: HECRadialSegment.h:59
HECRadialSegment::m_minVal
double m_minVal
Definition: HECRadialSegment.h:58