26{
30
32 string usr;
35 string detid;
36 int run;
38
39 try {
40
41 JParser<> zap(
"Auxiliary program to print trigger parameters.");
42
50
52 }
53 catch(const exception& error) {
55 }
56
57
58 const double Dmax_m = 9999.0;
59
61
62 try {
64 }
65 catch(const exception& error) {
67 }
68
71
73
74 try {
75
77
79
80 if (rs >> buffer) {
82 }
83
84 rs.Close();
85 }
86 catch(const exception& error) {
88 }
89
90
92
93 try {
94
96
98
99 while (rs >> buffer) {
100
102
103 if (pos != string::npos) {
104
106
107 zmap[buffer.
OID] = buffer.
NAME.erase(0, pos + 1);
108 }
109 }
110
111 rs.Close();
112 }
113 catch(const exception& error) {
115 }
116
117
119
120 try {
121
123
125
126 while (rs >> buffer) {
127
129
130 if (i != zmap.end()) {
131 data << i->second <<
"=" << buffer.
VALUE <<
";\n";
132 }
133 }
134
135 rs.Close();
136 }
137 catch(const exception& error) {
139 }
140
142
143 parameters.set(Dmax_m);
144 parameters.actionAtFileRead();
145
147}
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Template definition of a multi-dimensional oscillation probability interpolation table.
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.