11 : timeStamp_(0),
runNumber_(0), luminosityBlock_(0), numberOfEvents_(0) {}
32 const uint32_t detId) {
33 vector<float> performanceValues;
37 return setDet(detId, performanceValues);
41 const uint32_t detId,
const vector<float>& performanceValues) {
45 cout <<
"not adding these " << performanceValues.size() <<
" values; "
46 <<
"SiPixelPerformanceSummary can only add " <<
kDetSummarySize <<
" values per DetSummary";
47 return make_pair(
false, iDetSumm);
53 iDetSumm->detId_ == detId)
54 return make_pair(
false, iDetSumm);
64 cout <<
"cannot set the performance value for index = " << index <<
" > " <<
kDetSummarySize;
67 pair<bool, vector<DetSummary>::iterator> initResult =
initDet(detId);
69 initResult.second->performanceValues_[
index] = performanceValue;
72 cout <<
"cannot set the performance value; cannot create new entry for detId = " << detId;
80 cout <<
"cannot get value for detId = " << detId <<
" index = " << index <<
" > " <<
kDetSummarySize;
85 return performanceValues[index];
91 return setValue(detId, bin, nErrors);
135 return setValue(detId, 45, nNpixCells);
139 return setValue(detId, 46, nNpixCells);
143 return setValue(detId, 47, nPixelHits);
151 return setValue(detId, 50, nClusters);
155 return setValue(detId, 51, nClusters);
175 vector<uint32_t> allDetIds;
178 allDetIds.push_back(iDetSumm->detId_);
183 vector<DetSummary>::const_iterator iDetSumm =
185 return detSumm.detId_ == detId;
188 vector<float> performanceValues;
189 cout <<
"cannot get DetSummary for detId = " << detId;
190 return performanceValues;
192 return iDetSumm->performanceValues_;
197 cout <<
"DetSummary for detId " << detId <<
" : ";
198 for (vector<float>::const_iterator
v = performanceValues.begin();
v != performanceValues.end(); ++
v)
215 print(iDetSumm->detId_);
static const char runNumber_[]
__host__ __device__ constexpr RandomIt lower_bound(RandomIt first, RandomIt last, const T &value, Compare comp={})