Analyze.
71 int esDCC_L1A_MostFreqCounts = 0;
72 int esDCC_BX_MostFreqCounts = 0;
73 int esDCC_OrbitNumber_MostFreqCounts = 0;
74 int gtFedDataSize = 0;
82 for (
int esFED=520; esFED<=575; ++esFED) {
96 if ( gtFedDataSize > 0 ) {
105 map<int, int> esDCC_L1A_FreqMap;
106 map<int, int> esDCC_BX_FreqMap;
107 map<int, int> esDCC_OrbitNumber_FreqMap;
114 esDCC_L1A_FreqMap[esdcc.
getLV1()]++;
115 esDCC_BX_FreqMap[esdcc.
getBX()]++;
118 if (esDCC_L1A_FreqMap[esdcc.
getLV1()] > esDCC_L1A_MostFreqCounts) {
119 esDCC_L1A_MostFreqCounts = esDCC_L1A_FreqMap[esdcc.
getLV1()];
123 if (esDCC_BX_FreqMap[esdcc.
getBX()] > esDCC_BX_MostFreqCounts) {
124 esDCC_BX_MostFreqCounts = esDCC_BX_FreqMap[esdcc.
getBX()];
128 if (esDCC_OrbitNumber_FreqMap[esdcc.
getOrbitNumber()] > esDCC_OrbitNumber_MostFreqCounts) {
129 esDCC_OrbitNumber_MostFreqCounts = esDCC_OrbitNumber_FreqMap[esdcc.
getOrbitNumber()];
135 LogWarning(
"ESFEDIntegrityTask") <<
"dccCollections not available";
141 LogWarning(
"ESFEDIntegrityTask") <<
"FEDRawDataCollection not available";
144 vector<int> fiberStatus;
160 for (
unsigned int i=0;
i<12; ++
i) {
161 if (fiberStatus[
i]==8 || fiberStatus[
i]==10 || fiberStatus[
i]==11 || fiberStatus[
i]==12)
168 for (
unsigned int i=12;
i<24; ++
i) {
169 if (fiberStatus[
i]==8 || fiberStatus[
i]==10 || fiberStatus[
i]==11 || fiberStatus[
i]==12)
176 for (
unsigned int i=24;
i<36; ++
i) {
177 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.
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
edm::EDGetTokenT< FEDRawDataCollection > FEDRawDataCollection_
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.
MonitorElement * meESFedsEntries_
MonitorElement * meESFedsNonFatal_
const_iterator begin() const