26int main(
const int argc,
const char *
const argv[])
41 JParser<> zap(
"Utility program to print PMT HV settings.");
53 catch(
const exception& error) {
70 DEBUG(
"Downloading detector integration data... " << flush);
86 DEBUG(
"Downloading HV data... " << flush);
91 HV[parameters.DUID][parameters.FLOORID][parameters.CABLEPOS] = parameters;
101 for (detector_type::const_iterator i =
detector.begin(); i !=
detector.end(); ++i) {
103 if (i->PMTUPI.getPBS() == PBS::PMT) {
105 cout <<
FILL(4,
'0') << i->DUID <<
'.' <<
FILL(2,
'0') << i->FLOORID <<
"[" <<
FILL(2,
'0') << i->CABLEPOS <<
"] " <<
FILL()
106 <<
setw(4) << HV[i->DUID][i->FLOORID][i->CABLEPOS].HV_INDEX <<
' '
107 <<
FIXED(7,1) << HV[i->DUID][i->FLOORID][i->CABLEPOS].HV_VALUE <<
' ';
111 <<
pmt_hv(i->PMTUPI).is_default
112 << (
pmt_hv(i->PMTUPI).value != HV[i->DUID][i->FLOORID][i->CABLEPOS].HV_INDEX ?
"*" :
"");
114 catch(
const exception& error) {
122 catch(
const exception& error) {
General purpose messaging.
#define DEBUG(A)
Message macros.
int main(const int argc, const char *const argv[])
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
Auxiliary class for PMT HVs.
Template definition of a multi-dimensional oscillation probability interpolation table.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for sequence of same character.
Auxiliary data structure for floating point format specification.
Wrapper class for server name.