1 #ifndef Alignment_CommonAlignment_TIBNameSpace_H
2 #define Alignment_CommonAlignment_TIBNameSpace_H
24 const unsigned int sphs[] = {13, 15, 17, 19, 22, 23, 26, 28};
60 unsigned int l = 2 * (tTopo->
tibLayer(
id) - 1) + s[1] - 1;
65 return s[2] >
sphs[
l] ? 2 *
sphs[
l] + 1 - s[2] : s[2];
81 unsigned int l = 2 * (tTopo->
tibLayer(
id) - 1) + s[1] - 1;
83 return s[2] >
sphs[
l] ? 1 : 2;
unsigned int halfBarrelNumber(align::ID, const TrackerTopology *)
Half barrel number is 1 at -z side and 2 at +z side.
unsigned int tibLayer(const DetId &id) const
unsigned int stringNumber(align::ID, const TrackerTopology *)
unsigned int halfShellNumber(align::ID, const TrackerTopology *)
Half shell number is 1 for bottom (-y) and 2 for top (+y).
std::vector< unsigned int > tibStringInfo(const DetId &id) const
unsigned int moduleNumber(align::ID, const TrackerTopology *)
Module number increases with |z| from 1 to 3.
const unsigned int sphs[]
Number of strings for each surface of a half shell.
unsigned int tibModule(const DetId &id) const
unsigned int surfaceNumber(align::ID, const TrackerTopology *)
Surface number is 1 for inner and 2 for outer.
unsigned int layerNumber(align::ID, const TrackerTopology *)
Layer number increases with rho from 1 to 8.