/[PAMELA software]/calo/flight/FUTILITIES/macros/FCaloADC2MIP.cxx
ViewVC logotype

Diff of /calo/flight/FUTILITIES/macros/FCaloADC2MIP.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mocchiut, Mon Sep 22 20:18:43 2008 UTC revision 1.5 by mocchiut, Thu Jan 23 11:23:56 2014 UTC
# Line 18  Line 18 
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>
# Line 2246  void FCalo4224FIT(TString filename = "", Line 2247  void FCalo4224FIT(TString filename = "",
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          //          //
# Line 2507  void FCalo4224MIPVALUES(TString filevalu Line 2508  void FCalo4224MIPVALUES(TString filevalu
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++;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23