4 #ifndef _MUON_NSW_STG_MAPPER_H_
5 #define _MUON_NSW_STG_MAPPER_H_
38 static const std::map <uint16_t, std::vector<std::vector<uint8_t>>> s_stgc_channel_map =
74 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_PAD, 1, 0, 3), { {2, 39, 1, 0}, {2, 40, 2, 47} }},
97 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 0, 0, 0), { {7, 21, 6, 48}, {6, 15, 5, 48}, {5, 15, 0, 0} }},
98 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 0, 0, 1), { {0, 42, 1, 15}, {1, 48, 2, 15}, {2, 48, 7, 63} }},
99 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 0, 0, 2), { {0, 42, 1, 15}, {1, 48, 2, 15}, {2, 48, 7, 63} }},
100 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 0, 0, 3), { {7, 21, 6, 48}, {6, 15, 5, 48}, {5, 15, 0, 0} }},
101 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 0, 0, 4), { {7, 21, 6, 48}, {6, 15, 5, 48}, {5, 15, 0, 0} }},
102 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 0, 0, 5), { {0, 42, 1, 15}, {1, 48, 2, 15}, {2, 48, 7, 63} }},
103 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 0, 0, 6), { {0, 42, 1, 15}, {1, 48, 2, 15}, {2, 48, 7, 63} }},
104 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 0, 0, 7), { {7, 21, 6, 48}, {6, 15, 5, 48}, {5, 15, 0, 0} }},
121 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 1, 0, 0), { {7, 23, 6, 48}, {6, 15, 5, 48}, {5, 15, 0, 0} }},
122 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 1, 0, 1), { {0, 40, 1, 15}, {1, 48, 2, 15}, {2, 48, 7, 63} }},
123 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 1, 0, 2), { {0, 40, 1, 15}, {1, 48, 2, 15}, {2, 48, 7, 63} }},
124 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 1, 0, 3), { {7, 23, 6, 48}, {6, 15, 5, 48}, {5, 15, 0, 0} }},
125 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 1, 0, 4), { {7, 23, 6, 48}, {6, 15, 5, 48}, {5, 15, 0, 0} }},
126 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 1, 0, 5), { {0, 40, 1, 15}, {1, 48, 2, 15}, {2, 48, 7, 63} }},
127 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 1, 0, 6), { {0, 40, 1, 15}, {1, 48, 2, 15}, {2, 48, 7, 63} }},
128 {
MapperSTG::private_id(
OFFLINE_CHANNEL_TYPE_STRIP, 1, 0, 7), { {7, 23, 6, 48}, {6, 15, 5, 48}, {5, 15, 0, 0} }},
197 static const std::map <uint16_t, std::pair<uint16_t, uint16_t>> s_stgc_pad_grid =
266 return (
channel_type & 0xf) << 12 | (sector_type & 0xf) << 8 | (feb_radius & 0xf) << 4 | (
layer & 0xf);
269 #endif // _MUON_NSW_STGC_MAPPER_H_