Belle II Software  release-06-00-14
Mapping_t Class Reference

Static Public Member Functions

static void Mapping (int id, int &ThetaId, int &PhiId)
 
static void Mapping (int id, int &ThetaId, int &PhiId, int &nrep, int &indx)
 
static int CellID (int ThetaId, int PhiId)
 
static int Offset (int ThetaId)
 
static int Indx2ThetaId (int indx)
 
static int ThetaId2NCry (int ThetaId)
 

Static Private Attributes

static const char m_dTheta [69]
 
static const unsigned char m_Theta [546]
 
static const unsigned char m_tbl [69]
 
static const unsigned char m_offsets [69]
 
static const unsigned char m_RECIPROCAL_SHIFT = 16
 
static const unsigned int m_recip [5] = {pack(2), pack(3), pack(4), pack(6), pack(9)}
 
static const unsigned int m_denom [5] = { (2), (3), (4), (6), (9)}
 

Detailed Description

Definition at line 26 of file ECLGeometryPar.cc.

Member Data Documentation

◆ m_dTheta

const char m_dTheta
staticprivate
Initial value:
= {
0, -5, -10, -14, -18, -22, -24, -26, -28, -30, -32, -34, -33,
-32, -31, -30, -29, -28, -27, -26, -25, -24,
-23, -22, -21, -20, -19, -18, -17, -16, -15,
-14, -13, -12, -11, -10, -9, -8, -7, -6,
-5, -4, -3, -2, -1, 0, 1, 2, 3,
4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
14, 15, 16, 14, 12, 10, 8, 6, 2, -2
}

Definition at line 69 of file ECLGeometryPar.cc.

◆ m_offsets

const unsigned char m_offsets
staticprivate
Initial value:
= {
0, 3, 6, 10, 14, 18, 24, 30, 36, 42, 48, 54, 63,
132, 134, 136, 138, 140, 142, 144, 146, 148,
150, 152, 154, 156, 158, 160, 162, 164, 166,
168, 170, 172, 174, 176, 178, 180, 182, 184,
186, 188, 190, 192, 194, 196, 198, 200, 202,
204, 206, 208, 210, 212, 214, 216, 218, 220, 222,
72, 81, 90, 96, 102, 108, 114, 120, 124, 128
}

Definition at line 70 of file ECLGeometryPar.cc.

◆ m_tbl

const unsigned char m_tbl
staticprivate
Initial value:
= {
1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4,
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4, 4, 3, 3, 3, 3, 3, 2, 2, 2
}

Definition at line 70 of file ECLGeometryPar.cc.

◆ m_Theta

const unsigned char m_Theta
staticprivate
Initial value:
= {
0, 0, 0, 1, 1, 1,
2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4,
5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7,
8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10,
11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12,
13, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15,
16, 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 18,
19, 19, 19, 19, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 21, 21, 21,
22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24,
25, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27,
28, 28, 28, 28, 28, 28, 28, 28, 28, 29, 29, 29, 29, 29, 29, 29, 29, 29, 30, 30, 30, 30, 30, 30, 30, 30, 30,
31, 31, 31, 31, 31, 31, 31, 31, 31, 32, 32, 32, 32, 32, 32, 32, 32, 32, 33, 33, 33, 33, 33, 33, 33, 33, 33,
34, 34, 34, 34, 34, 34, 34, 34, 34, 35, 35, 35, 35, 35, 35, 35, 35, 35, 36, 36, 36, 36, 36, 36, 36, 36, 36,
37, 37, 37, 37, 37, 37, 37, 37, 37, 38, 38, 38, 38, 38, 38, 38, 38, 38, 39, 39, 39, 39, 39, 39, 39, 39, 39,
40, 40, 40, 40, 40, 40, 40, 40, 40, 41, 41, 41, 41, 41, 41, 41, 41, 41, 42, 42, 42, 42, 42, 42, 42, 42, 42,
43, 43, 43, 43, 43, 43, 43, 43, 43, 44, 44, 44, 44, 44, 44, 44, 44, 44, 45, 45, 45, 45, 45, 45, 45, 45, 45,
46, 46, 46, 46, 46, 46, 46, 46, 46, 47, 47, 47, 47, 47, 47, 47, 47, 47, 48, 48, 48, 48, 48, 48, 48, 48, 48,
49, 49, 49, 49, 49, 49, 49, 49, 49, 50, 50, 50, 50, 50, 50, 50, 50, 50, 51, 51, 51, 51, 51, 51, 51, 51, 51,
52, 52, 52, 52, 52, 52, 52, 52, 52, 53, 53, 53, 53, 53, 53, 53, 53, 53, 54, 54, 54, 54, 54, 54, 54, 54, 54,
55, 55, 55, 55, 55, 55, 55, 55, 55, 56, 56, 56, 56, 56, 56, 56, 56, 56, 57, 57, 57, 57, 57, 57, 57, 57, 57,
58, 58, 58, 58, 58, 58, 58, 58, 58,
59, 59, 59, 59, 59, 59, 59, 59, 59, 60, 60, 60, 60, 60, 60, 60, 60, 60,
61, 61, 61, 61, 61, 61, 62, 62, 62, 62, 62, 62,
63, 63, 63, 63, 63, 63, 64, 64, 64, 64, 64, 64,
65, 65, 65, 65, 65, 65,
66, 66, 66, 66, 67, 67, 67, 67, 68, 68, 68, 68
}

Definition at line 70 of file ECLGeometryPar.cc.


The documentation for this class was generated from the following file: