| 2 |
#include <PscuHeader.h> |
#include <PscuHeader.h> |
| 3 |
#include <EventHeader.h> |
#include <EventHeader.h> |
| 4 |
|
|
| 5 |
|
#include <TFile.h> |
| 6 |
#include <fstream> |
#include <fstream> |
| 7 |
#include <vector> |
#include <vector> |
| 8 |
|
#include <iostream> |
| 9 |
#include <TCanvas.h> |
#include <TCanvas.h> |
| 10 |
#include <TLatex.h> |
#include <TLatex.h> |
| 11 |
#include <TLegend.h> |
#include <TLegend.h> |
| 17 |
#include <TH1.h> |
#include <TH1.h> |
| 18 |
#include <time.h> |
#include <time.h> |
| 19 |
|
|
| 20 |
#include <utils/yodaUtility.h> |
//#include <utils/yodaUtility.h> |
| 21 |
|
|
| 22 |
#define DEBUG 0 |
#define DEBUG 0 |
| 23 |
#define VERSION 1.5 |
#define VERSION 1.5 |
| 423 |
|
|
| 424 |
// MISC VARIABLES |
// MISC VARIABLES |
| 425 |
|
|
| 426 |
Double_t obt; |
UInt_t obt; |
| 427 |
Int_t hitsCARD,hitsCAT,hitsCAS; |
Int_t hitsCARD,hitsCAT,hitsCAS; |
| 428 |
Int_t interval_cnt = 0; |
Int_t interval_cnt = 0; |
| 429 |
Int_t paramEvent = 0; |
Int_t paramEvent = 0; |
| 1270 |
if (isdigit(*argv[i]) && (atoi(argv[i]) > 0)) { |
if (isdigit(*argv[i]) && (atoi(argv[i]) > 0)) { |
| 1271 |
to = atoi(argv[i]); |
to = atoi(argv[i]); |
| 1272 |
} else { |
} else { |
| 1273 |
cerr << "-to needs a integer value. \n"; |
//err << "-to needs a integer value. \n"; |
| 1274 |
cout << "Try '--help' for more information. \n"; |
cout << "Try '--help' for more information. \n"; |
| 1275 |
exit(1); |
exit(1); |
| 1276 |
} |
} |
| 1285 |
if (isdigit(*argv[i]) && (atoi(argv[i]) > 0)) { |
if (isdigit(*argv[i]) && (atoi(argv[i]) > 0)) { |
| 1286 |
from = atoi(argv[i]); |
from = atoi(argv[i]); |
| 1287 |
} else { |
} else { |
| 1288 |
cerr << "-from needs a integer value. \n"; |
//cerr << "-from needs a integer value. \n"; |
| 1289 |
cout << "Try '--help' for more information. \n"; |
cout << "Try '--help' for more information. \n"; |
| 1290 |
exit(1); |
exit(1); |
| 1291 |
} |
} |