18 |
#include <sstream> |
#include <sstream> |
19 |
#include <string> |
#include <string> |
20 |
#include <iostream> |
#include <iostream> |
21 |
|
#include <stdlib.h> |
22 |
#include <TTree.h> |
#include <TTree.h> |
23 |
#include <TClassEdit.h> |
#include <TClassEdit.h> |
24 |
#include <TObject.h> |
#include <TObject.h> |
2247 |
// |
// |
2248 |
printf(" **** STRIP: %i %i %i **** \n",l,m,n); |
printf(" **** STRIP: %i %i %i **** \n",l,m,n); |
2249 |
printf(" MIP: %f \n",calo->mip[l][m][n]); |
printf(" MIP: %f \n",calo->mip[l][m][n]); |
2250 |
printf(" ERMIP: %f \n",calo->ermip[l][m][n]); |
//printf(" ERMIP: %f \n",calo->ermip[l][m][n]); |
2251 |
printf(" FP[0-3]: %f / %f / %f / %f \n",calo->fp[0][l][m][n],calo->fp[1][l][m][n],calo->fp[2][l][m][n],calo->fp[3][l][m][n]); |
//printf(" FP[0-3]: %f / %f / %f / %f \n",calo->fp[0][l][m][n],calo->fp[1][l][m][n],calo->fp[2][l][m][n],calo->fp[3][l][m][n]); |
2252 |
printf(" FPE[0-3]: %f / %f / %f / %f \n",calo->fpe[0][l][m][n],calo->fpe[1][l][m][n],calo->fpe[2][l][m][n],calo->fpe[3][l][m][n]); |
//printf(" FPE[0-3]: %f / %f / %f / %f \n",calo->fpe[0][l][m][n],calo->fpe[1][l][m][n],calo->fpe[2][l][m][n],calo->fpe[3][l][m][n]); |
2253 |
printf(" CHI2: %f \n",calo->chi2[l][m][n]); |
//printf(" CHI2: %f \n",calo->chi2[l][m][n]); |
2254 |
printf(" NDF: %f \n",calo->ndf[l][m][n]); |
//printf(" NDF: %f \n",calo->ndf[l][m][n]); |
2255 |
printf(" MASK: %f \n",calo->mask[l][m][n]); |
//printf(" MASK: %f \n",calo->mask[l][m][n]); |
2256 |
// |
// |
2257 |
// what to do? |
// what to do? |
2258 |
// |
// |
2508 |
mg->Add(graph); |
mg->Add(graph); |
2509 |
printf(" **** STRIP: %i %i %i **** \n",l,m,n); |
printf(" **** STRIP: %i %i %i **** \n",l,m,n); |
2510 |
printf(" MIP: %f \n",calo->mip[l][m][n]); |
printf(" MIP: %f \n",calo->mip[l][m][n]); |
2511 |
printf(" ERMIP: %f \n",calo->ermip[l][m][n]); |
//printf(" ERMIP: %f \n",calo->ermip[l][m][n]); |
2512 |
printf(" FP[0-3]: %f / %f / %f / %f \n",calo->fp[0][l][m][n],calo->fp[1][l][m][n],calo->fp[2][l][m][n],calo->fp[3][l][m][n]); |
//printf(" FP[0-3]: %f / %f / %f / %f \n",calo->fp[0][l][m][n],calo->fp[1][l][m][n],calo->fp[2][l][m][n],calo->fp[3][l][m][n]); |
2513 |
printf(" FPE[0-3]: %f / %f / %f / %f \n",calo->fpe[0][l][m][n],calo->fpe[1][l][m][n],calo->fpe[2][l][m][n],calo->fpe[3][l][m][n]); |
//printf(" FPE[0-3]: %f / %f / %f / %f \n",calo->fpe[0][l][m][n],calo->fpe[1][l][m][n],calo->fpe[2][l][m][n],calo->fpe[3][l][m][n]); |
2514 |
printf(" CHI2: %f \n",calo->chi2[l][m][n]); |
//printf(" CHI2: %f \n",calo->chi2[l][m][n]); |
2515 |
printf(" NDF: %f \n",calo->ndf[l][m][n]); |
//printf(" NDF: %f \n",calo->ndf[l][m][n]); |
2516 |
printf(" MASK: %f \n",calo->mask[l][m][n]); |
//printf(" MASK: %f \n",calo->mask[l][m][n]); |
2517 |
n++; |
n++; |
2518 |
}; |
}; |
2519 |
l++; |
l++; |