/[PAMELA software]/quicklook/tracker/flight/macros/FTrkQLook_BASIC.cxx
ViewVC logotype

Diff of /quicklook/tracker/flight/macros/FTrkQLook_BASIC.cxx

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

revision 1.16 by pam-fi, Tue Feb 20 21:57:28 2007 UTC revision 1.17 by pam-fi, Mon Feb 26 16:41:05 2007 UTC
# Line 2  Line 2 
2   * FTrkQLook_BASIC.cxx   * FTrkQLook_BASIC.cxx
3   *   *
4   * autor: D.Fedele   * autor: D.Fedele
5   * version v1r10   * version v1r11
6   * Parameters:   * Parameters:
7   *      file - the data file to analyze   *      file - the data file to analyze
8   *      fromevent - first event to analyze   *      fromevent - first event to analyze
# Line 263  void FTrkQLook_BASIC(TString file,Int_t Line 263  void FTrkQLook_BASIC(TString file,Int_t
263      Long64_t  x[MAXSTORAGE], xb[MAXSTORAGE];      Long64_t  x[MAXSTORAGE], xb[MAXSTORAGE];
264      Float_t yyd[MAXSTORAGE][12],yyb[MAXSTORAGE][12];      Float_t yyd[MAXSTORAGE][12],yyb[MAXSTORAGE][12];
265      Int_t countbad[12];      Int_t countbad[12];
266      Float_t perc=0,xMIN=0.,xMAX=0.;      Float_t perc=0;
267        Double_t xMIN=0.,xMAX=0.;
268      for (Int_t n=0; n<12 ; n++)      for (Int_t n=0; n<12 ; n++)
269        countbad[n]=0;        countbad[n]=0;
270    
# Line 333  void FTrkQLook_BASIC(TString file,Int_t Line 334  void FTrkQLook_BASIC(TString file,Int_t
334    
335      xMAX=x[maxev-minev-1]+(x[maxev-minev-1]-x[0])/10;      xMAX=x[maxev-minev-1]+(x[maxev-minev-1]-x[0])/10;
336      if(xMAX>1000000) xMIN=x[0]-(x[maxev-minev-1]-x[0])/10;      if(xMAX>1000000) xMIN=x[0]-(x[maxev-minev-1]-x[0])/10;
337      if(xMAX<1000000 || xMIN<0) xMIN=0.;            if(xMAX<1000000 || xMIN<0) xMIN=0.;    
338        if(xMIN==xMAX) xMIN=x[0] * x[0]/xMAX;    
339                    
340            
341      //      //

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.23