5 #include "TTimeStamp.h"
29 int main(
int argc,
char **argv)
45 JParser<> zap(
"Example program to print data from data base.");
58 catch(
const exception &error) {
59 FATAL(error.what() << endl);
64 format = getColumns<JRuns>();
74 id = to_value<int>(detid);
78 selection += getSelector<JRuns>(id);
80 ResultSet& rs =
getResultSet(getTable<JRuns>(), selection);
84 if (TString(parameters.RUNSETUPNAME.c_str()).Contains(regexp)) {
94 catch(
const exception& error) {
95 FATAL(error.what() << endl);
Utility class to parse command line options.
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)...
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.
static const JDetectorsHelper & getDetector
Function object for mapping serial number and object identifier of detectors.
Utility class to parse command line options.
ResultSet & getResultSet(const std::string &query)
Get result set.
int main(int argc, char *argv[])