24int main(
int argc,
char **argv)
31 JLimit_t& numberOfEvents = inputFile.getLimit();
36 JParser<> zap(
"Example program to histogram summary data.");
44 catch(
const exception& error) {
45 FATAL(error.what() << endl);
56 STATUS(
"event: " << setw(10) << in.getCounter() <<
'\r');
DEBUG(endl);
64 for (JDAQSummaryslice::const_iterator frame = summary->begin(); frame != summary->end(); ++frame) {
66 if (!frame->testHighRateVeto() && !frame->testFIFOStatus()) {
67 Q[0].
put(frame->getUDPNumberOfReceivedPackets() == (frame->getUDPMaximalSequenceNumber() + 1) ? 1.0 : 0.0);
68 Q[1].
put(frame->hasUDPTrailer() ? 1.0 : 0.0);
73 cout << setw(8) << run <<
' '
int main(int argc, char **argv)
General purpose messaging.
#define DEBUG(A)
Message macros.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
ROOT TTree parameter settings of various packages.
Utility class to parse command line options.
virtual bool hasNext() override
Check availability of next element.
int getRunNumber() const
Get run number.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
KM3NeT DAQ data structures and auxiliaries.
Auxiliary data structure for floating point format specification.
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.