| 36 |
// |
// |
| 37 |
#include <iostream> |
#include <iostream> |
| 38 |
#include <fstream> |
#include <fstream> |
| 39 |
|
#include <cstdlib> |
| 40 |
// |
// |
| 41 |
#include <TObject.h> |
#include <TObject.h> |
| 42 |
#include <TString.h> |
#include <TString.h> |
| 43 |
#include <TFile.h> |
#include <TFile.h> |
| 44 |
|
#include <TROOT.h> |
| 45 |
#include <TCanvas.h> |
#include <TCanvas.h> |
| 46 |
#include <TH1.h> |
#include <TH1.h> |
| 47 |
#include <TH1F.h> |
#include <TH1F.h> |
| 57 |
#include <physics/calorimeter/CalorimeterEvent.h> |
#include <physics/calorimeter/CalorimeterEvent.h> |
| 58 |
// |
// |
| 59 |
#include <FCaloQLOOKfun.h> |
#include <FCaloQLOOKfun.h> |
| 60 |
|
#include <sys/stat.h> |
| 61 |
|
#include <cstdlib> |
| 62 |
// |
// |
| 63 |
using namespace std; |
using namespace std; |
| 64 |
// |
// |
| 195 |
return; |
return; |
| 196 |
}; |
}; |
| 197 |
Int_t const size = nevents; |
Int_t const size = nevents; |
| 198 |
Double_t iev2[size+1]; |
// Double_t iev2[size+1]; |
| 199 |
//aumentata la lunghezza di ver, prima era 23 |
//aumentata la lunghezza di ver, prima era 23 |
| 200 |
Int_t ver[4][24], lver[4][23],shit[4][11], rshit[4][11], se,bl, pl, fulldiff[4],cshit, cpre[4],nullsh[4][11], lalarm[4]; |
Int_t ver[4][24], lver[4][23],shit[4][11], rshit[4][11], se,bl, pl, fulldiff[4],cshit, cpre[4],nullsh[4][11], lalarm[4]; |
| 201 |
se = 0; |
se = 0; |
| 204 |
Int_t tshit, trshit, compdata,rawdata, errorfull, calevn1, calevn2, calevn3, calevn4, pshit[4][11]; |
Int_t tshit, trshit, compdata,rawdata, errorfull, calevn1, calevn2, calevn3, calevn4, pshit[4][11]; |
| 205 |
tshit = 0; |
tshit = 0; |
| 206 |
trshit = 0; |
trshit = 0; |
| 207 |
char *sezione; |
const char *sezione = ""; |
| 208 |
Bool_t check = false; |
Bool_t check = false; |
| 209 |
sezione = ""; |
// sezione = ""; |
| 210 |
stringstream errore; |
stringstream errore; |
| 211 |
errore.str(""); |
errore.str(""); |
| 212 |
// |
// |
| 387 |
trshit = 0; |
trshit = 0; |
| 388 |
tr->GetEntry(i); |
tr->GetEntry(i); |
| 389 |
|
|
| 390 |
iev2[i] = ce->iev; |
// iev2[i] = ce->iev; |
| 391 |
// |
// |
| 392 |
ph = eh->GetPscuHeader(); |
ph = eh->GetPscuHeader(); |
| 393 |
headco = headc; |
headco = headc; |