CMS 3D CMS Logo

CastorPedestal Class Reference

Author:
Panos Katsas POOL object to store Pedestal values 4xCapId $Author: katsas
More...

#include <CondFormats/CastorObjects/interface/CastorPedestal.h>

List of all members.

Public Member Functions

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

Private Attributes

uint32_t mId
float mValue0
float mValue1
float mValue2
float mValue3


Detailed Description

Author:
Panos Katsas POOL object to store Pedestal values 4xCapId $Author: katsas

Definition at line 12 of file CastorPedestal.h.


Constructor & Destructor Documentation

CastorPedestal::CastorPedestal (  )  [inline]

Definition at line 21 of file CastorPedestal.h.

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

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

Definition at line 23 of file CastorPedestal.h.

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


Member Function Documentation

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

get value for capId = 0..3

Definition at line 17 of file CastorPedestal.h.

References getValues().

Referenced by CastorPedestals::getValue().

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

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

get value for all capId = 0..3

Definition at line 15 of file CastorPedestal.h.

References mValue0.

Referenced by getValue(), CastorDbService::makeCastorCalibration(), and CastorHardcodeCalibrations::producePedestals().

00015 {return &mValue0;}

uint32_t CastorPedestal::rawId (  )  const [inline]

Definition at line 30 of file CastorPedestal.h.

References mId.

00030 {return mId;}


Member Data Documentation

uint32_t CastorPedestal::mId [private]

Definition at line 32 of file CastorPedestal.h.

Referenced by rawId().

float CastorPedestal::mValue0 [private]

Definition at line 33 of file CastorPedestal.h.

Referenced by getValues().

float CastorPedestal::mValue1 [private]

Definition at line 34 of file CastorPedestal.h.

float CastorPedestal::mValue2 [private]

Definition at line 35 of file CastorPedestal.h.

float CastorPedestal::mValue3 [private]

Definition at line 36 of file CastorPedestal.h.


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