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;
133namespace OT_StavePositions
141 52.8, 66.0, 79.2, 92.4, 99.0, 105.6, 118.8, 118.8,
142 128.7, 132.0, 132.0, 138.6, 138.6, 56.1, 52.8,
143 52.8, 56.1, 138.6, 138.6, 132.0, 132.0, 128.7,
144 118.8, 118.8, 105.6, 99.0, 92.4, 79.2, 66.0, 52.8};
146 -65.25, -60.75, -56.25, -51.75, -47.25, -42.75, -38.25,
147 -33.75, -29.25, -24.75, -20.25, -15.75, -11.25, -6.75, -2.25,
148 2.25, 6.75, 11.25, 15.75, 20.25, 24.75, 29.25, 33.75,
149 38.25, 42.75, 47.25, 51.75, 56.25, 60.75, 65.25
154 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1,
155 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0
159namespace ML_StavePositions
170 30.5, 44.5, 53.6, 60.0, 64.6, 29.5, 25.8, 25.0,
171 25.0, 25.8, 29.5, 64.6, 60.0, 53.6, 44.5, 30.5};
173 -33.75, -29.25, -24.75, -20.25, -15.75, -11.25, -6.75, -2.25,
174 2.25, 6.75, 11.25, 15.75, 20.25, 24.75, 29.25, 33.75
179 1, 0, 1, 0, 1, 0, 1, 0,
180 1, 0, 1, 0, 1, 0, 1, 0
GLfloat GLfloat GLfloat alpha
const std::vector< double > x_midpoints
const std::vector< bool > staveOnFront
const std::vector< double > y_lengths
const double x_midpoint_spacing
const std::map< int, std::pair< double, bool > > staveID_to_y_midpoint
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 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 std::vector< double > & y_lengths
const std::map< int, std::pair< double, bool > > & staveID_to_y_midpoint
const std::vector< bool > & staveOnFront
double x_midpoint_spacing