Main Page
Namespaces
Classes
Package Documentation
src
CondFormats
HcalObjects
interface
HcalRawGain.h
Go to the documentation of this file.
1
#ifndef HcalRawGain_h
2
#define HcalRawGain_h
3
12
#include <boost/cstdint.hpp>
13
#include <string>
14
15
class
HcalRawGain
{
16
public
:
17
enum
Status
{
GOOD
= 0,
BAD
= 1};
18
float
getValue
()
const
{
return
mValue
;}
19
float
getError
()
const
{
return
mError
;}
20
float
getVoltage
()
const
{
return
mVoltage
;}
21
Status
getStatus
()
const
{
return
Status
(
mStatus
);}
22
std::string
strStatus
()
const
{
return
getStatus
() ==
GOOD
?
"GOOD"
:
"BAD"
;}
23
24
25
HcalRawGain
(
unsigned
long
fId = 0) :
mId
(fId),
mValue
(0),
mError
(0),
mVoltage
(0),
mStatus
(
int
(
BAD
)) {}
26
27
HcalRawGain
(
unsigned
long
fId,
float
fValue,
float
fError,
float
fVoltage,
Status
fStatus) :
28
mId
(fId),
29
mValue
(fValue),
30
mError
(fError),
31
mVoltage
(fVoltage),
32
mStatus
(
int
(fStatus)) {}
33
34
uint32_t
rawId
()
const
{
return
mId
;}
35
36
private
:
37
uint32_t
mId
;
38
float
mValue
;
39
float
mError
;
40
float
mVoltage
;
41
int
mStatus
;
42
};
43
44
#endif
HcalRawGain::strStatus
std::string strStatus() const
Definition:
HcalRawGain.h:22
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalRawGain::getValue
float getValue() const
Definition:
HcalRawGain.h:18
HcalRawGain::HcalRawGain
HcalRawGain(unsigned long fId, float fValue, float fError, float fVoltage, Status fStatus)
Definition:
HcalRawGain.h:27
HcalRawGain::HcalRawGain
HcalRawGain(unsigned long fId=0)
Definition:
HcalRawGain.h:25
createfilelist.int
int
Definition:
createfilelist.py:10
HcalRawGain::getError
float getError() const
Definition:
HcalRawGain.h:19
HcalRawGain::mId
uint32_t mId
Definition:
HcalRawGain.h:37
HcalRawGain::Status
Status
Definition:
HcalRawGain.h:17
HcalRawGain::getVoltage
float getVoltage() const
Definition:
HcalRawGain.h:20
HcalRawGain::BAD
Definition:
HcalRawGain.h:17
HcalRawGain::mError
float mError
Definition:
HcalRawGain.h:39
HcalRawGain::mValue
float mValue
Definition:
HcalRawGain.h:38
HcalRawGain::GOOD
Definition:
HcalRawGain.h:17
HcalRawGain::rawId
uint32_t rawId() const
Definition:
HcalRawGain.h:34
HcalRawGain::mVoltage
float mVoltage
Definition:
HcalRawGain.h:40
HcalRawGain::getStatus
Status getStatus() const
Definition:
HcalRawGain.h:21
HcalRawGain::mStatus
int mStatus
Definition:
HcalRawGain.h:41
HcalRawGain
Definition:
HcalRawGain.h:15
Generated for CMSSW Reference Manual by
1.8.11