20 int 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);
41 cout <<
"Module status bits: ";
42 writeObject(cout, getModuleStatusBits<string>()) << 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.
JModule & set(const JVector3D &pos)
Set position.
Utility class to parse command line options.
static const JPutModuleStatusBit putModuleStatusBit(getModuleStatusBit)
Function object to map module status bit to key.
std::ostream & writeObject(std::ostream &out, const T &object)
Stream output of object.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).