From be1e47e4809953452af921bd6e2657665ed99b67 Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Thu, 23 Nov 2017 10:10:08 +0100 Subject: [PATCH] for PSI-BIN/MDU: fixed wrong last good bin, and added number of events per histo. --- src/dump_header.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dump_header.cpp b/src/dump_header.cpp index 009d5295..aa69fafc 100644 --- a/src/dump_header.cpp +++ b/src/dump_header.cpp @@ -398,7 +398,8 @@ int dump_header_psi_bin(const string fileName, const string fileFormat) cout << endl << "Histo Length : " << psiBin.get_histoLength_bin(); cout << endl << "Time Zero Bin : " << psiBin.get_t0_int(i); cout << endl << "First Good Bin : " << psiBin.get_firstGood_int(i); - cout << endl << "Last Good Bin : " << psiBin.get_firstGood_int(i); + cout << endl << "Last Good Bin : " << psiBin.get_lastGood_int(i); + cout << endl << "No of Events : " << psiBin.get_eventsHisto_long(i); } cout << endl << "-------------------" << endl << endl;