20int main(
int argc,
char **argv)
29 JParser<> zap(
"Example program to test module status bits.");
35 catch(
const exception &error) {
36 FATAL(error.what() << endl);
40 if (
debug >= debug_t) {
41 cout <<
"Module status bits: ";
42 writeObject(cout, getModuleStatusBits<string>()) << endl;
49 for (vector<int>::const_iterator i = buffer.begin(); i != buffer.end(); ++i) {
53 DEBUG(
"Set module status " << putModuleStatusBit(*i) << endl);
General purpose messaging.
#define DEBUG(A)
Message macros.
#define ASSERT(A,...)
Assert macro.
int main(int argc, char **argv)
Data structure for optical module.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Data structure for a composite optical module.
bool has(const int bit) const
Test PMT status.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).