CMS 3D CMS Logo

HcalGainWidth Class Reference

Author:
Fedor Ratnikov (UMd) POOL object to store GainWidth values 4xCapId $Author: ratnikov
Date
2007/12/14 13:31:40
Revision
1.6
More...

#include <CondFormats/HcalObjects/interface/HcalGainWidth.h>

List of all members.

Public Member Functions

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

Private Attributes

uint32_t mId
float mValue0
float mValue1
float mValue2
float mValue3


Detailed Description

Author:
Fedor Ratnikov (UMd) POOL object to store GainWidth values 4xCapId $Author: ratnikov
Date
2007/12/14 13:31:40
Revision
1.6

Definition at line 14 of file HcalGainWidth.h.


Constructor & Destructor Documentation

HcalGainWidth::HcalGainWidth (  )  [inline]

Definition at line 23 of file HcalGainWidth.h.

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

HcalGainWidth::HcalGainWidth ( unsigned long  fId,
float  fCap0,
float  fCap1,
float  fCap2,
float  fCap3 
) [inline]

Definition at line 25 of file HcalGainWidth.h.

00025                                                                                         :
00026     mId (fId),
00027     mValue0 (fCap0),
00028     mValue1 (fCap1),
00029     mValue2 (fCap2),
00030     mValue3 (fCap3) {}


Member Function Documentation

float HcalGainWidth::getValue ( int  fCapId  )  const [inline]

get value for capId = 0..3

Definition at line 19 of file HcalGainWidth.h.

References getValues().

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

00019 {return *(getValues () + fCapId);}

const float* HcalGainWidth::getValues (  )  const [inline]

get value for all capId = 0..3

Definition at line 17 of file HcalGainWidth.h.

References mValue0.

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

00017 {return &mValue0;}

uint32_t HcalGainWidth::rawId (  )  const [inline]

Definition at line 32 of file HcalGainWidth.h.

References mId.

00032 {return mId;}


Member Data Documentation

uint32_t HcalGainWidth::mId [private]

Definition at line 35 of file HcalGainWidth.h.

Referenced by rawId().

float HcalGainWidth::mValue0 [private]

Definition at line 36 of file HcalGainWidth.h.

Referenced by getValues().

float HcalGainWidth::mValue1 [private]

Definition at line 37 of file HcalGainWidth.h.

float HcalGainWidth::mValue2 [private]

Definition at line 38 of file HcalGainWidth.h.

float HcalGainWidth::mValue3 [private]

Definition at line 39 of file HcalGainWidth.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:23:41 2009 for CMSSW by  doxygen 1.5.4