19 int theLevelPart=muonConstants.
getValue(
"level");
51 bool barrel_muon=(barrel == 1);
61 <<
"BaseNumber has " << num.
getLevels() <<
" levels,"
62 <<
"need "<<maxLevel<<std::endl;
97 if( sector_id == 13 ) {
100 }
else if( sector_id == 14 ) {
110 if (plane_tag == 1) {
112 }
else if (plane_tag == 2) {
114 }
else if (plane_tag == 3) {
123 }
else if (plane_tag == 4) {
131 }
else if (plane_tag == 5) {
139 if ((plane_id == 4) && (sector_id == 4*3)) {
140 copy_id=sector_copy*2+copyno+1;
141 }
else if ((plane_id == 4) && (sector_id == 10*3)) {
142 copy_id=sector_copy+1;
154 forward=(copyno == 0);
158 plane_id = plane_tag;
162 sector_id = copyno+1;
164 sector_id = sector_id*2-1;
165 }
else if(rr12_id==2){
166 sector_id = sector_id*2;
172 if ((eta_tag == 1) || (eta_tag == 4) ||
173 (eta_tag == 7) || (eta_tag == 8)) {
175 }
else if ((eta_tag == 2) || (eta_tag == 5)) {
177 }
else if ((eta_tag == 3) || (eta_tag == 6)) {
181 if (forward) eta_id=12-eta_id;
185 if ((eta_tag == 4) || (eta_tag == 7) ||
199 int trIndex=(eta_id*10000+plane_id*1000+sector_id*10+copy_id)*10+
204 std::cout <<
"RPCNumberingScheme (barrel): ";
207 std::cout <<
"RPCNumberingScheme (forward): ";
209 std::cout <<
"RPCNumberingScheme (backward): ";
222 id.buildfromTrIndex(trIndex);
int getBaseNo(int level) const
type of data representation of DDCompactView
void initMe(const MuonDDDConstants &muonConstants)
RPCNumberingScheme(const DDCompactView &cpv)
int getValue(const std::string &name) const
virtual int baseNumberToUnitNumber(const MuonBaseNumber)
int getSuperNo(int level) const