CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/CondFormats/HcalObjects/src/HcalDcsValue.cc

Go to the documentation of this file.
00001 #include "CondFormats/HcalObjects/interface/HcalDcsValue.h"
00002 #include "DataFormats/HcalDetId/interface/HcalDcsDetId.h"
00003 
00004 HcalDcsValue::HcalDcsValue () : 
00005   mId(0), mLS(0), mValue(0), mUpperLimit(0), mLowerLimit(0) {
00006 }
00007 
00008 HcalDcsValue::HcalDcsValue (uint32_t fid, int ls, float val, 
00009                             float upper, float lower) :
00010   mId(fid), mLS(ls), mValue(val), mUpperLimit(upper), mLowerLimit(lower) {
00011 }
00012 
00013 HcalDcsValue::HcalDcsValue (HcalDcsValue const& other) :
00014   mId(other.mId), mLS(other.mLS), mValue(other.mValue), 
00015   mUpperLimit(other.mUpperLimit), mLowerLimit(other.mLowerLimit) {
00016 }
00017 
00018 HcalDcsValue::~HcalDcsValue () {
00019 }
00020 
00021 HcalOtherSubdetector HcalDcsValue::getSubdetector () const {
00022   HcalDcsDetId tmpId(mId);
00023   return tmpId.subdet();
00024 }