24 int main(
int argc,
char **argv)
28 using namespace KM3NETDAQ;
36 JParser<> zap(
"Example program to histogram summary data.");
39 zap[
'n'] =
make_field(numberOfEvents) = JLimit::max();
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 <<
' '
Utility class to parse command line options.
Q(UTCMax_s-UTCMin_s)-livetime_s
int main(int argc, char *argv[])
ROOT TTree parameter settings of various packages.
Auxiliary data structure for floating point format specification.
int getRunNumber() const
Get run number.
Auxiliary class for defining the range of iterations of objects.
I/O formatting auxiliaries.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
General purpose messaging.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Auxiliary data structure for average.
Utility class to parse command line options.
void put(const double x)
Put value.
const JLimit & getLimit() const
Get limit.
long double getMean() const
Get mean value.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
#define DEBUG(A)
Message macros.