CMS 3D CMS Logo

Public Member Functions

HDQMInspectorConfigSiPixel Class Reference

#include <HDQMInspectorConfigSiPixel.h>

Inheritance diagram for HDQMInspectorConfigSiPixel:
HDQMInspectorConfigBase

List of all members.

Public Member Functions

 HDQMInspectorConfigSiPixel ()
std::string translateDetId (const uint32_t) const
 pure virtual method that convert a DetId to a string
virtual ~HDQMInspectorConfigSiPixel ()

Detailed Description

Definition at line 10 of file HDQMInspectorConfigSiPixel.h.


Constructor & Destructor Documentation

HDQMInspectorConfigSiPixel::HDQMInspectorConfigSiPixel ( )

Definition at line 3 of file HDQMInspectorConfigSiPixel.cc.

{
}
HDQMInspectorConfigSiPixel::~HDQMInspectorConfigSiPixel ( ) [virtual]

Definition at line 7 of file HDQMInspectorConfigSiPixel.cc.

{
}

Member Function Documentation

std::string HDQMInspectorConfigSiPixel::translateDetId ( const uint32_t  ) const [virtual]

pure virtual method that convert a DetId to a string

Implements HDQMInspectorConfigBase.

Definition at line 11 of file HDQMInspectorConfigSiPixel.cc.

References sipixelsummary::Barrel, sipixelsummary::Endcap, sipixelsummary::HalfCylinder_mI, sipixelsummary::HalfCylinder_mO, sipixelsummary::HalfCylinder_pI, sipixelsummary::HalfCylinder_pO, sipixelsummary::Shell_mI, sipixelsummary::Shell_mO, sipixelsummary::Shell_pI, sipixelsummary::Shell_pO, and sipixelsummary::TRACKER.

{
  switch (id) {
    case sipixelsummary::TRACKER:
      return "TRACKER";
    case sipixelsummary::Barrel:
      return "Barrel";
    case sipixelsummary::Shell_mI:
      return "Shell_mI";
    case sipixelsummary::Shell_mO:
      return "Shell_mO";
    case sipixelsummary::Shell_pI:
      return "Shell_pI";
    case sipixelsummary::Shell_pO:
      return "Shell_pO";
    case sipixelsummary::Endcap:
      return "Endcap";
    case sipixelsummary::HalfCylinder_mI:
      return "HalfCylinder_mI";
    case sipixelsummary::HalfCylinder_mO:
      return "HalfCylinder_mO";
    case sipixelsummary::HalfCylinder_pI:
      return "HalfCylinder_pI";
    case sipixelsummary::HalfCylinder_pO:
      return "HalfCylinder_pO";
    default:
      return "???";
  };
}