#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.
Enumerator | |
---|---|
HcalHB | |
HcalHE | |
HcalHO0 | |
HcalHO12 | |
HcalHF |
Definition at line 30 of file HcalDcsValues.h.
HcalDcsValues::HcalDcsValues | ( | ) |
Definition at line 5 of file HcalDcsValues.cc.
|
virtual |
Definition at line 10 of file HcalDcsValues.cc.
bool HcalDcsValues::addValue | ( | HcalDcsValue const & | newVal | ) |
Definition at line 13 of file HcalDcsValues.cc.
References HcalDcsValue::DcsId(), HcalDcsBarrel, HcalDcsEndcap, HcalDcsForward, HcalDcsOuter, mHBsorted, mHBValues, mHEsorted, mHEValues, mHFsorted, mHFValues, mHO0sorted, mHO0Values, mHO12sorted, and mHO12Values.
Referenced by HcalDbASCIIIO::createObject< HcalElectronicsMap >().
bool HcalDcsValues::DcsValuesOK | ( | DcsSubDet | subd, |
int | LS = -1 |
||
) |
Definition at line 166 of file HcalDcsValues.cc.
References HcalHB, HcalHE, HcalHF, HcalHO0, HcalHO12, mHBsorted, mHBValues, mHEsorted, mHEValues, mHFsorted, mHFValues, mHO0sorted, mHO0Values, mHO12sorted, mHO12Values, sortList(), and subDetOk().
Referenced by myname().
bool HcalDcsValues::exists | ( | HcalDcsDetId const & | fid | ) |
Definition at line 50 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 188 of file HcalDcsValues.cc.
References pfDeepBoostedJetPreprocessParams_cfi::lower_bound, and DetId::rawId().
Referenced by exists(), and myname().
HcalDcsValues::DcsSet const & HcalDcsValues::getAllSubdetValues | ( | DcsSubDet | subd | ) | const |
Definition at line 155 of file HcalDcsValues.cc.
References HcalHB, HcalHE, HcalHF, HcalHO0, HcalHO12, mHBValues, mHEValues, mHFValues, mHO0Values, and mHO12Values.
Referenced by HcalDbASCIIIO::createObject< HcalElectronicsMap >().
HcalDcsValues::DcsSet HcalDcsValues::getValues | ( | HcalDcsDetId const & | fid | ) |
Definition at line 73 of file HcalDcsValues.cc.
References HcalDcsBarrel, HcalDcsEndcap, HcalDcsForward, HcalDcsOuter, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, mHBsorted, mHBValues, mHEsorted, mHEValues, mHFsorted, mHFValues, mHO0sorted, mHO0Values, mHO12sorted, mHO12Values, DetId::rawId(), HcalDcsDetId::ring(), sortList(), HcalOtherDetId::subdet(), and pfDeepBoostedJetPreprocessParams_cfi::upper_bound.
|
inline |
Definition at line 47 of file HcalDcsValues.h.
References DcsValuesOK(), foundDcsId(), sortList(), AlCaHLTBitMon_QueryRunRegistry::string, and subDetOk().
|
private |
void HcalDcsValues::sortAll | ( | ) |
Definition at line 42 of file HcalDcsValues.cc.
References mHBsorted, mHBValues, mHEsorted, mHEValues, mHFsorted, mHFValues, mHO0sorted, mHO0Values, mHO12sorted, mHO12Values, and sortList().
Referenced by HcalDbASCIIIO::createObject< HcalElectronicsMap >().
|
protected |
Definition at line 213 of file HcalDcsValues.cc.
References jetUpdater_cfi::sort.
Referenced by DcsValuesOK(), exists(), getValues(), myname(), and sortAll().
|
protected |
Definition at line 197 of file HcalDcsValues.cc.
References heppy_batch::val.
Referenced by DcsValuesOK(), and myname().
|
friend |
Definition at line 71 of file HcalDcsValues.h.
|
friend |
Definition at line 71 of file HcalDcsValues.h.
|
private |
Definition at line 61 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getValues(), and sortAll().
|
private |
Definition at line 60 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getAllSubdetValues(), getValues(), and sortAll().
|
private |
Definition at line 63 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getValues(), and sortAll().
|
private |
Definition at line 62 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getAllSubdetValues(), getValues(), and sortAll().
|
private |
Definition at line 69 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getValues(), and sortAll().
|
private |
Definition at line 68 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getAllSubdetValues(), getValues(), and sortAll().
|
private |
Definition at line 65 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getValues(), and sortAll().
|
private |
Definition at line 64 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getAllSubdetValues(), getValues(), and sortAll().
|
private |
Definition at line 67 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getValues(), and sortAll().
|
private |
Definition at line 66 of file HcalDcsValues.h.
Referenced by addValue(), DcsValuesOK(), exists(), getAllSubdetValues(), getValues(), and sortAll().