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 Attributes
HcalDcsValue Class Reference

#include <HcalDcsValue.h>

Public Member Functions

uint32_t DcsId () const
 
float getLowerLimit () const
 
HcalOtherSubdetector getSubdetector () const
 
float getUpperLimit () const
 
float getValue () const
 
 HcalDcsValue ()
 
 HcalDcsValue (uint32_t fid, int ls, float val, float upper, float lower)
 
 HcalDcsValue (HcalDcsValue const &other)
 
bool isValueGood () const
 
int LS () const
 
bool operator< (HcalDcsValue const &rhs) const
 
virtual ~HcalDcsValue ()
 

Private Attributes

uint32_t mId
 
float mLowerLimit
 
int mLS
 
float mUpperLimit
 
float mValue
 

Detailed Description

Definition at line 8 of file HcalDcsValue.h.

Constructor & Destructor Documentation

HcalDcsValue::HcalDcsValue ( )

Definition at line 4 of file HcalDcsValue.cc.

4  :
5  mId(0), mLS(0), mValue(0), mUpperLimit(0), mLowerLimit(0) {
6 }
float mUpperLimit
Definition: HcalDcsValue.h:38
uint32_t mId
Definition: HcalDcsValue.h:35
float mLowerLimit
Definition: HcalDcsValue.h:39
HcalDcsValue::HcalDcsValue ( uint32_t  fid,
int  ls,
float  val,
float  upper,
float  lower 
)

Definition at line 8 of file HcalDcsValue.cc.

9  :
10  mId(fid), mLS(ls), mValue(val), mUpperLimit(upper), mLowerLimit(lower) {
11 }
float mUpperLimit
Definition: HcalDcsValue.h:38
uint32_t mId
Definition: HcalDcsValue.h:35
list fid
Definition: NewTree.py:51
float mLowerLimit
Definition: HcalDcsValue.h:39
HcalDcsValue::HcalDcsValue ( HcalDcsValue const &  other)

Definition at line 13 of file HcalDcsValue.cc.

13  :
14  mId(other.mId), mLS(other.mLS), mValue(other.mValue),
15  mUpperLimit(other.mUpperLimit), mLowerLimit(other.mLowerLimit) {
16 }
float mUpperLimit
Definition: HcalDcsValue.h:38
uint32_t mId
Definition: HcalDcsValue.h:35
float mLowerLimit
Definition: HcalDcsValue.h:39
HcalDcsValue::~HcalDcsValue ( )
virtual

Definition at line 18 of file HcalDcsValue.cc.

18  {
19 }

Member Function Documentation

uint32_t HcalDcsValue::DcsId ( ) const
inline

Definition at line 18 of file HcalDcsValue.h.

References mId.

Referenced by HcalDcsValues::addValue().

18 { return mId; }
uint32_t mId
Definition: HcalDcsValue.h:35
float HcalDcsValue::getLowerLimit ( ) const
inline

Definition at line 22 of file HcalDcsValue.h.

References mLowerLimit.

22 { return mLowerLimit; }
float mLowerLimit
Definition: HcalDcsValue.h:39
HcalOtherSubdetector HcalDcsValue::getSubdetector ( ) const

Definition at line 21 of file HcalDcsValue.cc.

References mId, and HcalOtherDetId::subdet().

21  {
22  HcalDcsDetId tmpId(mId);
23  return tmpId.subdet();
24 }
uint32_t mId
Definition: HcalDcsValue.h:35
float HcalDcsValue::getUpperLimit ( ) const
inline

Definition at line 21 of file HcalDcsValue.h.

References mUpperLimit.

21 { return mUpperLimit; }
float mUpperLimit
Definition: HcalDcsValue.h:38
float HcalDcsValue::getValue ( ) const
inline

Definition at line 20 of file HcalDcsValue.h.

References mValue.

20 { return mValue;}
bool HcalDcsValue::isValueGood ( ) const
inline

Definition at line 23 of file HcalDcsValue.h.

References mLowerLimit, mUpperLimit, and mValue.

23  {
24  return ((mValue <= mUpperLimit) && (mValue >= mLowerLimit));
25  }
float mUpperLimit
Definition: HcalDcsValue.h:38
float mLowerLimit
Definition: HcalDcsValue.h:39
int HcalDcsValue::LS ( ) const
inline

Definition at line 19 of file HcalDcsValue.h.

References mLS.

19 { return mLS; }
bool HcalDcsValue::operator< ( HcalDcsValue const &  rhs) const
inline

Definition at line 29 of file HcalDcsValue.h.

References mId, and mLS.

29  {
30  if (mId == rhs.mId) return (mLS < rhs.mLS);
31  return (mId < rhs.mId);
32  }
uint32_t mId
Definition: HcalDcsValue.h:35

Member Data Documentation

uint32_t HcalDcsValue::mId
private

Definition at line 35 of file HcalDcsValue.h.

Referenced by DcsId(), getSubdetector(), and operator<().

float HcalDcsValue::mLowerLimit
private

Definition at line 39 of file HcalDcsValue.h.

Referenced by getLowerLimit(), and isValueGood().

int HcalDcsValue::mLS
private

Definition at line 36 of file HcalDcsValue.h.

Referenced by LS(), and operator<().

float HcalDcsValue::mUpperLimit
private

Definition at line 38 of file HcalDcsValue.h.

Referenced by getUpperLimit(), and isValueGood().

float HcalDcsValue::mValue
private

Definition at line 37 of file HcalDcsValue.h.

Referenced by getValue(), and isValueGood().