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 // $Id: SiPixelHistogramId.h,v 1.2 2007/04/04 13:56:25 chiochia Exp $
20 //
21 
22 #include <string>
23 #include <boost/cstdint.hpp>
24 
26 {
27 
28  public:
29 
33  SiPixelHistogramId(std::string dataCollection);
35  virtual ~SiPixelHistogramId();
37  std::string setHistoId( std::string variable, uint32_t& rawId );
39  std::string getDataCollection( std::string histogramId );
41  uint32_t getRawId( std::string histogramId );
42 
43  private:
44  std::string returnIdPart(std::string histoid, uint32_t whichpart);
45  std::string dataCollection_;
46  std::string separator_;
47 
48 };
49 
50 #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.