CondFormats
EcalObjects
interface
EcalDQMStatusCode.h
Go to the documentation of this file.
1
#ifndef CondFormats_EcalObjects_EcalDQMStatusCode_H
2
#define CondFormats_EcalObjects_EcalDQMStatusCode_H
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include <iostream>
7
#include <cstdint>
8
9
class
EcalDQMStatusCode
{
10
public
:
11
EcalDQMStatusCode
();
12
EcalDQMStatusCode
(
const
EcalDQMStatusCode
& codeStatus);
13
EcalDQMStatusCode
(
const
uint32_t& encodedStatus) :
status_
(encodedStatus){};
14
~EcalDQMStatusCode
();
15
16
//get Methods to be defined according to the final definition
17
18
void
print
(std::ostream&
s
)
const
{
s
<<
"status is: "
<<
status_
; }
19
20
EcalDQMStatusCode
&
operator=
(
const
EcalDQMStatusCode
& rhs);
21
uint32_t
getStatusCode
()
const
{
return
status_
; }
22
23
private
:
24
uint32_t
status_
;
25
26
COND_SERIALIZABLE
;
27
};
28
#endif
EcalDQMStatusCode::status_
uint32_t status_
Definition:
EcalDQMStatusCode.h:24
EcalDQMStatusCode::print
void print(std::ostream &s) const
Definition:
EcalDQMStatusCode.h:18
EcalDQMStatusCode::EcalDQMStatusCode
EcalDQMStatusCode()
Definition:
EcalDQMStatusCode.cc:6
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
EcalDQMStatusCode
Definition:
EcalDQMStatusCode.h:9
EcalDQMStatusCode::getStatusCode
uint32_t getStatusCode() const
Definition:
EcalDQMStatusCode.h:21
EcalDQMStatusCode::EcalDQMStatusCode
EcalDQMStatusCode(const uint32_t &encodedStatus)
Definition:
EcalDQMStatusCode.h:13
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
EcalDQMStatusCode::~EcalDQMStatusCode
~EcalDQMStatusCode()
Definition:
EcalDQMStatusCode.cc:10
Serializable.h
EcalDQMStatusCode::operator=
EcalDQMStatusCode & operator=(const EcalDQMStatusCode &rhs)
Definition:
EcalDQMStatusCode.cc:12
Generated for CMSSW Reference Manual by
1.8.16