28 inline bool compare(
const JDetectorIntegration& first,
const JDetectorIntegration& second)
30 if (first.DUID == second.DUID) {
32 if (first.FLOORID == second.FLOORID)
33 return first.
CABLEPOS < second.CABLEPOS;
35 return first.FLOORID < second.FLOORID;
39 return first.DUID < second.DUID;
50int main(
const int argc,
const char *
const argv[])
65 JParser<> zap(
"Auxiliary program to print run setup parameters from the database.");
77 catch(
const exception& error) {
105 catch(
const exception& error) {
111 for (detector_type::const_iterator i =
detector.begin(); i !=
detector.end(); ++i) {
113 if (i->PMTID != -1) {
117 const JPMTThreshold::result_type threshold =
getPMTThreshold(i->PMTUPI);
119 if (
debug >= debug_t || !threshold.is_default) {
121 <<
setw(2) << i->FLOORID <<
' '
122 <<
setw(2) << i->CABLEPOS <<
' '
123 <<
setw(3) << threshold.value <<
' '
124 << (threshold.is_default ?
"" :
"*") <<
endl;
127 catch(
const exception& error) {
General purpose messaging.
#define DEBUG(A)
Message macros.
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 thresholds.
Template definition of a multi-dimensional oscillation probability interpolation table.
Utility class to parse command line options.
int main(const int argc, const char *const argv[])
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Wrapper class for server name.