21 int main(
const int argc,
const char *
const argv[])
35 JParser<> zap(
"Auxiliary program to print run setup data.");
46 catch(
const exception& error) {
47 FATAL(error.what() << endl);
64 for (JAllParams buffer; rs >> buffer; ) {
65 umap[buffer.OID] = buffer.NAME;
71 ResultSet& rs =
getResultSet(getTable<JRunsetupParams>(), getSelector<JRunsetupParams>(detid, rs_oid));
73 for (JRunsetupParams buffer; rs >> buffer; ) {
74 cout << buffer.PAR_OID <<
"->" << umap[buffer.PAR_OID] <<
" = " << buffer.VALUE << endl;
77 catch(
const exception& error) {
78 FATAL(error.what() << endl);