Implements SiStripBaseCondObjDQM.
Definition at line 20 of file SiStripCablingDQM.cc.
24 edm::LogError(
"InvalidCablingHandle") <<
"Invalid Cabling Handle";
32 for (
int i = 0;
i < 4;
i++)
35 for (
int i = 0;
i < 2;
i++) {
36 for (
int j = 0;
j < 3;
j++)
40 for (
int i = 0;
i < 6;
i++)
43 for (
int i = 0;
i < 2;
i++) {
44 for (
int j = 0;
j < 9;
j++)
64 switch (subdet.subdetId()) {
75 }
else if (side == 1) {
90 }
else if (side == 1) {
100 int TIBDetIds[4] = {672, 864, 540, 648};
101 int TIDDetIds[2][3] = {{136, 136, 136}, {136, 136, 136}};
102 int TOBDetIds[6] = {1008, 1152, 648, 720, 792, 888};
103 int TECDetIds[2][9] = {{408, 408, 408, 360, 360, 360, 312, 312, 272}, {408, 408, 408, 360, 360, 360, 312, 312, 272}};
113 ME =
dqmStore_->
book2D(
"SummaryOfCabling",
"SummaryOfCabling", 6, 0.5, 6.5, 9, 0.5, 9.5);
114 ME->setAxisTitle(
"Sub Det", 1);
115 ME->setAxisTitle(
"Layer", 2);
117 ME->setBinLabel(1,
"TIB");
118 ME->setBinLabel(2,
"TID F");
119 ME->setBinLabel(3,
"TID B");
120 ME->setBinLabel(4,
"TOB");
121 ME->setBinLabel(5,
"TEC F");
122 ME->setBinLabel(6,
"TEC B");
124 for (
int i = 0;
i < 4;
i++) {
125 ME->Fill(1,
i + 1,
float(counterTIB[
i]) / TIBDetIds[
i]);
128 for (
int i = 0;
i < 2;
i++) {
129 for (
int j = 0;
j < 3;
j++) {
130 ME->Fill(
i + 2,
j + 1,
float(counterTID[
i][
j]) / TIDDetIds[
i][
j]);
134 for (
int i = 0;
i < 6;
i++) {
135 ME->Fill(4,
i + 1,
float(counterTOB[
i]) / TOBDetIds[
i]);
138 for (
int i = 0;
i < 2;
i++) {
139 for (
int j = 0;
j < 9;
j++) {
140 ME->Fill(
i + 5,
j + 1,
float(counterTEC[
i][
j]) / TECDetIds[
i][
j]);
146 ME->getTH1()->Draw(
"TEXT");
147 ME->getTH1()->SetStats(kFALSE);
References SiStripBaseCondObjDQM::activeDetIds, SiStripDetCabling::addActiveDetectorsRawIds(), SiStripDetCabling::addAllDetectorsRawIds(), dqm::implementation::IBooker::book2D(), alignmentValidation::c1, SiStripBaseCondObjDQMGet< SiStripDetCabling, SiStripDetCablingRcd >::condObj_, SiStripBaseCondObjDQM::dqmStore_, SiStripBaseCondObjDQM::fillTkMap(), PixelVTXMonitor_cfi::FolderName, SiStripBaseCondObjDQM::fPSet_, SiStripBaseCondObjDQMGet< SiStripDetCabling, SiStripDetCablingRcd >::getConditionObject(), SiStripDetCabling::getConnections(), edm::ParameterSet::getParameter(), SiStripBaseCondObjDQM::HistoMaps_On_, SiStripBaseCondObjDQM::hPSet_, mps_fire::i, dqmiolumiharvest::j, Skims_PA_cff::name, SiStripDetCabling::nApvPairs(), dqm::implementation::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), StripSubdetector::TEC, TrackerTopology::tecSide(), TrackerTopology::tecWheel(), StripSubdetector::TIB, TrackerTopology::tibLayer(), StripSubdetector::TID, TrackerTopology::tidSide(), TrackerTopology::tidWheel(), SiStripBaseCondObjDQM::Tk_HM_, StripSubdetector::TOB, TrackerTopology::tobLayer(), and SiStripBaseCondObjDQM::tTopo_.