8 for (
unsigned int fed=1380; fed<=1381; fed++) {
10 unsigned int endcap = (fed==1380) ? 2 : 1;
12 for (
unsigned int link=0; link <=34; link++) {
17 case ( 0) : { stat=1; ring=2; cham=3;
break;}
18 case ( 1) : { stat=1; ring=2; cham=4;
break;}
19 case ( 2) : { stat=1; ring=2; cham=5;
break;}
20 case ( 3) : { stat=1; ring=3; cham=3;
break;}
21 case ( 4) : { stat=1; ring=3; cham=4;
break;}
22 case ( 5) : { stat=1; ring=3; cham=5;
break;}
23 case ( 6) : { stat=1; ring=2; cham=6;
break;}
24 case ( 7) : { stat=1; ring=2; cham=7;
break;}
25 case ( 8) : { stat=1; ring=2; cham=8;
break;}
26 case ( 9) : { stat=1; ring=3; cham=6;
break;}
27 case (10) : { stat=1; ring=3; cham=7;
break;}
28 case (11) : { stat=1; ring=3; cham=8;
break;}
29 case (12) : { stat=2; ring=2; cham=3;
break;}
30 case (13) : { stat=2; ring=2; cham=4;
break;}
31 case (14) : { stat=2; ring=2; cham=5;
break;}
32 case (15) : { stat=2; ring=2; cham=6;
break;}
33 case (16) : { stat=2; ring=2; cham=7;
break;}
34 case (17) : { stat=2; ring=2; cham=8;
break;}
35 case (18) : { stat=3; ring=2; cham=3;
break;}
36 case (19) : { stat=3; ring=2; cham=4;
break;}
37 case (20) : { stat=3; ring=2; cham=5;
break;}
38 case (21) : { stat=3; ring=2; cham=6;
break;}
39 case (22) : { stat=3; ring=2; cham=7;
break;}
40 case (23) : { stat=3; ring=2; cham=8;
break;}
41 case (24) : { stat=4; ring=2; cham=3;
break;}
42 case (25) : { stat=4; ring=2; cham=4;
break;}
43 case (26) : { stat=4; ring=2; cham=5;
break;}
44 case (27) : { stat=4; ring=2; cham=6;
break;}
45 case (28) : { stat=4; ring=2; cham=7;
break;}
46 case (29) : { stat=4; ring=2; cham=8;
break;}
47 case (30) : { stat=1; ring=2; cham=2;
break;}
48 case (31) : { stat=1; ring=3; cham=2;
break;}
49 case (32) : { stat=2; ring=2; cham=2;
break;}
50 case (33) : { stat=3; ring=2; cham=2;
break;}
51 case (34) : { stat=4; ring=2; cham=2;
break;}
52 default : { stat=0; ring=0; cham=0;
break;}
56 if (chamber > 36) chamber -= 36;
57 CSCDetId cscDetId(endcap, stat, ring, chamber,0);
59 result[omtfEle]=cscDetId;
72 for (
const auto & omtf2csc : omtf2cscs) {
73 uint32_t rawId = omtf2csc.second;
74 auto it = result.find(rawId);
75 if (result.end() == it) {
76 result[rawId]=std::make_pair(omtf2csc.first,
EleIndex());
78 it->second.second = omtf2csc.first;
MapCscDet2EleIndex mapCscDet2EleIndex()
MapEleIndex2CscDet mapEleIndex2CscDet()
std::map< EleIndex, CSCDetId > MapEleIndex2CscDet
std::map< uint32_t, std::pair< EleIndex, EleIndex > > MapCscDet2EleIndex