CMS 3D CMS Logo

EcalDAQStatusCode.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalDAQStatusCode_H
2 #define CondFormats_EcalObjects_EcalDAQStatusCode_H
3 
10 
11 #include <iostream>
12 #include <cstdint>
13 
15 public:
17  EcalDAQStatusCode(const EcalDAQStatusCode& codeStatus);
18  EcalDAQStatusCode(const uint16_t& encodedStatus) : status_(encodedStatus){};
20 
21  //get Methods to be defined according to the final definition
22 
23  void print(std::ostream& s) const { s << "status is: " << status_; }
24 
26  uint16_t getStatusCode() const { return status_; }
27 
28 private:
29  uint16_t status_;
30 
32 };
33 #endif
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
EcalDAQStatusCode::operator=
EcalDAQStatusCode & operator=(const EcalDAQStatusCode &rhs)
Definition: EcalDAQStatusCode.cc:15
EcalDAQStatusCode::print
void print(std::ostream &s) const
Definition: EcalDAQStatusCode.h:23
EcalDAQStatusCode::EcalDAQStatusCode
EcalDAQStatusCode(const uint16_t &encodedStatus)
Definition: EcalDAQStatusCode.h:18
alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalDAQStatusCode::status_
uint16_t status_
Definition: EcalDAQStatusCode.h:29
EcalDAQStatusCode::~EcalDAQStatusCode
~EcalDAQStatusCode()
Definition: EcalDAQStatusCode.cc:13
EcalDAQStatusCode
Definition: EcalDAQStatusCode.h:14
EcalDAQStatusCode::getStatusCode
uint16_t getStatusCode() const
Definition: EcalDAQStatusCode.h:26
Serializable.h
EcalDAQStatusCode::EcalDAQStatusCode
EcalDAQStatusCode()
Definition: EcalDAQStatusCode.cc:9