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