12 switch (tempId.subdet()) {
22 if (tempId.ring() == 0) {
58 if (fid.
ring() == 0) {
90 if (fid.
ring() == 0) {
111 DcsSet::const_iterator lb =
lower_bound(valList->begin(), valList->end(),
dummy);
112 if ((lb != valList->end()) && (lb->DcsId() == fid.
rawId())) {
113 DcsSet::const_iterator ub =
upper_bound(valList->begin(), valList->end(),
dummy);
209 DcsSet::const_iterator lb =
lower_bound(valList.begin(), valList.end(),
dummy);
210 if ((lb != valList.end()) && (lb->DcsId() == fid.
rawId()))
216 std::set<uint32_t> badIds;
217 DcsSet::const_iterator
val = valList.begin();
218 while ((
val != valList.end()) && ((LS > -1) ? (
val->LS() <= LS) :
true)) {
219 if (!
val->isValueGood()) {
220 badIds.insert(
val->DcsId());
222 std::set<uint32_t>::iterator fnd = badIds.find(
val->DcsId());
223 if (*fnd ==
val->DcsId())
228 return (badIds.empty());
232 sort(valList.begin(), valList.end());
bool foundDcsId(DcsSet const &valList, HcalDcsDetId const &fid) const
DcsSet getValues(HcalDcsDetId const &fid)
bool subDetOk(DcsSet const &valList, int LS) const
bool exists(HcalDcsDetId const &fid)
std::vector< HcalDcsValue > DcsSet
bool sortList(DcsSet &valList) const
bool DcsValuesOK(DcsSubDet subd, int LS=-1)
constexpr uint32_t rawId() const
get the raw id
bool addValue(HcalDcsValue const &newVal)
DcsSet const & getAllSubdetValues(DcsSubDet subd) const
HcalOtherSubdetector subdet() const
get the category