35{
38
40
42 string usr;
45 string inputFile;
47 string detid;
51 JSelector selection;
54
55 try {
56
57 JParser<> zap(
"Main program to print quality data from data base.");
58
70
72 }
73 catch(const exception &error) {
75 }
76
77
80
81 try {
82
84
87
88
89
91
93
94 for (
JRuns parameters; rs >> parameters; ) {
95 if (TString(parameters.RUNSETUPNAME.c_str()).Contains(
regexp)) {
97 }
98 }
99
100 rs.Close();
101
102
103
105
108
109 map_type zmap;
110
112
113 selector.add(&JRunSummaryNumbers::SOURCE_NAME, *git);
114
115 try {
116
118
120 if (
setups.count(parameters.RUN) != 0) {
121 zmap[parameters.RUN].insert(
make_pair(parameters.PARAMETER_NAME, parameters.DATA_VALUE));
122 }
123 }
124
125 rs.Close();
126 }
127 catch(const exception& error) {}
128
129 for (map_type::const_iterator run = zmap.begin(); run != zmap.end(); ++run) {
130
132
138
139 for (data_type::const_iterator i = run->second.begin(); i != run->second.end(); ++i) {
140 quality.put(i->first, i->second);
141 }
142
144 }
145 }
146 }
147 catch(const exception& error) {
149 }
150
151
153
156 }
157
159 }
160
161 return 0;
162}
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Template definition of a multi-dimensional oscillation probability interpolation table.
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.
std::vector< std::string > getGITTags(const TRegexp ®exp, const JGITTags_t::key_type &date)
Get selection of GIT tags.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Data structure for measured coincidence rates of all pairs of PMTs in optical module.
Auxiliary data structure for data quality.
Auxiliary class for run setup evaluation.
Wrapper class for server name.
Auxiliary data structure for streaming of STL containers.
Empty structure for specification of parser element that is initialised (i.e. does not require input)...