35 LogError(
"DataMismatch") <<
" in EcalSampleMask::setEcalSampleMaskRecordEB size of ebmask (" << ebmask.size()
41 for (
unsigned int s = 0;
s < ebmask.size();
s++) {
42 if (ebmask.at(
s) == 0 || ebmask.at(
s) == 1) {
46 <<
"in EcalSampleMask::setEcalSampleMaskRecordEB ebmask can only have values 0 or 1, while " << ebmask.at(
s)
47 <<
" was found. Bailing out. " << std::endl;
56 for (
unsigned int sampleId = 0; sampleId < ebmask.size(); sampleId++) {
64 LogError(
"DataMismatch") <<
" in EcalSampleMask::setEcalSampleMaskRecordEE size of eemask (" << eemask.size()
70 for (
unsigned int s = 0;
s < eemask.size();
s++) {
71 if (eemask.at(
s) == 0 || eemask.at(
s) == 1) {
75 <<
"in EcalSampleMask::setEcalSampleMaskRecordEE eemask can only have values 0 or 1, while " << eemask.at(
s)
76 <<
" was found. Bailing out. " << std::endl;
85 for (
unsigned int sampleId = 0; sampleId < eemask.size(); sampleId++) {
93 <<
" can be used, while: " << sampleId <<
" was found. Bailing out." << std::endl;
106 <<
" can be used, while: " << sampleId <<
" was found. Bailing out." << std::endl;
119 <<
" can be used, while: " << sampleId <<
" was found. Bailing out." << std::endl;
129 <<
"EcalSampleMaskuseSample::useSample can only be called for EcalBarrel or EcalEndcap DetID" << std::endl;