main in moenchReadDataMT [multi threading]

This commit is contained in:
cartier_s
2015-05-28 14:28:17 +02:00
parent c9269d0f21
commit 7e8cf810fb
3 changed files with 37 additions and 6 deletions

View File

@ -16,6 +16,7 @@
#include <fstream>
#include "moench02ModuleData.h"
#include "moenchCommonMode.h"
#define MYROOT1
#include "singlePhotonDetector.h"
//#include "MovingStat.h"
@ -26,7 +27,7 @@ using namespace std;
#define NR 160
#define MY_DEBUG 1
//#define MY_DEBUG 1
#ifdef MY_DEBUG
#include <TCanvas.h>
#endif
@ -215,7 +216,7 @@ THStack *moenchReadData(char *fformat, char *tit, int runmin, int runmax, int nb
#endif
nf++;
cout << "=" ;
cout << "=" << decoder->getFrameNumber(buff);
delete [] buff;
}
cout << nph << endl;