19 int theLevelPart=muonConstants.
getValue(
"level");
52 bool barrel_muon=(barrel == 1);
62 <<
"RPCNumberingScheme::BNToUN: BaseNumber has " << num.
getLevels()
63 <<
" levels, need " << maxLevel;
98 if( sector_id == 13 ) {
101 }
else if( sector_id == 14 ) {
111 if (plane_tag == 1) {
113 }
else if (plane_tag == 2) {
115 }
else if (plane_tag == 3) {
124 }
else if (plane_tag == 4) {
132 }
else if (plane_tag == 5) {
140 if ((plane_id == 4) && (sector_id == 4*3)) {
141 copy_id=sector_copy*2+copyno+1;
142 }
else if ((plane_id == 4) && (sector_id == 10*3)) {
143 copy_id=sector_copy+1;
155 forward=(copyno == 0);
159 plane_id = plane_tag;
163 sector_id = copyno+1;
165 sector_id = sector_id*2-1;
166 }
else if(rr12_id==2){
167 sector_id = sector_id*2;
173 if ((eta_tag == 1) || (eta_tag == 4) ||
174 (eta_tag == 7) || (eta_tag == 8)) {
176 }
else if ((eta_tag == 2) || (eta_tag == 5)) {
178 }
else if ((eta_tag == 3) || (eta_tag == 6)) {
182 if (forward) eta_id=12-eta_id;
186 if ((eta_tag == 4) || (eta_tag == 7) ||
200 int trIndex=(eta_id*10000+plane_id*1000+sector_id*10+copy_id)*10+roll_id;
209 edm::LogVerbatim(
"RPCNumberingScheme") <<
"RPCNumberingScheme (backward): ";
213 <<
" roll " << roll_id <<
" copy " << copy_id <<
" sector " << sector_id
214 <<
" plane " << plane_id <<
" eta " << eta_id <<
" rr12 " << rr12_id;
219 id.buildfromTrIndex(trIndex);
int baseNumberToUnitNumber(const MuonBaseNumber &) override
int getBaseNo(int level) const
Compact representation of the geometrical detector hierarchy.
void initMe(const MuonDDDConstants &muonConstants)
RPCNumberingScheme(const DDCompactView &cpv)
int getValue(const std::string &name) const
int getSuperNo(int level) const