/[PAMELA software]/calo/flight/FQLOOK/macros/FCaloCHKCALIB.cxx
ViewVC logotype

Diff of /calo/flight/FQLOOK/macros/FCaloCHKCALIB.cxx

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

revision 1.14 by mocchiut, Wed Jul 18 07:51:03 2007 UTC revision 1.16 by mocchiut, Mon Sep 22 20:12:27 2008 UTC
# Line 34  Line 34 
34  #include <iostream>  #include <iostream>
35  #include <fstream>  #include <fstream>
36  //  //
37    #include <TROOT.h>
38  #include <TTree.h>  #include <TTree.h>
39  #include <TObject.h>  #include <TObject.h>
40  #include <TString.h>  #include <TString.h>
# Line 591  void FCaloCHKCALIB(TString filename, Lon Line 592  void FCaloCHKCALIB(TString filename, Lon
592                incalvar++;                incalvar++;
593              };              };
594              calbase->Fill((float)g,(float)calib.calbase[l][m][n]);//controlla baseline                                                                calbase->Fill((float)g,(float)calib.calbase[l][m][n]);//controlla baseline                                                  
595              if ( calib.calbase[l][m][n] > 4500. || calib.calbase[l][m][n] < 2000. ){              if ( calib.calbase[l][m][n] > 5500. || calib.calbase[l][m][n] < 2000. ){
596                outcalbas++;                outcalbas++;
597              } else {              } else {
598                incalbas++;                incalbas++;
# Line 943  void FCaloCHKCALIB(TString filename, Lon Line 944  void FCaloCHKCALIB(TString filename, Lon
944      calbase->SetYTitle("ADC channels");      calbase->SetYTitle("ADC channels");
945      calbase->Draw();      calbase->Draw();
946      Double_t xg[4] = {0.,264.,264.,0.};      Double_t xg[4] = {0.,264.,264.,0.};
947      Double_t yg[4] = {2000.,2000.,4500.,4500.};      Double_t yg[4] = {2000.,2000.,5500.,5500.};
948      banda1 = new TPolyLine(4,xg,yg);      banda1 = new TPolyLine(4,xg,yg);
949      banda1->SetLineColor(5);      banda1->SetLineColor(5);
950      banda1->SetFillColor(5);      banda1->SetFillColor(5);

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

  ViewVC Help
Powered by ViewVC 1.1.23