CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DQM/SiPixelHistoricInfoClient/src/HDQMInspectorConfigSiPixel.cc

Go to the documentation of this file.
00001 #include "DQM/SiPixelHistoricInfoClient/interface/HDQMInspectorConfigSiPixel.h"
00002 
00003 HDQMInspectorConfigSiPixel::HDQMInspectorConfigSiPixel ()
00004 {
00005 }
00006 
00007 HDQMInspectorConfigSiPixel::~HDQMInspectorConfigSiPixel ()
00008 {
00009 }
00010 
00011 std::string HDQMInspectorConfigSiPixel::translateDetId(const uint32_t id) const
00012 {
00013   switch (id) {
00014     case sipixelsummary::TRACKER:
00015       return "TRACKER";
00016     case sipixelsummary::Barrel:
00017       return "Barrel";
00018     case sipixelsummary::Shell_mI:
00019       return "Shell_mI";
00020     case sipixelsummary::Shell_mO:
00021       return "Shell_mO";
00022     case sipixelsummary::Shell_pI:
00023       return "Shell_pI";
00024     case sipixelsummary::Shell_pO:
00025       return "Shell_pO";
00026     case sipixelsummary::Endcap:
00027       return "Endcap";
00028     case sipixelsummary::HalfCylinder_mI:
00029       return "HalfCylinder_mI";
00030     case sipixelsummary::HalfCylinder_mO:
00031       return "HalfCylinder_mO";
00032     case sipixelsummary::HalfCylinder_pI:
00033       return "HalfCylinder_pI";
00034     case sipixelsummary::HalfCylinder_pO:
00035       return "HalfCylinder_pO";
00036     default:
00037       return "???";
00038   };
00039 }