31int main(
int argc,
char **argv)
38 const char*
const index_t =
"index";
50 zap[
'f'] =
make_field(inputFile,
"1st output of JMergeCalibrateK40 and 2nd output of JFitK40");
58 catch(
const exception &error) {
77 for (
int i = 0; i != 2; ++i) {
79 in[i] = TFile::Open(inputFile[i].c_str(),
"exist");
82 FATAL(
"File: " << inputFile[i] <<
" not opened." <<
endl);
91 if (
module->getFloor() == 0) {
101 h2[1] ==
NULL || h2[1]->GetEntries() == 0) {
112 h2[0]->GetXaxis()->GetNbins(), h2[0]->GetXaxis()->GetXmin(), h2[0]->GetXaxis()->GetXmax());
115 NUMBER_OF_PMTS, -0.5, NUMBER_OF_PMTS - 0.5,
116 NUMBER_OF_PMTS, -0.5, NUMBER_OF_PMTS - 0.5);
129 const double y1 = h2[0]->GetBinContent(
ix,
iy);
130 const double w1 = h2[0]->GetBinError (
ix,
iy);
131 const double f1 = h2[1]->GetBinContent(
ix,
iy);
145 h1.SetBinContent(
ix, V);
147 hx.Fill(
pair.first,
pair.second, V);
148 hx.Fill(
pair.second,
pair.first, V);
152 <<
"(" <<
FILL(2,
'0') <<
pair.first <<
"," <<
FILL(2,
'0') <<
pair.second <<
")" <<
FILL() <<
' '
153 <<
"(" <<
memo.getPMTPhysicalAddress(
pair.first) <<
"," <<
memo.getPMTPhysicalAddress(
pair.second) <<
")" <<
FILL() <<
' '
154 <<
FIXED(9,2) << Y <<
' '
155 <<
FIXED(9,2) << F <<
' '
156 <<
FIXED(9,2) << V <<
' ' << (fabs(V) > 3.0 ?
"***" :
"") <<
endl);
160 setAxisLabels(hx,
"X",
memo);
161 setAxisLabels(hx,
"Y",
memo);
167 for (
int i = 0; i != 2; ++i) {
KM3NeT DAQ constants, bit handling, etc.
Data structure for detector geometry and calibration.
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.
#define MAKE_CSTRING(A)
Make C-string.
int main(int argc, char **argv)
Lookup table for PMT addresses in detector.
Lookup table for PMT addresses in optical module.
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).
KM3NeT DAQ data structures and auxiliaries.
Auxiliary data structure for sequence of same character.
Auxiliary data structure for floating point format specification.
PMT combinatorics for optical module.