CMS 3D CMS Logo

PixelROCStatus.h
Go to the documentation of this file.
1 #ifndef PixelROCStatus_h
2 #define PixelROCStatus_h
3 
9 #include <stdint.h>
10 #include <set>
11 #include <string>
12 
13 namespace pos{
14 
21 
22 
23  private:
24 
25  uint32_t bits_;
26 
27  public:
28 
29  //Insert new status before nStatus
31 
33  PixelROCStatus(const std::set<ROCstatus>& stat);
34  virtual ~PixelROCStatus();
35 
36  std::string statusName(ROCstatus stat) const;
37  std::string statusName() const;
38 
39  void set(ROCstatus stat);
40  void clear(ROCstatus stat);
41  void set(ROCstatus stat, bool mode);
42  void set(const std::string& statName);
43  bool get(ROCstatus stat) const ;
44 
45  // Added by Dario (March 4th 2008)
46  void reset(void) ;
47 
48  };
49 }
50 #endif
This class implements..
std::string statusName() const
void clear(ROCstatus stat)