ATLAS Offline Software
Loading...
Searching...
No Matches
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
30
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
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
126inline const HECRadialSegment* HECLongBlock::getRadialSegment (unsigned int i) const
127{
128
129 return m_RadialSeg[i];
130
131}
132
133inline unsigned int HECLongBlock::getNumRadialSegments () const
134{
135
136 return m_RadialSeg.size();
137
138}
139
140
141
142inline unsigned int HECLongBlock::getBlockNumber () const
143{
144
145 return m_blockNumber;
146
147}
148
149inline double HECLongBlock::getInnerRadius () const
150{
151
152 return m_innerRadius;
153
154}
155
156inline double HECLongBlock::getOuterRadius () const
157{
158
159 return m_outerRadius;
160
161}
162
163inline double HECLongBlock::getDepth () const
164{
165
166 return m_depth;
167
168}
169
170inline unsigned int HECLongBlock::getNumLArGaps () const
171{
172
173 return m_numLArGaps;
174
175}
176
178{
179
181
182}
183
185{
186
188
189}
190
191
192
193
194
195#endif
double m_frontPlateThickness
const HECRadialSegment * getRadialSegment(unsigned int i) const
Returns a radial segment if it exists.
~HECLongBlock()
Destructor.
unsigned int m_numLArGaps
unsigned int getNumLArGaps() const
Number of LArGaps in Block.
unsigned int getNumRadialSegments() const
returns the number of radial segments (14)
double m_backPlateThickness
double m_outerRadius
double getFrontPlateThickness() const
Front plate thickness (or zero if no front plate)
HECLongBlock & operator=(const HECLongBlock &right)
Assignment.
unsigned int m_blockNumber
double m_innerRadius
unsigned int getBlockNumber() const
Block Number (1-7)
double getInnerRadius() const
Inner Radius of LongBlock (CLHEP::mm)
double getDepth() const
Depth of block (CLHEP::mm)
double getBackPlateThickness() const
Back plate thickness (or zero if no back plate)
HECLongBlock(const HECLongBlock &right)
Copy Constructor.
std::vector< HECRadialSegment * > m_RadialSeg
double getOuterRadius() const
Outer Radius of LongBlock (CLHEP::mm)
Description of a radial segment of a HEC module.