5 #include "TTimeStamp.h"
29 int main(
int argc,
char **argv)
46 JParser<> zap(
"Example program to print data from data base.");
60 catch(
const exception &error) {
61 FATAL(error.what() << endl);
66 format = getColumns<JRuns>();
76 id = to_value<int>(detid);
80 selection += getSelector<JRuns>(id);
82 ResultSet& rs =
getResultSet(getTable<JRuns>(), selection);
86 if (TString(parameters.RUNSETUPNAME.c_str()).Contains(regexp)) {
96 catch(
const exception& error) {
97 FATAL(error.what() << endl);
Utility class to parse command line options.
int main(int argc, char *argv[])
Print objects in ASCII format using ROOT dictionary.
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
JDetectorsHelper getDetector
Function object for mapping serial number to object identifier of detector and vice versa...
I/O formatting auxiliaries.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
bool is_integer(const std::string &buffer)
Check if string is an integer.
Auxiliary data structure for streaming of STL containers.
General purpose messaging.
Utility class to parse command line options.
ResultSet & getResultSet(const std::string &query)
Get result set.
std::vector< JServer > getServernames()
Get list of names of available database servers.