ATLAS Offline Software
HECLongBlock.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_HECLONGBLOCK_H
6 #define LARREADOUTGEOMETRY_HECLONGBLOCK_H
7 #include <vector>
9 
32 {
33 
34 
35 
36  public:
37 
41  HECLongBlock(const HECLongBlock &right);
42 
46  HECLongBlock (unsigned int blockNum
47  , double innerRad
48  , double outerRad
49  , double totalDepth
50  , unsigned int nLarGaps
51  , double frontPlateThick
52  , double backPlateThick
53  , const double etaRange[15]);
54 
58  ~HECLongBlock();
59 
63  HECLongBlock & operator=(const HECLongBlock &right);
64 
68  const HECRadialSegment* getRadialSegment (unsigned int i) const;
69 
73  unsigned int getNumRadialSegments () const;
74 
78  unsigned int getBlockNumber () const;
79 
83  double getInnerRadius () const;
84 
88  double getOuterRadius () const;
89 
93  double getDepth () const;
94 
98  unsigned int getNumLArGaps () const;
99 
103  double getFrontPlateThickness () const;
104 
108  double getBackPlateThickness () const;
109 
110  private:
111 
112  std::vector<HECRadialSegment *> m_RadialSeg;
113  unsigned int m_blockNumber;
116  double m_depth;
117  unsigned int m_numLArGaps;
120 };
121 
122 
123 
124 
125 
126 inline const HECRadialSegment* HECLongBlock::getRadialSegment (unsigned int i) const
127 {
128 
129  return m_RadialSeg[i];
130 
131 }
132 
133 inline unsigned int HECLongBlock::getNumRadialSegments () const
134 {
135 
136  return m_RadialSeg.size();
137 
138 }
139 
140 
141 
142 inline unsigned int HECLongBlock::getBlockNumber () const
143 {
144 
145  return m_blockNumber;
146 
147 }
148 
149 inline double HECLongBlock::getInnerRadius () const
150 {
151 
152  return m_innerRadius;
153 
154 }
155 
156 inline double HECLongBlock::getOuterRadius () const
157 {
158 
159  return m_outerRadius;
160 
161 }
162 
163 inline double HECLongBlock::getDepth () const
164 {
165 
166  return m_depth;
167 
168 }
169 
170 inline unsigned int HECLongBlock::getNumLArGaps () const
171 {
172 
173  return m_numLArGaps;
174 
175 }
176 
178 {
179 
180  return m_frontPlateThickness;
181 
182 }
183 
185 {
186 
187  return m_backPlateThickness;
188 
189 }
190 
191 
192 
193 
194 
195 #endif
HECLongBlock::getDepth
double getDepth() const
Depth of block (CLHEP::mm)
Definition: HECLongBlock.h:163
HECLongBlock::getFrontPlateThickness
double getFrontPlateThickness() const
Front plate thickness (or zero if no front plate)
Definition: HECLongBlock.h:177
LArCellBinning.etaRange
etaRange
Filling Eta range.
Definition: LArCellBinning.py:128
HECLongBlock::getBackPlateThickness
double getBackPlateThickness() const
Back plate thickness (or zero if no back plate)
Definition: HECLongBlock.h:184
HECLongBlock::m_RadialSeg
std::vector< HECRadialSegment * > m_RadialSeg
Definition: HECLongBlock.h:112
HECLongBlock::m_depth
double m_depth
Definition: HECLongBlock.h:116
HECRadialSegment.h
lumiFormat.i
int i
Definition: lumiFormat.py:92
HECLongBlock::m_numLArGaps
unsigned int m_numLArGaps
Definition: HECLongBlock.h:117
HECLongBlock::getNumRadialSegments
unsigned int getNumRadialSegments() const
returns the number of radial segments (14)
Definition: HECLongBlock.h:133
HECLongBlock
Definition: HECLongBlock.h:32
HECLongBlock::~HECLongBlock
~HECLongBlock()
Destructor.
Definition: HECLongBlock.cxx:51
HECLongBlock::HECLongBlock
HECLongBlock(const HECLongBlock &right)
Copy Constructor.
Definition: HECLongBlock.cxx:7
HECLongBlock::m_outerRadius
double m_outerRadius
Definition: HECLongBlock.h:115
HECLongBlock::m_frontPlateThickness
double m_frontPlateThickness
Definition: HECLongBlock.h:118
HECLongBlock::m_innerRadius
double m_innerRadius
Definition: HECLongBlock.h:114
HECLongBlock::getInnerRadius
double getInnerRadius() const
Inner Radius of LongBlock (CLHEP::mm)
Definition: HECLongBlock.h:149
HECRadialSegment
Description of a radial segment of a HEC module.
Definition: HECRadialSegment.h:20
HECLongBlock::getOuterRadius
double getOuterRadius() const
Outer Radius of LongBlock (CLHEP::mm)
Definition: HECLongBlock.h:156
HECLongBlock::operator=
HECLongBlock & operator=(const HECLongBlock &right)
Assignment.
Definition: HECLongBlock.cxx:56
HECLongBlock::getNumLArGaps
unsigned int getNumLArGaps() const
Number of LArGaps in Block.
Definition: HECLongBlock.h:170
HECLongBlock::m_backPlateThickness
double m_backPlateThickness
Definition: HECLongBlock.h:119
HECLongBlock::getRadialSegment
const HECRadialSegment * getRadialSegment(unsigned int i) const
Returns a radial segment if it exists.
Definition: HECLongBlock.h:126
HECLongBlock::getBlockNumber
unsigned int getBlockNumber() const
Block Number (1-7)
Definition: HECLongBlock.h:142
HECLongBlock::m_blockNumber
unsigned int m_blockNumber
Definition: HECLongBlock.h:113