21 int main(
int argc,
char* argv[])
35 JParser<> zap(
"Example program to test receiving of objects from ControlHost server.");
45 catch(
const exception &error) {
46 FATAL(error.what() << endl);
58 for (
int i = 0; i != numberOfTimeouts; ) {
65 NOTICE(p->getDAQHeader() << endl);
71 NOTICE(
"timeout " << setw(3) << i <<
'\r');
78 ERROR(error.what() << endl);
int main(int argc, char *argv[])
General purpose messaging.
#define DEBUG(A)
Message macros.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
virtual const pointer_type & next() override
Get next element.
virtual bool hasNext() override
Check availability of next element.
Auxiliary class for time values.
Object iteration through ControlHost.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
std::vector< event_type > data_type
KM3NeT DAQ data structures and auxiliaries.
void setDAQLongprint(const bool option)
Set DAQ print option.
Data structure for measured coincidence rates of all pairs of PMTs in optical module.