18 Tk_HM_ = std::make_unique<TkHistoMap>(tkDetMapHandle.
product(),
"SiStrip/Histo_Map",
"Cabling_TkMap", 0.);
37 edm::LogError(
"InvalidCablingHandle") <<
"Invalid Cabling Handle";
45 for (
int i = 0;
i < 4;
i++)
48 for (
int i = 0;
i < 2;
i++) {
49 for (
int j = 0;
j < 3;
j++)
53 for (
int i = 0;
i < 6;
i++)
56 for (
int i = 0;
i < 2;
i++) {
57 for (
int j = 0;
j < 9;
j++)
61 std::vector<uint32_t>::const_iterator idet =
activeDetIds.begin();
65 uint32_t detId = *idet;
88 int side = tTopo->
tidSide(detId);
91 }
else if (side == 1) {
103 int side = tTopo->
tecSide(detId);
106 }
else if (side == 1) {
116 int TIBDetIds[4] = {672, 864, 540, 648};
117 int TIDDetIds[2][3] = {{136, 136, 136}, {136, 136, 136}};
118 int TOBDetIds[6] = {1008, 1152, 648, 720, 792, 888};
119 int TECDetIds[2][9] = {{408, 408, 408, 360, 360, 360, 312, 312, 272}, {408, 408, 408, 360, 360, 360, 312, 312, 272}};
129 ME =
dqmStore_->
book2D(
"SummaryOfCabling",
"SummaryOfCabling", 6, 0.5, 6.5, 9, 0.5, 9.5);
130 ME->setAxisTitle(
"Sub Det", 1);
131 ME->setAxisTitle(
"Layer", 2);
133 ME->getTH1()->GetXaxis()->SetBinLabel(1,
"TIB");
134 ME->getTH1()->GetXaxis()->SetBinLabel(2,
"TID F");
135 ME->getTH1()->GetXaxis()->SetBinLabel(3,
"TID B");
136 ME->getTH1()->GetXaxis()->SetBinLabel(4,
"TOB");
137 ME->getTH1()->GetXaxis()->SetBinLabel(5,
"TEC F");
138 ME->getTH1()->GetXaxis()->SetBinLabel(6,
"TEC B");
140 for (
int i = 0;
i < 4;
i++) {
141 ME->Fill(1,
i + 1,
float(counterTIB[
i]) / TIBDetIds[
i]);
144 for (
int i = 0;
i < 2;
i++) {
145 for (
int j = 0;
j < 3;
j++) {
146 ME->Fill(
i + 2,
j + 1,
float(counterTID[
i][
j]) / TIDDetIds[
i][
j]);
150 for (
int i = 0;
i < 6;
i++) {
151 ME->Fill(4,
i + 1,
float(counterTOB[
i]) / TOBDetIds[
i]);
154 for (
int i = 0;
i < 2;
i++) {
155 for (
int j = 0;
j < 9;
j++) {
156 ME->Fill(
i + 5,
j + 1,
float(counterTEC[
i][
j]) / TECDetIds[
i][
j]);
162 ME->getTH1()->Draw(
"TEXT");
163 ME->getTH1()->SetStats(kFALSE);