Analyze.
72 int esDCC_L1A_MostFreqCounts = 0;
73 int esDCC_BX_MostFreqCounts = 0;
74 int esDCC_OrbitNumber_MostFreqCounts = 0;
75 int gtFedDataSize = 0;
83 for (
int esFED=520; esFED<=575; ++esFED) {
85 const FEDRawData& fedData = allFedRawData->FEDData(esFED);
93 const FEDRawData& gtFedData = allFedRawData->FEDData(812);
97 if ( gtFedDataSize > 0 ) {
106 map<int, int> esDCC_L1A_FreqMap;
107 map<int, int> esDCC_BX_FreqMap;
108 map<int, int> esDCC_OrbitNumber_FreqMap;
115 esDCC_L1A_FreqMap[esdcc.
getLV1()]++;
116 esDCC_BX_FreqMap[esdcc.
getBX()]++;
119 if (esDCC_L1A_FreqMap[esdcc.
getLV1()] > esDCC_L1A_MostFreqCounts) {
120 esDCC_L1A_MostFreqCounts = esDCC_L1A_FreqMap[esdcc.
getLV1()];
124 if (esDCC_BX_FreqMap[esdcc.
getBX()] > esDCC_BX_MostFreqCounts) {
125 esDCC_BX_MostFreqCounts = esDCC_BX_FreqMap[esdcc.
getBX()];
129 if (esDCC_OrbitNumber_FreqMap[esdcc.
getOrbitNumber()] > esDCC_OrbitNumber_MostFreqCounts) {
130 esDCC_OrbitNumber_MostFreqCounts = esDCC_OrbitNumber_FreqMap[esdcc.
getOrbitNumber()];
136 LogWarning(
"ESFEDIntegrityTask") <<
"dccCollections not available";
142 LogWarning(
"ESFEDIntegrityTask") <<
"FEDRawDataCollection not available";
145 vector<int> fiberStatus;
161 for (
unsigned int i=0;
i<12; ++
i) {
162 if (fiberStatus[
i]==8 || fiberStatus[
i]==10 || fiberStatus[
i]==11 || fiberStatus[
i]==12)
169 for (
unsigned int i=12;
i<24; ++
i) {
170 if (fiberStatus[
i]==8 || fiberStatus[
i]==10 || fiberStatus[
i]==11 || fiberStatus[
i]==12)
177 for (
unsigned int i=24;
i<36; ++
i) {
178 if (fiberStatus[
i]==8 || fiberStatus[
i]==10 || fiberStatus[
i]==11 || fiberStatus[
i]==12)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< ESDCCHeaderBlock >::const_iterator const_iterator
MonitorElement * meESFedsFatal_
size_t size() const
Lenght of the data buffer in bytes.
edm::EDGetTokenT< FEDRawDataCollection > FEDRawDataCollection_
edm::EDGetTokenT< ESRawDataCollection > dccCollections_
unsigned long long uint64_t
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
MonitorElement * meESFedsEntries_
MonitorElement * meESFedsNonFatal_