CondFormats
EcalObjects
interface
EcalTPGCrystalStatusCode.h
Go to the documentation of this file.
1
#ifndef CondFormats_EcalObjects_EcalTPGCrystalStatusCode_H
2
#define CondFormats_EcalObjects_EcalTPGCrystalStatusCode_H
3
9
#include "
CondFormats/Serialization/interface/Serializable.h
"
10
11
#include <iostream>
12
#include <cstdint>
13
14
class
EcalTPGCrystalStatusCode
{
15
public
:
16
EcalTPGCrystalStatusCode
();
17
EcalTPGCrystalStatusCode
(
const
EcalTPGCrystalStatusCode
& codeStatus);
18
EcalTPGCrystalStatusCode
(
const
uint16_t& encodedStatus) :
status_
(encodedStatus){};
19
~EcalTPGCrystalStatusCode
();
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
25
EcalTPGCrystalStatusCode
&
operator=
(
const
EcalTPGCrystalStatusCode
& rhs);
26
uint16_t
getStatusCode
()
const
{
return
status_
; }
27
28
// for testing the L1 trigger emulator
29
void
setStatusCode
(
const
uint16_t&
val
) {
status_
=
val
; }
30
31
private
:
32
uint16_t
status_
;
33
34
COND_SERIALIZABLE
;
35
};
36
#endif
EcalTPGCrystalStatusCode::getStatusCode
uint16_t getStatusCode() const
Definition:
EcalTPGCrystalStatusCode.h:26
EcalTPGCrystalStatusCode::EcalTPGCrystalStatusCode
EcalTPGCrystalStatusCode()
Definition:
EcalTPGCrystalStatusCode.cc:9
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
EcalTPGCrystalStatusCode::operator=
EcalTPGCrystalStatusCode & operator=(const EcalTPGCrystalStatusCode &rhs)
Definition:
EcalTPGCrystalStatusCode.cc:15
EcalTPGCrystalStatusCode::~EcalTPGCrystalStatusCode
~EcalTPGCrystalStatusCode()
Definition:
EcalTPGCrystalStatusCode.cc:13
EcalTPGCrystalStatusCode::status_
uint16_t status_
Definition:
EcalTPGCrystalStatusCode.h:32
EcalTPGCrystalStatusCode::print
void print(std::ostream &s) const
Definition:
EcalTPGCrystalStatusCode.h:23
EcalTPGCrystalStatusCode::setStatusCode
void setStatusCode(const uint16_t &val)
Definition:
EcalTPGCrystalStatusCode.h:29
Serializable.h
heppy_batch.val
val
Definition:
heppy_batch.py:351
EcalTPGCrystalStatusCode::EcalTPGCrystalStatusCode
EcalTPGCrystalStatusCode(const uint16_t &encodedStatus)
Definition:
EcalTPGCrystalStatusCode.h:18
EcalTPGCrystalStatusCode
Definition:
EcalTPGCrystalStatusCode.h:14
Generated for CMSSW Reference Manual by
1.8.16