11#ifndef INDETREADOUTGEOMETRY_SCT_FORWARDMODULESIDEGEOMETRY_H
12#define INDETREADOUTGEOMETRY_SCT_FORWARDMODULESIDEGEOMETRY_H
84 double & etaDist,
double & phiDist)
const;
107 double width()
const;
double deadAreaLength() const
give length of dead area
double angularPitch() const
double m_step
strip step in angle (same for both crystals)
double m_radius2
r from outer crystal (if present) center to beam
double maxWidth() const
Method to calculate maximum width of a module.
double m_halfHeight1
inner crystal half height
bool nearBondGap(const SiLocalPosition &localPosition, double etaTol) const
Test if near bond gap within tolerances.
double m_halfHeight2
outer crystal (if present) half height
double halfHeight1() const
inner crystal half height:
double minWidth() const
Method to calculate minimum width of a module.
double length() const
Method to calculate length of a module.
double step() const
strip step in angle (same for both crystals):
double m_upperSide1
upper side of crystal 1
double m_lowerSide2
lower side of crystal 2
bool inActiveArea(const SiLocalPosition &chargePosition, bool checkBondGap=true) const
check if position is in active area
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 ...
double m_tangent
tan(theta) at edge = (halfWidth) / (radius)
double m_leftSide
left border of module in angle
double m_halfLength
top = +halfLength, bot = -halfLength
SCT_ForwardModuleSideGeometry()
double radius2() const
r from outer crystal (if present) center to beam:
double m_deadRegionUpper
relative to center of detector.
double deadAreaUpperBoundary() const
give upper boundary of dead area
int strips() const
number of strips (same for both crystals):
double radius() const
Nominal center radius of double wafer.
double width() const
Method to calculate average width of a module.
virtual ~SCT_ForwardModuleSideGeometry()=default
Destructor:
double radius1() const
r from inner crystal center to beam:
int nCrystals() const
number of crystals per module side
double halfHeight2() const
outer crystal (if present) half height:
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 out...
double m_upperSide2
upper side of crystal 2
double m_lowerSide1
lower side of crystal 1
double m_radius1
r from inner crystal center to beam
double deadAreaLowerBoundary() const
give lower boundary of dead area
double m_deadRegionLower
relative to center of detector.
double m_rightSide
right border of module in angle
double m_radius
r from nominal element center to beam
double stripPitch(const SCT_ForwardPolarPosition &polarPos) const
give the strip pitch (dependence on position needed for forward)
void distanceToDetectorEdge(const SiLocalPosition &localPosition, const SCT_ForwardPolarPosition &polarPos, double &etaDist, double &phiDist) const
int m_strips
number of strips (same for both crystals)
int m_nCrystals
number of crystals per module side
2D position in polar coordinates for the polar frame in the SCT endcaps.
Class to represent a position in the natural frame of a silicon sensor, for Pixel and SCT For Pixel: ...