12 int theLevelPart = muonConstants.
getValue(
"level");
53 station_id = station_tag;
59 subring_id = copyno + 1;
65 sector_id = copyno + 1;
71 layer_id = copyno + 1;
86 if ((fwbw_id < 1) || (fwbw_id > 2)) {
87 edm::LogError(
"MuonGeom") <<
"@SUB=CSCNumberingScheme::baseNumberToUnitNumber"
88 <<
"forward/backward id out of range:" << fwbw_id;
91 if ((station_id < 1) || (station_id > 4)) {
92 edm::LogError(
"MuonGeom") <<
"@SUB=CSCNumberingScheme::baseNumberToUnitNumber"
93 <<
"station id out of range:" << station_id;
96 if ((ring_id < 1) || (ring_id > 4)) {
97 edm::LogError(
"MuonGeom") <<
"@SUB=CSCNumberingScheme::baseNumberToUnitNumber"
98 <<
"ring id out of range:" <<
ring_id;
101 if ((subring_id < 1) || (subring_id > 2)) {
102 edm::LogError(
"MuonGeom") <<
"@SUB=CSCNumberingScheme::baseNumberToUnitNumber"
103 <<
"subring id out of range:" << subring_id;
106 if ((sector_id < 1) || (sector_id > 36)) {
107 edm::LogError(
"MuonGeom") <<
"@SUB=CSCNumberingScheme::baseNumberToUnitNumber"
108 <<
"sector id out of range:" << sector_id;
112 if ((layer_id < 0) || (layer_id > 6)) {
113 edm::LogError(
"MuonGeom") <<
"@SUB=CSCNumberingScheme::baseNumberToUnitNumber"
114 <<
"layer id out of range" << layer_id;
119 int chamber_id =
chamberIndex(station_id, ring_id, subring_id, sector_id);
126 edm::LogVerbatim(
"MuonGeom") <<
"CSCNumberingScheme : fw/bw " << fwbw_id <<
" station " << station_id <<
" ring "
127 << ring_id <<
" subring " << subring_id <<
" chamber " << chamber_id <<
" sector "
128 << sector_id <<
" layer " << layer_id;
142 chamber_id = sector_id;
144 if (subring_id == 1) {
145 chamber_id = 2 * sector_id - 1;
147 chamber_id = 2 * sector_id;
Log< level::Info, true > LogVerbatim
int getValue(const std::string &name) const
int getBaseNo(int level) const
static int rawIdMaker(int iendcap, int istation, int iring, int ichamber, int ilayer)
Log< level::Error, false > LogError
void initMe(const MuonGeometryConstants &muonConstants)
int chamberIndex(int, int, int, int) const
int baseNumberToUnitNumber(const MuonBaseNumber &) const override
CSCNumberingScheme(const MuonGeometryConstants &muonConstants)
int getSuperNo(int level) const