CMS 3D CMS Logo

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

#include <HcalGainWidth.h>

Public Member Functions

float getValue (int fCapId) const
 get value for capId = 0..3 More...
 
const float * getValues () const
 get value for all capId = 0..3 More...
 
 HcalGainWidth ()
 
 HcalGainWidth (unsigned long fId, float fCap0, float fCap1, float fCap2, float fCap3)
 
uint32_t rawId () const
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

uint32_t mId
 
float mValue0
 
float mValue1
 
float mValue2
 
float mValue3
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Author
Fedor Ratnikov (UMd) POOL object to store GainWidth values 4xCapId $Author: ratnikov
Date:
2007/12/10 18:37:06
Revision:
1.5

Definition at line 16 of file HcalGainWidth.h.

Constructor & Destructor Documentation

HcalGainWidth::HcalGainWidth ( )
inline

Definition at line 25 of file HcalGainWidth.h.

25 : mId (0), mValue0 (0), mValue1 (0), mValue2 (0), mValue3 (0) {}
uint32_t mId
Definition: HcalGainWidth.h:37
HcalGainWidth::HcalGainWidth ( unsigned long  fId,
float  fCap0,
float  fCap1,
float  fCap2,
float  fCap3 
)
inline

Definition at line 27 of file HcalGainWidth.h.

27  :
28  mId (fId),
29  mValue0 (fCap0),
30  mValue1 (fCap1),
31  mValue2 (fCap2),
32  mValue3 (fCap3) {}
uint32_t mId
Definition: HcalGainWidth.h:37

Member Function Documentation

float HcalGainWidth::getValue ( int  fCapId) const
inline

get value for capId = 0..3

Definition at line 21 of file HcalGainWidth.h.

References getValues().

Referenced by XMLDocument::addData(), HcalDigiTester::reco(), and HcalDigisValidation::reco().

21 {return *(getValues () + fCapId);}
const float * getValues() const
get value for all capId = 0..3
Definition: HcalGainWidth.h:19
const float* HcalGainWidth::getValues ( ) const
inline

get value for all capId = 0..3

Definition at line 19 of file HcalGainWidth.h.

References mValue0.

Referenced by HcalDbXml::dumpObject(), fillDefaults(), getValue(), and HcalDbService::makeHcalCalibrationWidth().

19 {return &mValue0;}
uint32_t HcalGainWidth::rawId ( ) const
inline

Definition at line 34 of file HcalGainWidth.h.

References mId.

34 {return mId;}
uint32_t mId
Definition: HcalGainWidth.h:37
template<class Archive >
void HcalGainWidth::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 43 of file HcalGainWidth.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 43 of file HcalGainWidth.h.

Member Data Documentation

uint32_t HcalGainWidth::mId
private

Definition at line 37 of file HcalGainWidth.h.

Referenced by rawId().

float HcalGainWidth::mValue0
private

Definition at line 38 of file HcalGainWidth.h.

Referenced by getValues().

float HcalGainWidth::mValue1
private

Definition at line 39 of file HcalGainWidth.h.

float HcalGainWidth::mValue2
private

Definition at line 40 of file HcalGainWidth.h.

float HcalGainWidth::mValue3
private

Definition at line 41 of file HcalGainWidth.h.