22 int theLevelPart=muonConstants.
getValue(
"level");
64 LogDebug(
"CSCNumbering") <<
"endcap=" << fwbw_id ;
68 station_id=station_tag;
69 LogDebug(
"CSCNumbering")<<
"station=" << station_id ;
74 LogDebug(
"CSCNumbering")<<
"subring=" << subring_id ;
79 LogDebug(
"CSCNumbering")<<
"sector=" << sector_id ;
84 LogDebug(
"CSCNumbering") <<
"layer=" << layer_id ;
95 if ((fwbw_id < 1) || (fwbw_id > 2)) {
96 edm::LogError(
"CSCNumbering") <<
"@SUB=CSCNumberingScheme::baseNumberToUnitNumber" <<
"forward/backward id out of range:" << fwbw_id;
99 if ((station_id < 1) || (station_id > 4)) {
100 edm::LogError(
"CSCNumbering") <<
"@SUB=CSCNumberingScheme::baseNumberToUnitNumber" <<
"station id out of range:" << station_id;
103 if ((ring_id < 1) || (ring_id > 4)) {
104 edm::LogError(
"CSCNumbering") <<
"@SUB=CSCNumberingScheme::baseNumberToUnitNumber" <<
"ring id out of range:" <<
ring_id ;
107 if ((subring_id < 1) || (subring_id > 2)) {
108 edm::LogError(
"CSCNumbering") <<
"@SUB=CSCNumberingScheme::baseNumberToUnitNumber" <<
"subring id out of range:" << subring_id ;
111 if ((sector_id < 1) || (sector_id > 36)) {
112 edm::LogError(
"CSCNumbering") <<
"@SUB=CSCNumberingScheme::baseNumberToUnitNumber" <<
"sector id out of range:" << sector_id ;
116 if ((layer_id < 0) || (layer_id > 6)) {
117 edm::LogError(
"CSCNumbering") <<
"@SUB=CSCNumberingScheme::baseNumberToUnitNumber" <<
"layer id out of range" << layer_id ;
123 subring_id, sector_id);
128 chamber_id, layer_id);
146 int ring_id,
int subring_id,
int sector_id)
const {
155 chamber_id=sector_id;
157 if (subring_id == 1) {
158 chamber_id=2*sector_id-1;
160 chamber_id=2*sector_id;
void initMe(const MuonDDDConstants &muonConstants)
int getBaseNo(int level) const
static int rawIdMaker(int iendcap, int istation, int iring, int ichamber, int ilayer)
type of data representation of DDCompactView
CSCNumberingScheme(const MuonDDDConstants &muonConstants)
int getValue(const std::string &name) const
int chamberIndex(int, int, int, int) const
virtual int baseNumberToUnitNumber(const MuonBaseNumber)
int getSuperNo(int level) const