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

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

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

revision 1.19 by mocchiut, Fri Jan 26 11:57:59 2007 UTC revision 1.21 by mocchiut, Wed Jul 18 07:57:13 2007 UTC
# Line 86  TString getFilename(const TString filena Line 86  TString getFilename(const TString filena
86    } else {    } else {
87      Int_t posiz2 = 0;      Int_t posiz2 = 0;
88      stringcopy(file2,gSystem->BaseName(filename.Data()),posiz2,posiz);      stringcopy(file2,gSystem->BaseName(filename.Data()),posiz2,posiz);
89      TString pdat(".dat");      TString pdat(".pam");
90      stringappend(file2,pdat);        stringappend(file2,pdat);  
91    };    };
92    return file2;    return file2;
# Line 527  void FCaloQLOOK(TString filename, Int_t Line 527  void FCaloQLOOK(TString filename, Int_t
527              //              //
528              if ( !bdone ){              if ( !bdone ){
529                Baseline->Fill(ce->base[l][ii][bl]);                Baseline->Fill(ce->base[l][ii][bl]);
530                if ( ce->base[l][ii][bl] > 2000. && ce->base[l][ii][bl] < 4500. ){                if ( ce->base[l][ii][bl] > 2000. && ce->base[l][ii][bl] < 5500. ){
531                  inbase++;                  inbase++;
532                } else {                } else {
533                  outbase++;                  outbase++;
# Line 1080  void FCaloQLOOK(TString filename, Int_t Line 1080  void FCaloQLOOK(TString filename, Int_t
1080      Baseline->SetYTitle("Number of events");      Baseline->SetYTitle("Number of events");
1081      Baseline->Draw();      Baseline->Draw();
1082      h1max = Baseline->GetMaximum()*1.05;      h1max = Baseline->GetMaximum()*1.05;
1083      Double_t xc[4] = {2000.,4500.,4500.,2000.};      Double_t xc[4] = {2000.,5500.,5500.,2000.};
1084      Double_t yc[4] = {0.,0.,h1max,h1max};      Double_t yc[4] = {0.,0.,h1max,h1max};
1085      banda1 = new TPolyLine(4,xc,yc);      banda1 = new TPolyLine(4,xc,yc);
1086      banda1->SetLineColor(5);      banda1->SetLineColor(5);

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.23