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) {
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)
std::vector< T >::const_iterator const_iterator
size_t size() const
Lenght of the data buffer in bytes.
MonitorElement * meESFedsFatal_
edm::EDGetTokenT< FEDRawDataCollection > FEDRawDataCollection_
const_iterator begin() const
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
const_iterator end() const
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_