Go to the documentation of this file.
19 int main(
int argc,
char **argv)
32 JParser<> zap(
"Auxiliary program to get serial number or object identifier of detector from database.");
42 catch(
const exception &error) {
43 FATAL(error.what() << endl);
52 cout << getDetector(to_value<int>(detid)) << endl;
56 catch(
const exception& error) {
57 FATAL(error.what() << endl);
int main(int argc, char **argv)
bool is_integer(const std::string &buffer)
Check if string is an integer.
Utility class to parse command line options.
static const JDetectorsHelper & getDetector
Function object for mapping serial number and object identifier of detectors.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
void reset(JCLBInput &data, size_t size)
Reset CLB buffers.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object