CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
HcalGain Class Reference

#include <HcalGain.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...
 
 HcalGain ()
 
 HcalGain (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 Gain values 4xCapId $Author: ratnikov
Date
2007/12/10 18:36:56
Revision
1.5

Definition at line 16 of file HcalGain.h.

Constructor & Destructor Documentation

◆ HcalGain() [1/2]

HcalGain::HcalGain ( )
inline

Definition at line 25 of file HcalGain.h.

25 : mId(0), mValue0(0), mValue1(0), mValue2(0), mValue3(0) {}

◆ HcalGain() [2/2]

HcalGain::HcalGain ( unsigned long  fId,
float  fCap0,
float  fCap1,
float  fCap2,
float  fCap3 
)
inline

Definition at line 27 of file HcalGain.h.

28  : mId(fId), mValue0(fCap0), mValue1(fCap1), mValue2(fCap2), mValue3(fCap3) {}

Member Function Documentation

◆ getValue()

float HcalGain::getValue ( int  fCapId) const
inline

◆ getValues()

const float* HcalGain::getValues ( ) const
inline

get value for all capId = 0..3

Definition at line 19 of file HcalGain.h.

19 { return &mValue0; }

References mValue0.

Referenced by HcalDbXml::dumpObject(), and getValue().

◆ rawId()

uint32_t HcalGain::rawId ( ) const
inline

Definition at line 30 of file HcalGain.h.

30 { return mId; }

References mId.

◆ serialize()

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 39 of file HcalGain.h.

◆ cond::serialization::access

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

Definition at line 39 of file HcalGain.h.

Member Data Documentation

◆ mId

uint32_t HcalGain::mId
private

Definition at line 33 of file HcalGain.h.

Referenced by rawId().

◆ mValue0

float HcalGain::mValue0
private

Definition at line 34 of file HcalGain.h.

Referenced by getValues().

◆ mValue1

float HcalGain::mValue1
private

Definition at line 35 of file HcalGain.h.

◆ mValue2

float HcalGain::mValue2
private

Definition at line 36 of file HcalGain.h.

◆ mValue3

float HcalGain::mValue3
private

Definition at line 37 of file HcalGain.h.

HcalGain::mId
uint32_t mId
Definition: HcalGain.h:33
HcalGain::getValues
const float * getValues() const
get value for all capId = 0..3
Definition: HcalGain.h:19
HcalGain::mValue1
float mValue1
Definition: HcalGain.h:35
HcalGain::mValue2
float mValue2
Definition: HcalGain.h:36
HcalGain::mValue0
float mValue0
Definition: HcalGain.h:34
HcalGain::mValue3
float mValue3
Definition: HcalGain.h:37