CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 //
17 //
18 // Original Author: chiochia
19 // Created: Wed Feb 22 16:07:51 CET 2006
20 //
21 
22 #include <string>
23 #include <cstdint>
24 
26 public:
30  SiPixelHistogramId(std::string dataCollection);
32  virtual ~SiPixelHistogramId();
34  std::string setHistoId(std::string variable, uint32_t &rawId);
38  uint32_t getRawId(std::string histogramId);
39 
40 private:
41  std::string returnIdPart(std::string histoid, uint32_t whichpart);
44 };
45 
46 #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.