25 int main(
const int argc,
const char *
const argv[])
41 JParser<> zap(
"Auxiliary program to print trigger parameters.");
53 catch(
const exception& error) {
54 FATAL(error.what() << endl);
58 const double Dmax_m = 9999.0;
65 catch(
const exception& error) {
66 FATAL(error.what() << endl);
69 const int ID = getDetector<int> (detid);
70 detid = getDetector<string>(detid);
86 catch(
const exception& error) {
87 FATAL(error.what() << endl);
99 while (rs >> buffer) {
103 if (pos != string::npos) {
107 zmap[buffer.
OID] = buffer.
NAME.erase(0, pos + 1);
113 catch(
const exception& error) {
114 FATAL(error.what() << endl);
126 while (rs >> buffer) {
130 if (i != zmap.end()) {
131 data << i->second <<
"=" << buffer.
VALUE <<
";\n";
137 catch(
const exception& error) {
138 FATAL(error.what() << endl);
143 parameters.set(Dmax_m);
144 parameters.actionAtFileRead();
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(const int argc, const char *const argv[])
ResultSet & getResultSet(const std::string &query)
Get result set.
static const std::string PREFIX_DATAFILTER
This string is prepended to every parameter in the database output for the corresponding process.
std::vector< JServer > getServernames()
Get list of names of available database servers.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
KM3NeT DAQ data structures and auxiliaries.
Wrapper class for server name.
Template definition for getting table specific selector.