25int main(
const int argc,
const char *
const argv[])
44 JParser<> zap(
"Auxiliary program to determine TDC constraints (input to JFitK40.cc) according HV settings from the database.");
58 catch(
const exception& error) {
95 ostream os(buffer.is_open() ? &buffer :
cout.rdbuf());
97 for (detector_type::const_iterator i =
detector.begin(); i !=
detector.end(); ++i) {
98 if (i->PMTUPI.getPBS() == PBS::PMT) {
100 if (
pmt_hv[0](i->PMTUPI).value ==
pmt_hv[1](i->PMTUPI).value) {
102 os <<
setw(10) << i->DOMID <<
' ' <<
setw(2) << i->PMTID <<
endl;
104 os <<
setw(10) << i->DOMID <<
' ' <<
setw(2) << i->CABLEPOS <<
endl;
107 catch(
const exception& error) {
108 ERROR(
"Invalid UPI " << i->PMTUPI <<
' ' <<
setw(10) << i->DOMID <<
' ' <<
setw(2) << i->PMTID <<
endl);
115 catch(
const exception& error) {
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
int main(const int argc, const char *const argv[])
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).
Wrapper class for server name.