ATLAS Offline Software
|
#include <SCT_ForwardModuleSideGeometry.h>
Public Member Functions | |
SCT_ForwardModuleSideGeometry (const double radius1, const double halfHeight1, const double radius2, const double halfHeight2, const int strips, const double step, const int nCrystals) | |
Constructor with parameters: r from inner crystal center to beam inner crystal half height r from outer crystal (if present) center to beam outer crystal (if present) half height number of strips (same for both crystals) strip step in angle (same for both crystals) number of crystals per module side. More... | |
virtual | ~SCT_ForwardModuleSideGeometry ()=default |
Destructor: More... | |
double | radius () const |
Nominal center radius of double wafer. More... | |
double | radius1 () const |
r from inner crystal center to beam: More... | |
double | halfHeight1 () const |
inner crystal half height: More... | |
double | radius2 () const |
r from outer crystal (if present) center to beam: More... | |
double | halfHeight2 () const |
outer crystal (if present) half height: More... | |
int | strips () const |
number of strips (same for both crystals): More... | |
double | step () const |
strip step in angle (same for both crystals): More... | |
double | angularPitch () const |
int | nCrystals () const |
number of crystals per module side More... | |
void | distanceToDetectorEdge (const SiLocalPosition &localPosition, const SCT_ForwardPolarPosition &polarPos, double &etaDist, double &phiDist) const |
bool | nearBondGap (const SiLocalPosition &localPosition, double etaTol) const |
Test if near bond gap within tolerances. More... | |
bool | inActiveArea (const SiLocalPosition &chargePosition, bool checkBondGap=true) const |
check if position is in active area More... | |
bool | inActiveArea (const SCT_ForwardPolarPosition &polarPos) const |
DEPRECATED. More... | |
double | stripPitch (const SCT_ForwardPolarPosition &polarPos) const |
give the strip pitch (dependence on position needed for forward) More... | |
double | scaledDistanceToNearestDiode (const SCT_ForwardPolarPosition &polarPos) const |
give distance to the nearest diode in units of pitch, from 0.0 to 0.5, this method should be fast as it is called for every surface charge in the SCT_SurfaceChargesGenerator More... | |
double | length () const |
Method to calculate length of a module. More... | |
double | width () const |
Method to calculate average width of a module. More... | |
double | minWidth () const |
Method to calculate minimum width of a module. More... | |
double | maxWidth () const |
Method to calculate maximum width of a module. More... | |
double | deadAreaLength () const |
give length of dead area More... | |
double | deadAreaUpperBoundary () const |
give upper boundary of dead area More... | |
double | deadAreaLowerBoundary () const |
give lower boundary of dead area More... | |
Private Member Functions | |
SCT_ForwardModuleSideGeometry () | |
Private Attributes | |
double | m_radius |
r from nominal element center to beam More... | |
double | m_radius1 |
r from inner crystal center to beam More... | |
double | m_halfHeight1 |
inner crystal half height More... | |
double | m_radius2 |
r from outer crystal (if present) center to beam More... | |
double | m_halfHeight2 |
outer crystal (if present) half height More... | |
int | m_strips |
number of strips (same for both crystals) More... | |
double | m_step |
strip step in angle (same for both crystals) More... | |
int | m_nCrystals |
number of crystals per module side More... | |
double | m_leftSide |
left border of module in angle More... | |
double | m_rightSide |
right border of module in angle More... | |
double | m_upperSide1 |
upper side of crystal 1 More... | |
double | m_lowerSide1 |
lower side of crystal 1 More... | |
double | m_upperSide2 |
upper side of crystal 2 More... | |
double | m_lowerSide2 |
lower side of crystal 2 More... | |
double | m_halfLength |
top = +halfLength, bot = -halfLength More... | |
double | m_deadRegionUpper |
relative to center of detector. More... | |
double | m_deadRegionLower |
relative to center of detector. More... | |
double | m_tangent |
tan(theta) at edge = (halfWidth) / (radius) More... | |
Geometry descriptor holding strig number, crystel inner and outer half length & radius.
Definition at line 29 of file SCT_ForwardModuleSideGeometry.h.
InDetDD::SCT_ForwardModuleSideGeometry::SCT_ForwardModuleSideGeometry | ( | const double | radius1, |
const double | halfHeight1, | ||
const double | radius2, | ||
const double | halfHeight2, | ||
const int | strips, | ||
const double | step, | ||
const int | nCrystals | ||
) |
Constructor with parameters: r from inner crystal center to beam inner crystal half height r from outer crystal (if present) center to beam outer crystal (if present) half height number of strips (same for both crystals) strip step in angle (same for both crystals) number of crystals per module side.
Definition at line 23 of file SCT_ForwardModuleSideGeometry.cxx.
|
virtualdefault |
Destructor:
|
private |
|
inline |
Definition at line 196 of file SCT_ForwardModuleSideGeometry.h.
double InDetDD::SCT_ForwardModuleSideGeometry::deadAreaLength | ( | ) | const |
double InDetDD::SCT_ForwardModuleSideGeometry::deadAreaLowerBoundary | ( | ) | const |
give lower boundary of dead area
Definition at line 222 of file SCT_ForwardModuleSideGeometry.cxx.
double InDetDD::SCT_ForwardModuleSideGeometry::deadAreaUpperBoundary | ( | ) | const |
give upper boundary of dead area
Definition at line 216 of file SCT_ForwardModuleSideGeometry.cxx.
void InDetDD::SCT_ForwardModuleSideGeometry::distanceToDetectorEdge | ( | const SiLocalPosition & | localPosition, |
const SCT_ForwardPolarPosition & | polarPos, | ||
double & | etaDist, | ||
double & | phiDist | ||
) | const |
Definition at line 84 of file SCT_ForwardModuleSideGeometry.cxx.
|
inline |
inner crystal half height:
Definition at line 171 of file SCT_ForwardModuleSideGeometry.h.
|
inline |
outer crystal (if present) half height:
Definition at line 181 of file SCT_ForwardModuleSideGeometry.h.
bool InDetDD::SCT_ForwardModuleSideGeometry::inActiveArea | ( | const SCT_ForwardPolarPosition & | polarPos | ) | const |
bool InDetDD::SCT_ForwardModuleSideGeometry::inActiveArea | ( | const SiLocalPosition & | chargePosition, |
bool | checkBondGap = true |
||
) | const |
check if position is in active area
Definition at line 110 of file SCT_ForwardModuleSideGeometry.cxx.
double InDetDD::SCT_ForwardModuleSideGeometry::length | ( | ) | const |
Method to calculate length of a module.
Definition at line 175 of file SCT_ForwardModuleSideGeometry.cxx.
double InDetDD::SCT_ForwardModuleSideGeometry::maxWidth | ( | ) | const |
Method to calculate maximum width of a module.
Definition at line 193 of file SCT_ForwardModuleSideGeometry.cxx.
double InDetDD::SCT_ForwardModuleSideGeometry::minWidth | ( | ) | const |
Method to calculate minimum width of a module.
Definition at line 187 of file SCT_ForwardModuleSideGeometry.cxx.
|
inline |
number of crystals per module side
Definition at line 201 of file SCT_ForwardModuleSideGeometry.h.
bool InDetDD::SCT_ForwardModuleSideGeometry::nearBondGap | ( | const SiLocalPosition & | localPosition, |
double | etaTol | ||
) | const |
Test if near bond gap within tolerances.
Definition at line 99 of file SCT_ForwardModuleSideGeometry.cxx.
|
inline |
Nominal center radius of double wafer.
Definition at line 166 of file SCT_ForwardModuleSideGeometry.h.
|
inline |
r from inner crystal center to beam:
Definition at line 161 of file SCT_ForwardModuleSideGeometry.h.
|
inline |
r from outer crystal (if present) center to beam:
Definition at line 176 of file SCT_ForwardModuleSideGeometry.h.
double InDetDD::SCT_ForwardModuleSideGeometry::scaledDistanceToNearestDiode | ( | const SCT_ForwardPolarPosition & | polarPos | ) | const |
give distance to the nearest diode in units of pitch, from 0.0 to 0.5, this method should be fast as it is called for every surface charge in the SCT_SurfaceChargesGenerator
Definition at line 163 of file SCT_ForwardModuleSideGeometry.cxx.
|
inline |
strip step in angle (same for both crystals):
Definition at line 191 of file SCT_ForwardModuleSideGeometry.h.
double InDetDD::SCT_ForwardModuleSideGeometry::stripPitch | ( | const SCT_ForwardPolarPosition & | polarPos | ) | const |
give the strip pitch (dependence on position needed for forward)
Definition at line 154 of file SCT_ForwardModuleSideGeometry.cxx.
|
inline |
number of strips (same for both crystals):
Definition at line 186 of file SCT_ForwardModuleSideGeometry.h.
double InDetDD::SCT_ForwardModuleSideGeometry::width | ( | ) | const |
Method to calculate average width of a module.
Definition at line 181 of file SCT_ForwardModuleSideGeometry.cxx.
|
private |
relative to center of detector.
Definition at line 152 of file SCT_ForwardModuleSideGeometry.h.
|
private |
relative to center of detector.
Definition at line 151 of file SCT_ForwardModuleSideGeometry.h.
|
private |
inner crystal half height
Definition at line 137 of file SCT_ForwardModuleSideGeometry.h.
|
private |
outer crystal (if present) half height
Definition at line 139 of file SCT_ForwardModuleSideGeometry.h.
|
private |
top = +halfLength, bot = -halfLength
Definition at line 150 of file SCT_ForwardModuleSideGeometry.h.
|
private |
left border of module in angle
Definition at line 143 of file SCT_ForwardModuleSideGeometry.h.
|
private |
lower side of crystal 1
Definition at line 146 of file SCT_ForwardModuleSideGeometry.h.
|
private |
lower side of crystal 2
Definition at line 148 of file SCT_ForwardModuleSideGeometry.h.
|
private |
number of crystals per module side
Definition at line 142 of file SCT_ForwardModuleSideGeometry.h.
|
private |
r from nominal element center to beam
Definition at line 135 of file SCT_ForwardModuleSideGeometry.h.
|
private |
r from inner crystal center to beam
Definition at line 136 of file SCT_ForwardModuleSideGeometry.h.
|
private |
r from outer crystal (if present) center to beam
Definition at line 138 of file SCT_ForwardModuleSideGeometry.h.
|
private |
right border of module in angle
Definition at line 144 of file SCT_ForwardModuleSideGeometry.h.
|
private |
strip step in angle (same for both crystals)
Definition at line 141 of file SCT_ForwardModuleSideGeometry.h.
|
private |
number of strips (same for both crystals)
Definition at line 140 of file SCT_ForwardModuleSideGeometry.h.
|
private |
tan(theta) at edge = (halfWidth) / (radius)
Definition at line 153 of file SCT_ForwardModuleSideGeometry.h.
|
private |
upper side of crystal 1
Definition at line 145 of file SCT_ForwardModuleSideGeometry.h.
|
private |
upper side of crystal 2
Definition at line 147 of file SCT_ForwardModuleSideGeometry.h.