22 int theLevelPart = muonConstants.
getValue(
"level");
45 edm::LogWarning(
"MuonGeom") <<
"DTNumberingScheme::BNToUN: BaseNumber has " <<
num.getLevels() <<
" levels, need " 71 int superlayer_id = 0;
77 decode(
num, wire_id, layer_id, superlayer_id, sector_id, station_id, wheel_id);
92 DTWireId id(wheel_id, station_id, sector_id, superlayer_id, layer_id, wire_id);
107 int& wheel_id)
const {
111 const int copyno =
num.getBaseNo(
level);
112 wheel_id = copyno - 2;
115 const int station_tag =
num.getSuperNo(
level);
116 const int copyno =
num.getBaseNo(
level);
117 station_id = station_tag;
118 sector_id = copyno + 1;
121 const int copyno =
num.getBaseNo(
level);
122 superlayer_id = copyno + 1;
125 const int copyno =
num.getBaseNo(
level);
126 layer_id = copyno + 1;
129 const int copyno =
num.getBaseNo(
level);
130 wire_id = copyno + 1;
int getValue(const std::string &name) const
Log< level::Info, true > LogVerbatim
void initMe(const MuonGeometryConstants &muonConstants)
int baseNumberToUnitNumber(const MuonBaseNumber &num) const override
int getDetId(const MuonBaseNumber &num) const
DTNumberingScheme(const MuonGeometryConstants &muonConstants)
Log< level::Warning, false > LogWarning
void decode(const MuonBaseNumber &num, int &wire_id, int &layer_id, int &superlayer_id, int §or_id, int &station_id, int &wheel_id) const