CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
HcalRawGain Class Reference

#include <HcalRawGain.h>

Public Types

enum  Status { GOOD = 0, BAD = 1 }
 

Public Member Functions

float getError () const
 
Status getStatus () const
 
float getValue () const
 
float getVoltage () const
 
 HcalRawGain (unsigned long fId=0)
 
 HcalRawGain (unsigned long fId, float fValue, float fError, float fVoltage, Status fStatus)
 
uint32_t rawId () const
 
std::string strStatus () const
 

Private Attributes

float mError
 
uint32_t mId
 
int mStatus
 
float mValue
 
float mVoltage
 

Detailed Description

Author
Fedor Ratnikov (UMd) POOL object to store raw Gain values $Author: ratnikov
Date:
2007/12/10 18:38:20
Revision:
1.4

Definition at line 14 of file HcalRawGain.h.

Member Enumeration Documentation

Enumerator
GOOD 
BAD 

Definition at line 16 of file HcalRawGain.h.

Constructor & Destructor Documentation

HcalRawGain::HcalRawGain ( unsigned long  fId = 0)
inline

Definition at line 24 of file HcalRawGain.h.

24 : mId (fId), mValue (0), mError (0), mVoltage (0), mStatus (int (BAD)) {}
uint32_t mId
Definition: HcalRawGain.h:36
float mError
Definition: HcalRawGain.h:38
float mValue
Definition: HcalRawGain.h:37
float mVoltage
Definition: HcalRawGain.h:39
HcalRawGain::HcalRawGain ( unsigned long  fId,
float  fValue,
float  fError,
float  fVoltage,
Status  fStatus 
)
inline

Definition at line 26 of file HcalRawGain.h.

26  :
27  mId (fId),
28  mValue (fValue),
29  mError (fError),
30  mVoltage (fVoltage),
31  mStatus (int (fStatus)) {}
uint32_t mId
Definition: HcalRawGain.h:36
float mError
Definition: HcalRawGain.h:38
float mValue
Definition: HcalRawGain.h:37
float mVoltage
Definition: HcalRawGain.h:39

Member Function Documentation

float HcalRawGain::getError ( ) const
inline

Definition at line 18 of file HcalRawGain.h.

References mError.

Referenced by XMLDocument::addData(), and HcalRawGains::addValues().

18 {return mError;}
float mError
Definition: HcalRawGain.h:38
Status HcalRawGain::getStatus ( ) const
inline

Definition at line 20 of file HcalRawGain.h.

References mStatus.

Referenced by HcalRawGains::addValues(), and strStatus().

20 {return Status (mStatus);}
float HcalRawGain::getValue ( ) const
inline

Definition at line 17 of file HcalRawGain.h.

References mValue.

Referenced by XMLDocument::addData(), and HcalRawGains::addValues().

17 {return mValue;}
float mValue
Definition: HcalRawGain.h:37
float HcalRawGain::getVoltage ( ) const
inline

Definition at line 19 of file HcalRawGain.h.

References mVoltage.

Referenced by XMLDocument::addData(), and HcalRawGains::addValues().

19 {return mVoltage;}
float mVoltage
Definition: HcalRawGain.h:39
uint32_t HcalRawGain::rawId ( ) const
inline

Definition at line 33 of file HcalRawGain.h.

References mId.

33 {return mId;}
uint32_t mId
Definition: HcalRawGain.h:36
std::string HcalRawGain::strStatus ( ) const
inline

Definition at line 21 of file HcalRawGain.h.

References getStatus(), and GOOD.

Referenced by XMLDocument::addData().

21 {return getStatus () == GOOD ? "GOOD" : "BAD";}
Status getStatus() const
Definition: HcalRawGain.h:20

Member Data Documentation

float HcalRawGain::mError
private

Definition at line 38 of file HcalRawGain.h.

Referenced by getError().

uint32_t HcalRawGain::mId
private

Definition at line 36 of file HcalRawGain.h.

Referenced by rawId().

int HcalRawGain::mStatus
private

Definition at line 40 of file HcalRawGain.h.

Referenced by getStatus().

float HcalRawGain::mValue
private

Definition at line 37 of file HcalRawGain.h.

Referenced by getValue().

float HcalRawGain::mVoltage
private

Definition at line 39 of file HcalRawGain.h.

Referenced by getVoltage().