CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10/src/DQM/SiPixelCommon/interface/SiPixelHistogramId.h

Go to the documentation of this file.
00001 #ifndef SiPixelCommon_SiPixelHistogramId_h
00002 #define SiPixelCommon_SiPixelHistogramId_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     SiPixelCommon
00006 // Class  :     SiPixelHistogramId
00007 // 
00016 //
00017 // Original Author:  chiochia
00018 //         Created:  Wed Feb 22 16:07:51 CET 2006
00019 // $Id: SiPixelHistogramId.h,v 1.2 2007/04/04 13:56:25 chiochia Exp $
00020 //
00021 
00022 #include <string>
00023 #include <boost/cstdint.hpp>
00024 
00025 class SiPixelHistogramId
00026 {
00027 
00028  public:
00029 
00031   SiPixelHistogramId();
00033   SiPixelHistogramId(std::string dataCollection);
00035   virtual ~SiPixelHistogramId();
00037   std::string setHistoId( std::string variable,  uint32_t& rawId );
00039   std::string getDataCollection( std::string histogramId );
00041   uint32_t getRawId( std::string histogramId );
00042 
00043  private:
00044   std::string returnIdPart(std::string histoid, uint32_t whichpart);
00045   std::string dataCollection_;
00046   std::string separator_;
00047 
00048 };
00049 
00050 #endif