Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:04

0001 #ifndef CondFormats_EcalObjects_EcalDQMStatusCode_H
0002 #define CondFormats_EcalObjects_EcalDQMStatusCode_H
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include <iostream>
0007 #include <cstdint>
0008 
0009 class EcalDQMStatusCode {
0010 public:
0011   EcalDQMStatusCode();
0012   EcalDQMStatusCode(const EcalDQMStatusCode& codeStatus);
0013   EcalDQMStatusCode(const uint32_t& encodedStatus) : status_(encodedStatus){};
0014   ~EcalDQMStatusCode();
0015 
0016   //get Methods to be defined according to the final definition
0017 
0018   void print(std::ostream& s) const { s << "status is: " << status_; }
0019 
0020   EcalDQMStatusCode& operator=(const EcalDQMStatusCode& rhs);
0021   uint32_t getStatusCode() const { return status_; }
0022 
0023 private:
0024   uint32_t status_;
0025 
0026   COND_SERIALIZABLE;
0027 };
0028 #endif