22 int theLevelPart = muonConstants.
getValue(
"level");
45 edm::LogWarning(
"MuonGeom") <<
"DTNumberingScheme::BNToUN: BaseNumber has " <<
num.getLevels() <<
" levels, need " 77 int superlayer_id = 0;
83 decode(
num, wire_id, layer_id, superlayer_id, sector_id, station_id, wheel_id);
104 DTWireId id(wheel_id, station_id, sector_id, superlayer_id, layer_id, wire_id);
119 int& wheel_id)
const {
123 const int copyno =
num.getBaseNo(
level);
124 wheel_id = copyno - 2;
127 const int station_tag =
num.getSuperNo(
level);
128 const int copyno =
num.getBaseNo(
level);
129 station_id = station_tag;
130 sector_id = copyno + 1;
133 const int copyno =
num.getBaseNo(
level);
134 superlayer_id = copyno + 1;
137 const int copyno =
num.getBaseNo(
level);
138 layer_id = copyno + 1;
141 const int copyno =
num.getBaseNo(
level);
142 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