15 switch (tempId.subdet()) {
25 if (tempId.ring() == 0) {
59 if (fid.
ring() == 0) {
69 default :
return false;
85 if (fid.
ring() == 0) {
97 default : valList = 0;
102 DcsSet::const_iterator lb = lower_bound(valList->begin(), valList->end(), dummy);
103 if ((lb != valList->end()) && (lb->DcsId() == fid.
rawId())) {
104 DcsSet::const_iterator ub = upper_bound(valList->begin(), valList->end(), dummy);
183 default :
return false;
191 DcsSet::const_iterator lb = lower_bound(valList.begin(), valList.end(), dummy);
192 if ((lb != valList.end()) && (lb->DcsId() == fid.
rawId()))
198 std::set<uint32_t> badIds;
199 DcsSet::const_iterator val = valList.begin();
200 while ( (val != valList.end()) &&
201 ( (LS>-1) ? (val->LS()<=LS) :
true) ) {
202 if (!val->isValueGood()) {
203 badIds.insert(val->DcsId());
205 std::set<uint32_t>::iterator fnd = badIds.find(val->DcsId());
206 if (*fnd == val->DcsId()) badIds.erase(fnd);
210 return (badIds.size()==0);
214 sort(valList.begin(), valList.end());
DcsSet getValues(HcalDcsDetId const &fid)
bool exists(HcalDcsDetId const &fid)
DcsSet const & getAllSubdetValues(DcsSubDet subd) const
bool foundDcsId(DcsSet const &valList, HcalDcsDetId const &fid) const
uint32_t rawId() const
get the raw id
std::vector< HcalDcsValue > DcsSet
bool DcsValuesOK(DcsSubDet subd, int LS=-1)
HcalOtherSubdetector subdet() const
get the category
bool addValue(HcalDcsValue const &newVal)
bool sortList(DcsSet &valList) const
volatile std::atomic< bool > shutdown_flag false
bool subDetOk(DcsSet const &valList, int LS) const