#include <HcalDcsValues.h>
Public Types | |
typedef std::vector< HcalDcsValue > | DcsSet |
enum | DcsSubDet { HcalHB = 1, HcalHE = 2, HcalHO0 = 3, HcalHO12 = 4, HcalHF = 5 } |
Public Member Functions | |
bool | addValue (HcalDcsValue const &newVal) |
bool | DcsValuesOK (DcsSubDet subd, int LS=-1) |
bool | exists (HcalDcsDetId const &fid) |
DcsSet const & | getAllSubdetValues (DcsSubDet subd) const |
DcsSet | getValues (HcalDcsDetId const &fid) |
HcalDcsValues () | |
std::string | myname () const |
void | sortAll () |
virtual | ~HcalDcsValues () |
Protected Member Functions | |
bool | foundDcsId (DcsSet const &valList, HcalDcsDetId const &fid) const |
bool | sortList (DcsSet &valList) const |
bool | subDetOk (DcsSet const &valList, int LS) const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
bool | mHBsorted |
DcsSet | mHBValues |
bool | mHEsorted |
DcsSet | mHEValues |
bool | mHFsorted |
DcsSet | mHFValues |
bool | mHO0sorted |
DcsSet | mHO0Values |
bool | mHO12sorted |
DcsSet | mHO12Values |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 25 of file HcalDcsValues.h.
typedef std::vector<HcalDcsValue> HcalDcsValues::DcsSet |
Definition at line 27 of file HcalDcsValues.h.
HcalDcsValues::HcalDcsValues | ( | ) |
Definition at line 5 of file HcalDcsValues.cc.
|
virtual |
Definition at line 8 of file HcalDcsValues.cc.
bool HcalDcsValues::addValue | ( | HcalDcsValue const & | newVal | ) |
Definition at line 10 of file HcalDcsValues.cc.
References HcalDcsValue::DcsId(), HcalDcsBarrel, HcalDcsEndcap, HcalDcsForward, HcalDcsOuter, mHBsorted, mHBValues, mHEsorted, mHEValues, mHFsorted, mHFValues, mHO0sorted, mHO0Values, mHO12sorted, and mHO12Values.
bool HcalDcsValues::DcsValuesOK | ( | DcsSubDet | subd, |
int | LS = -1 |
||
) |
Definition at line 179 of file HcalDcsValues.cc.
References HcalHB, HcalHE, HcalHF, HcalHO0, HcalHO12, mHBsorted, mHBValues, mHEsorted, mHEValues, mHFsorted, mHFValues, mHO0sorted, mHO0Values, mHO12sorted, mHO12Values, sortList(), and subDetOk().
bool HcalDcsValues::exists | ( | HcalDcsDetId const & | fid | ) |
Definition at line 47 of file HcalDcsValues.cc.
References foundDcsId(), HcalDcsBarrel, HcalDcsEndcap, HcalDcsForward, HcalDcsOuter, mHBsorted, mHBValues, mHEsorted, mHEValues, mHFsorted, mHFValues, mHO0sorted, mHO0Values, mHO12sorted, mHO12Values, HcalDcsDetId::ring(), sortList(), and HcalOtherDetId::subdet().
|
protected |
Definition at line 207 of file HcalDcsValues.cc.
References cuda_std::lower_bound(), and DetId::rawId().
Referenced by exists().
HcalDcsValues::DcsSet const & HcalDcsValues::getAllSubdetValues | ( | DcsSubDet | subd | ) | const |
Definition at line 163 of file HcalDcsValues.cc.
References HcalHB, HcalHE, HcalHF, HcalHO0, HcalHO12, mHBValues, mHEValues, mHFValues, mHO0Values, and mHO12Values.
HcalDcsValues::DcsSet HcalDcsValues::getValues | ( | HcalDcsDetId const & | fid | ) |
Definition at line 76 of file HcalDcsValues.cc.
References HcalDcsBarrel, HcalDcsEndcap, HcalDcsForward, HcalDcsOuter, cuda_std::lower_bound(), mHBsorted, mHBValues, mHEsorted, mHEValues, mHFsorted, mHFValues, mHO0sorted, mHO0Values, mHO12sorted, mHO12Values, DetId::rawId(), HcalDcsDetId::ring(), sortList(), HcalOtherDetId::subdet(), and cuda_std::upper_bound().
|
inline |
|
private |
void HcalDcsValues::sortAll | ( | ) |
Definition at line 39 of file HcalDcsValues.cc.
References mHBsorted, mHBValues, mHEsorted, mHEValues, mHFsorted, mHFValues, mHO0sorted, mHO0Values, mHO12sorted, mHO12Values, and sortList().
|
protected |
Definition at line 231 of file HcalDcsValues.cc.
Referenced by DcsValuesOK(), exists(), getValues(), and sortAll().
|
protected |
Definition at line 215 of file HcalDcsValues.cc.
References heppy_batch::val.
Referenced by DcsValuesOK().
|
friend |
Definition at line 70 of file HcalDcsValues.h.
|
friend |
Definition at line 70 of file HcalDcsValues.h.
|
private |
Definition at line 60 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getValues(), and sortAll().
|
private |
Definition at line 59 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getAllSubdetValues(), getValues(), and sortAll().
|
private |
Definition at line 62 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getValues(), and sortAll().
|
private |
Definition at line 61 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getAllSubdetValues(), getValues(), and sortAll().
|
private |
Definition at line 68 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getValues(), and sortAll().
|
private |
Definition at line 67 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getAllSubdetValues(), getValues(), and sortAll().
|
private |
Definition at line 64 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getValues(), and sortAll().
|
private |
Definition at line 63 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getAllSubdetValues(), getValues(), and sortAll().
|
private |
Definition at line 66 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getValues(), and sortAll().
|
private |
Definition at line 65 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getAllSubdetValues(), getValues(), and sortAll().