1 #ifndef Alignment_CommonAlignment_TIBNameSpace_H
2 #define Alignment_CommonAlignment_TIBNameSpace_H
23 const unsigned int sphs[] = {13, 15, 17, 19, 22, 23, 26, 28};
55 std::vector<unsigned int>
s = detId.
string();
59 unsigned int l = 2 * (detId.
layer() - 1) + s[1] - 1;
64 return s[2] >
sphs[
l] ? 2 *
sphs[
l] + 1 - s[2] : s[2];
76 std::vector<unsigned int>
s = detId.
string();
80 unsigned int l = 2 * (detId.
layer() - 1) + s[1] - 1;
82 return s[2] >
sphs[
l] ? 1 : 2;
unsigned int halfBarrelNumber(align::ID)
Half barrel number is 1 at -z side and 2 at +z side.
unsigned int halfShellNumber(align::ID)
Half shell number is 1 for bottom (-y) and 2 for top (+y).
unsigned int layerNumber(align::ID)
Layer number increases with rho from 1 to 8.
unsigned int surfaceNumber(align::ID)
Surface number is 1 for inner and 2 for outer.
unsigned int moduleNumber(align::ID)
Module number increases with |z| from 1 to 3.
std::vector< unsigned int > string() const
string id
const unsigned int sphs[]
Number of strings for each surface of a half shell.
unsigned int module() const
detector id
unsigned int stringNumber(align::ID)
unsigned int layer() const
layer id