10 edm::LogWarning(
"SiPixelQualityProbabilities") <<
"PU bin: " << puBin <<
" is already in the map!" << std::endl;
19 const unsigned int puBin)
const {
25 throw cms::Exception(
"SiPixelQualityProbabilities") <<
"No Probabilities are defined for PU bin " << puBin <<
"\n";
31 const unsigned int puBin) {
37 throw cms::Exception(
"SiPixelQualityProbabilities") <<
"No Probabilities are defined for PU bin " << puBin <<
"\n";
43 edm::LogVerbatim(
"SiPixelQualityProbabilities") <<
"SiPixelQualityProbabilities::printAll()";
44 edm::LogVerbatim(
"SiPixelQualityProbabilities") <<
" ================================================================"
45 "===================================================";
47 edm::LogVerbatim(
"SiPixelQualityProbabilities") <<
"PU :" << it->first <<
" \n ";
48 for (
const auto &
entry : it->second) {
50 <<
"SiPixelQuality snapshot: " <<
entry.first <<
" |probability: " <<
entry.second << std::endl;
58 os <<
"PU :" << it->first <<
" \n ";
59 for (
const auto &
entry : it->second) {
60 os <<
"SiPixelQuality snapshot: " <<
entry.first <<
" |probability: " <<
entry.second << std::endl;
67 std::vector<unsigned int>
bins;
71 bins.push_back(it->first);