14   const char* 
const int_t     =  
"int";
 
   15   const char* 
const string_t  =  
"string";
 
   24 int main(
int argc, 
char **argv)
 
   39     JParser<> zap(
"Auxiliary program to get serial number or object identifier of detector from database.");
 
   51   catch(
const exception &error) {
 
   52     FATAL(error.what() << endl);
 
   61       (option == 
string_t || option == 
"" ? cout << getDetector(to_value<int>(detid)) : cout << detid) << endl;
 
   63       (option == int_t    || option == 
"" ? cout << 
getDetector(detid)                : cout << detid) << endl;
 
   65   catch(
const exception& error) {
 
   66     FATAL(error.what() << endl);
 
General purpose messaging.
 
Utility class to parse command line options.
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
Utility class to parse command line options.
 
int main(int argc, char **argv)
 
static const std::string string_t
string
 
JDetectorsHelper & getDetector()
Auxiliary function for helper object initialisation.
 
std::vector< JServer > getServernames()
Get list of names of available database servers.
 
bool is_integer(const std::string &buffer)
Check if string is an integer.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Wrapper class for server name.