#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 |
Definition at line 8 of file HcalDcsValue.h.
HcalDcsValue::HcalDcsValue | ( | ) |
Definition at line 4 of file HcalDcsValue.cc.
: mId(0), mLS(0), mValue(0), mUpperLimit(0), mLowerLimit(0) { }
HcalDcsValue::HcalDcsValue | ( | uint32_t | fid, |
int | ls, | ||
float | val, | ||
float | upper, | ||
float | lower | ||
) |
Definition at line 8 of file HcalDcsValue.cc.
: mId(fid), mLS(ls), mValue(val), mUpperLimit(upper), mLowerLimit(lower) { }
HcalDcsValue::HcalDcsValue | ( | HcalDcsValue const & | other | ) |
Definition at line 13 of file HcalDcsValue.cc.
: mId(other.mId), mLS(other.mLS), mValue(other.mValue), mUpperLimit(other.mUpperLimit), mLowerLimit(other.mLowerLimit) { }
HcalDcsValue::~HcalDcsValue | ( | ) | [virtual] |
Definition at line 18 of file HcalDcsValue.cc.
{ }
uint32_t HcalDcsValue::DcsId | ( | ) | const [inline] |
Definition at line 18 of file HcalDcsValue.h.
References mId.
Referenced by HcalDcsValues::addValue().
{ return mId; }
float HcalDcsValue::getLowerLimit | ( | ) | const [inline] |
HcalOtherSubdetector HcalDcsValue::getSubdetector | ( | ) | const |
Definition at line 21 of file HcalDcsValue.cc.
References mId, and HcalOtherDetId::subdet().
{ HcalDcsDetId tmpId(mId); return tmpId.subdet(); }
float HcalDcsValue::getUpperLimit | ( | ) | const [inline] |
float HcalDcsValue::getValue | ( | ) | const [inline] |
bool HcalDcsValue::isValueGood | ( | ) | const [inline] |
Definition at line 23 of file HcalDcsValue.h.
References mLowerLimit, mUpperLimit, and mValue.
{ return ((mValue <= mUpperLimit) && (mValue >= mLowerLimit)); }
int HcalDcsValue::LS | ( | ) | const [inline] |
bool HcalDcsValue::operator< | ( | HcalDcsValue const & | rhs | ) | const [inline] |
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().