7 : folderName_(_ps.getUntrackedParameter<
std::
string>(
"folderName")),
13 ebGainSwitchErrorsToken_(),
14 eeGainSwitchErrorsToken_(),
17 blockSizeErrorsToken_(
36 setElectronicsMap(_es);
74 if (_evt.
getByToken(FEDRawDataToken_, fedHndl)) {
81 unsigned occupancy(-1);
83 if (fedId < 610 || fedId > 645) {
84 occupancy = kEEOccupancy;
87 occupancy = kEBOccupancy;
92 unsigned length(fedData.size() /
sizeof(
uint64_t));
95 MEs_[occupancy]->Fill(
fedId + 0.5);
184 if (_evt.
getByToken(towerIdErrorsToken_, eleHndl)) {
187 unsigned iDCC(eleItr->dccId() - 1);
189 unsigned nonfatal(-1);
191 nonfatal = kEBNonFatal;
193 nonfatal = kEENonFatal;
205 if (_evt.
getByToken(blockSizeErrorsToken_, eleHndl)) {
208 unsigned iDCC(eleItr->dccId() - 1);
210 unsigned nonfatal(-1);
212 nonfatal = kEBNonFatal;
214 nonfatal = kEENonFatal;
227 template <
int SUBDET>
231 electronicsMap = elecMapHandle.
product();
234 template <
int SUBDET>
237 throw cms::Exception(
"InvalidCall") <<
"Electronics Mapping not initialized";
238 return electronicsMap;