31 int main(
int argc,
char **argv)
37 JMultipleFileScanner<JDAQSummaryslice> inputFile;
43 JParser<> zap(
"Monitoring of PMT time over threshold distributions.");
50 catch(
const exception &error) {
51 FATAL(error.what() << endl);
58 const double factor = 1.0/1000 ;
59 const int Nbins = 90 ;
63 while (inputFile.hasNext()) {
65 STATUS(
"event: " << setw(10) << inputFile.getCounter() <<
'\r');
DEBUG(endl);
69 for (KM3NETDAQ::JDAQSummaryslice::const_iterator summary_frame = summary->begin(); summary_frame != summary->end(); ++summary_frame) {
71 int DOMID = summary_frame->getModuleID() ;
72 TH2D* h_i = SinglesRatedistr[DOMID] ;
75 h_i->
Fill(ipmt, summary_frame->getRate(ipmt, factor), summary_frame->getWeight(ipmt, factor));
85 SinglesRatedistr.
Write(out) ;