12 int levelPart =
get(
"level", muonConstants);
13 assert(levelPart != 0);
19 theWireLevel =
get(
"mb_wire", muonConstants) / levelPart;
31 decode(num, wire_id, layer_id, superlayer_id, sector_id, station_id, wheel_id);
33 DTWireId id(wheel_id, station_id, sector_id, superlayer_id, layer_id, wire_id);
44 int& wheel_id)
const {
49 wheel_id = copyno - 2;
54 station_id = station_tag;
55 sector_id = copyno + 1;
58 superlayer_id = copyno + 1;
61 layer_id = copyno + 1;
71 auto const& it = muonConstants.find(key);
72 if (it !=
end(muonConstants))
int getBaseNo(int level) const
std::unordered_map< std::string_view, int > MuonConstants
DTNumberingScheme(const MuonConstants &)
void initMe(const MuonConstants &)
Namespace of DDCMS conversion namespace.
const int get(const char *, const MuonConstants &) const
void decode(const MuonBaseNumber &num, int &wire_id, int &layer_id, int &superlayer_id, int §or_id, int &station_id, int &wheel_id) const
int getSuperNo(int level) const
int getDetId(const MuonBaseNumber &) const