20 int main(
int argc,
char **argv)
29 JParser<> zap(
"Example program to test PMT status bits.");
35 catch(
const exception &error) {
36 FATAL(error.what() << endl);
41 cout <<
"PMT status bits: ";
42 writeObject(cout, getPMTStatusBits<string>()) << endl;
General purpose messaging.
#define DEBUG(A)
Message macros.
#define ASSERT(A,...)
Assert macro.
int main(int argc, char **argv)
Data structure for PMT geometry and calibration.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Data structure for PMT geometry, calibration and status.
Utility class to parse command line options.
static const JPutPMTStatusBit putPMTStatusBit(getPMTStatusBit)
Function object to map PMT 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).
void set(const int bit)
Set PMT status.
bool has(const int bit) const
Test PMT status.