Analyze.
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) {
71 const FEDRawData& fedData = allFedRawData->FEDData(esFED);
80 const FEDRawData& gtFedData = allFedRawData->FEDData(812);
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)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< T >::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.
Log< level::Warning, false > LogWarning
MonitorElement * meESFedsEntries_
MonitorElement * meESFedsNonFatal_