Go to the documentation of this file.
19 int main(
int argc,
char **argv)
29 JParser<> zap(
"Example program to print PMT logical addressing.");
37 catch(
const exception &error) {
38 FATAL(error.what() << endl);
45 FATAL(
"No detector address map for detector identifier " << detectorID << endl);
49 const JModuleAddressMap& memo = demo.get(moduleID);
51 for (JModuleAddressMap::const_iterator i = memo.begin(); i != memo.end(); ++i) {
52 cout << i->toString(
"TDC[%] = %%") << endl;
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
bool hasDetectorAddressMap(const int id)
Check if detector address map is available.
int main(int argc, char **argv)
JDetectorAddressMap & getDetectorAddressMap()
Get detector address map.