LOG(ERROR)<<BOLDBLUE<<"\t--> Corrupted event n. "<<BOLDYELLOW<<i<<RESET;
errors++;
RD53FWInterface::PrintEvents({decodedEvents[i]});
}
LOG(INFO)<<GREEN<<"Percentage of corrupted events: "<<BOLDYELLOW<<std::setprecision(3)<<BOLDYELLOW<<1.*errors/decodedEvents.size()*100.<<"%"<<std::setprecision(-1)<<RESET;
intavgEventSize=data.size()/decodedEvents.size();
LOG(INFO)<<GREEN<<"Average event size is "<<BOLDYELLOW<<avgEventSize*wordDataSize<<RESET<<GREEN<<" bits over "<<BOLDYELLOW<<decodedEvents.size()<<RESET<<GREEN<<" events"<<RESET;
mySysCntr.closeFileHandler();
}
...
...
@@ -528,15 +532,16 @@ int main(int argc, char** argv)
LOG(ERROR)<<BOLDBLUE<<"\t--> Corrupted event n. "<<BOLDYELLOW<<i<<RESET;
errors++;
RD53FWInterface::PrintEvents({decodedEvents[i]});
}
LOG(INFO)<<GREEN<<"Percentage of corrupted events: "<<BOLDYELLOW<<std::setprecision(3)<<BOLDYELLOW<<1.*errors/decodedEvents.size()*100.<<"%"<<std::setprecision(-1)<<RESET;
intavgEventSize=data.size()/decodedEvents.size();
LOG(INFO)<<GREEN<<"Average event size is "<<BOLDYELLOW<<avgEventSize*wordDataSize<<RESET<<GREEN<<" bits over "<<BOLDYELLOW<<decodedEvents.size()<<RESET<<GREEN<<" events"<<RESET;
mySysCntr.closeFileHandler();
}
...
...
@@ -122,15 +126,16 @@ int main(int argc, char** argv)
LOG(INFO)<<BOLDMAGENTA<<">>> Average event size: "<<BOLDYELLOW<<std::setprecision(0)<<avgEventSize*32<<std::setprecision(-1)<<BOLDMAGENTA<<" bits over "<<BOLDYELLOW