Analyze.
Reimplemented from DQMEDAnalyzer.
Definition at line 55 of file ESFEDIntegrityTask.cc.
60 int esDCC_L1A_MostFreqCounts = 0;
61 int esDCC_BX_MostFreqCounts = 0;
62 int esDCC_OrbitNumber_MostFreqCounts = 0;
63 int gtFedDataSize = 0;
70 for (
int esFED = 520; esFED <= 575; ++esFED) {
84 if (gtFedDataSize > 0) {
91 map<int, int> esDCC_L1A_FreqMap;
92 map<int, int> esDCC_BX_FreqMap;
93 map<int, int> esDCC_OrbitNumber_FreqMap;
99 esDCC_L1A_FreqMap[esdcc.
getLV1()]++;
100 esDCC_BX_FreqMap[esdcc.
getBX()]++;
103 if (esDCC_L1A_FreqMap[esdcc.
getLV1()] > esDCC_L1A_MostFreqCounts) {
104 esDCC_L1A_MostFreqCounts = esDCC_L1A_FreqMap[esdcc.
getLV1()];
108 if (esDCC_BX_FreqMap[esdcc.
getBX()] > esDCC_BX_MostFreqCounts) {
109 esDCC_BX_MostFreqCounts = esDCC_BX_FreqMap[esdcc.
getBX()];
113 if (esDCC_OrbitNumber_FreqMap[esdcc.
getOrbitNumber()] > esDCC_OrbitNumber_MostFreqCounts) {
114 esDCC_OrbitNumber_MostFreqCounts = esDCC_OrbitNumber_FreqMap[esdcc.
getOrbitNumber()];
119 LogWarning(
"ESFEDIntegrityTask") <<
"dccCollections not available";
124 LogWarning(
"ESFEDIntegrityTask") <<
"FEDRawDataCollection not available";
127 vector<int> fiberStatus;
144 for (
unsigned int i = 0;
i < 12; ++
i) {
145 if (fiberStatus[
i] == 8 || fiberStatus[
i] == 10 || fiberStatus[
i] == 11 || fiberStatus[
i] == 12)
153 for (
unsigned int i = 12;
i < 24; ++
i) {
154 if (fiberStatus[
i] == 8 || fiberStatus[
i] == 10 || fiberStatus[
i] == 11 || fiberStatus[
i] == 12)
162 for (
unsigned int i = 24;
i < 36; ++
i) {
163 if (fiberStatus[
i] == 8 || fiberStatus[
i] == 10 || fiberStatus[
i] == 11 || fiberStatus[
i] == 12)
170 if (dcc.
getLV1() != gt_L1A)
References edm::SortedCollection< T, SORT >::begin(), gather_cfg::cout, FEDRawData::data(), MillePedeFileConverter_cfg::e, edm::SortedCollection< T, SORT >::end(), FEDRawDataCollection::FEDData(), ESDCCHeaderBlock::fedId(), ESDCCHeaderBlock::getBX(), ESDCCHeaderBlock::getDCCErrors(), ESDCCHeaderBlock::getFEChannelStatus(), ESDCCHeaderBlock::getLV1(), ESDCCHeaderBlock::getOptoRX0(), ESDCCHeaderBlock::getOptoRX1(), ESDCCHeaderBlock::getOptoRX2(), ESDCCHeaderBlock::getOrbitNumber(), RecoTauValidation_cfi::header, mps_fire::i, and FEDRawData::size().