CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelHistogramId.h
Go to the documentation of this file.
1 #ifndef SiPixelCommon_SiPixelHistogramId_h
2 #define SiPixelCommon_SiPixelHistogramId_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelCommon
6 // Class : SiPixelHistogramId
7 //
16 //
17 // Original Author: chiochia
18 // Created: Wed Feb 22 16:07:51 CET 2006
19 //
20 
21 #include <string>
22 #include <boost/cstdint.hpp>
23 
25 {
26 
27  public:
28 
32  SiPixelHistogramId(std::string dataCollection);
34  virtual ~SiPixelHistogramId();
36  std::string setHistoId( std::string variable, uint32_t& rawId );
40  uint32_t getRawId( std::string histogramId );
41 
42  private:
43  std::string returnIdPart(std::string histoid, uint32_t whichpart);
46 
47 };
48 
49 #endif
virtual ~SiPixelHistogramId()
Destructor.
std::string dataCollection_
std::string returnIdPart(std::string histoid, uint32_t whichpart)
get Part
std::string getDataCollection(std::string histogramId)
Get data Collection.
std::string setHistoId(std::string variable, uint32_t &rawId)
Set Histogram Id.
uint32_t getRawId(std::string histogramId)
Get Detector Raw Id.
SiPixelHistogramId()
Constructor.