15#ifndef FT3MODULECONSTANTS_H
16#define FT3MODULECONSTANTS_H
66inline const int staveIdxToID(
int staveIdx,
unsigned nStavesPerDisc)
68 unsigned nStavesOneSide = nStavesPerDisc / 2;
69 bool isRight = staveIdx >= nStavesOneSide;
70 return staveIdx - nStavesOneSide + isRight;
137namespace OT_StavePositions
145 52.8, 66.0, 79.2, 92.4, 99.0, 105.6, 118.8, 118.8,
146 128.7, 132.0, 132.0, 138.6, 138.6, 56.1, 52.8,
147 52.8, 56.1, 138.6, 138.6, 132.0, 132.0, 128.7,
148 118.8, 118.8, 105.6, 99.0, 92.4, 79.2, 66.0, 52.8};
150 -65.25, -60.75, -56.25, -51.75, -47.25, -42.75, -38.25,
151 -33.75, -29.25, -24.75, -20.25, -15.75, -11.25, -6.75, -2.25,
152 2.25, 6.75, 11.25, 15.75, 20.25, 24.75, 29.25, 33.75,
153 38.25, 42.75, 47.25, 51.75, 56.25, 60.75, 65.25
160 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1,
161 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0
165namespace ML_StavePositions
176 30.5, 44.5, 53.6, 60.0, 64.6, 29.5, 25.8, 25.0,
177 25.0, 25.8, 29.5, 64.6, 60.0, 53.6, 44.5, 30.5};
179 -33.75, -29.25, -24.75, -20.25, -15.75, -11.25, -6.75, -2.25,
180 2.25, 6.75, 11.25, 15.75, 20.25, 24.75, 29.25, 33.75
187 1, 0, 1, 0, 1, 0, 1, 0,
188 1, 0, 1, 0, 1, 0, 1, 0
GLfloat GLfloat GLfloat alpha
const double maxToleranceInner
const std::vector< double > x_midpoints
const std::vector< bool > staveOnFront
const double maxToleranceOuter
const std::vector< double > y_lengths
const double x_midpoint_spacing
const std::map< int, std::pair< double, bool > > staveID_to_y_midpoint
const double maxToleranceOuter
const std::vector< double > y_lengths
const std::map< int, std::pair< double, bool > > staveID_to_y_midpoint
const std::vector< double > x_midpoints
const double maxToleranceInner
const double x_midpoint_spacing
const std::vector< bool > staveOnFront
const double staveSensorGap
const double single_sensor_height
const double epoxyThickness
const double effectiveCarbonThickness_Stave
const double sensor2x1_active_width
const double sensor2x1_height
const double z_offsetStave(double x_midpoint_spacing)
const double inactive_width
const double active_width
const int staveIdxToID(int staveIdx, unsigned nStavesPerDisc)
const double active_height
const double sensor2x1_gap
const double sensor2x1_width
const double siliconThickness
StaveConfig getStaveConfig(bool isInnerDisk)
const double staveOpeningAngle
const double getStackHeight(unsigned nSensorsPerStack)
const double single_sensor_width
const double kaptonThickness
const int carbonFiberColor
const double copperThickness
const int SiInactiveColor
const double staveTriangleHeight
const std::vector< unsigned > kSensorsPerStack
const std::vector< double > & x_midpoints
const double x_midpoint_spacing
const std::vector< double > & y_lengths
const double maxToleranceInner
const std::map< int, std::pair< double, bool > > & staveID_to_y_midpoint
const std::vector< bool > & staveOnFront
const double maxToleranceOuter