28int main(
int argc,
char **argv)
54 catch(
const exception &error) {
79 TFile* in = TFile::Open(inputFile.c_str(),
"read");
82 FATAL(
"No data in inputfile " << inputFile <<
endl);
87 for (map_type::const_iterator i = parameters.begin(); i != parameters.end(); ++i) {
89 const string key = i->first;
90 const JRange_t range = i->second;
94 100, range.first, range.second);
98 NUMBER_OF_PMTS, -0.5, NUMBER_OF_PMTS - 0.5,
105 const JModule&
module = detector.at(dom);
113 const int iy = (
module.getString() - 1) * number_of_floors + module.getFloor();
115 for (
int pmt = 0; pmt != NUMBER_OF_PMTS; ++pmt) {
117 const double value =
p1->GetBinContent(pmt+1);
121 h2.SetBinContent(pmt+1,
iy, value);
127 h1.GetXaxis()->SetTitle(key.c_str());
128 h1.GetYaxis()->SetTitle(
"PMTs");
130 h2.GetXaxis()->SetTitle(
"PMT DAQ index");
134 const JModule&
module = detector.at(dom);
141 h2.GetZaxis()->SetTitle(key.c_str());
KM3NeT DAQ constants, bit handling, etc.
Data structure for detector geometry and calibration.
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
I/O formatting auxiliaries.
#define MAKE_CSTRING(A)
Make C-string.
Auxiliary class to define a range between two values.
Data structure for a composite 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.