29int main(
int argc,
char **argv)
48 "\nFor detailed ROOT output, use corresponding example.");
63 catch(
const exception &error) {
86 if (parameters.PMTUPI.getPBS() == PBS::PMT) {
87 detector[parameters.PMTUPI] =
JLocation_t(parameters.DUID, parameters.FLOORID, parameters.CABLEPOS);
96 JSelector selection(&JDatalogNumbers::PARAMETER_NAME,
"pmt_highvolt");
102 long long int counter = 0;
108 const JUPI_t upi = parameters.SOURCE_NAME;
117 if (fabs(HV(
upi).value - parameters.DATA_VALUE) > precision) {
119 ERROR(
"HV " <<
setw(10) << parameters.UNIXTIME <<
' ' << location <<
" set/read " <<
FIXED(7,1) << HV(
upi) <<
"/" <<
FIXED(7,1) << parameters.DATA_VALUE <<
endl);
135 if (
debug >= warning_t) {
137 cout <<
"Error HV " <<
setw(32) << left << i->first << right <<
' ' <<
detector[i->first] <<
' ' <<
setw(3) << i->second <<
'/' <<
setw(3) <<
counts[i->first] <<
endl;
140 cout <<
"Alien UPI " <<
setw(32) << left << i->first << right <<
' ' <<
setw(3) << i->second <<
endl;
144 catch(
const exception& error) {