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

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

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

revision 1.16 by pam-fi, Mon Aug 28 14:33:19 2006 UTC revision 1.17 by pam-fi, Mon Sep 18 15:01:56 2006 UTC
# Line 2  Line 2 
2   * FTrkQLook_EXPERT.cxx   * FTrkQLook_EXPERT.cxx
3   *   *
4   * autor: D.Fedele   * autor: D.Fedele
5   * version v1r11   * version v1r12
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 136  void FTrkQLook_EXPERT(TString file,Int_t Line 136  void FTrkQLook_EXPERT(TString file,Int_t
136      } else if (toevent > nevent) {              } else if (toevent > nevent) {        
137        maxevent = nevent;        maxevent = nevent;
138      } else {            } else {      
139        maxevent = toevent+1;          maxevent = nevent;  
140      }      }
141      nevent=maxevent-minevent ;      nevent=maxevent-minevent ;
142    }    }
# Line 871  void FTrkQLook_EXPERT(TString file,Int_t Line 871  void FTrkQLook_EXPERT(TString file,Int_t
871        CompTimeCanv[ii]->Update();        CompTimeCanv[ii]->Update();
872      }      }
873        
874        
875      EventNumCanv[ii]->cd();      EventNumCanv[ii]->cd();
876      pt = new TPad("pt"," ",0.02,0.01,1.,0.98,18,0,0);      pt = new TPad("pt"," ",0.02,0.01,1.,0.98,18,0,0);
877      pt->SetFillColor(10);      pt->SetFillColor(10);
# Line 893  void FTrkQLook_EXPERT(TString file,Int_t Line 894  void FTrkQLook_EXPERT(TString file,Int_t
894      eventnumb[ii]->SetMarkerStyle(21);      eventnumb[ii]->SetMarkerStyle(21);
895      eventnumb[ii]->SetMarkerColor(kBlue);      eventnumb[ii]->SetMarkerColor(kBlue);
896      eventnumb[ii]->SetMarkerSize(0.2);      eventnumb[ii]->SetMarkerSize(0.2);
897        oss1.str("");
898        oss1<<"number of events in this graph: "<<maxev-minev;
899        t->SetTextColor(kBlue);
900        t->SetTextSize(0.02);
901        double xtex=0,ytex=0;
902        xtex=x[maxev-minev-1]-(x[maxev-minev-1]-x[0])/3;
903        ytex=1000.+eventnumb[ii]->GetYaxis()->GetXmax();
904        t->DrawLatex(xtex,ytex,oss1.str().c_str());
905        oss1.str("");  
906      eventnumb[ii]->Draw("ap");      eventnumb[ii]->Draw("ap");
907      EventNumCanv[ii]->Update();      EventNumCanv[ii]->Update();
908            
# Line 904  void FTrkQLook_EXPERT(TString file,Int_t Line 914  void FTrkQLook_EXPERT(TString file,Int_t
914            
915    }    }
916    
   
917    alarm.close();    alarm.close();
918    
919    //****************************************************************************************    //****************************************************************************************
# Line 1083  void FTrkQLook_EXPERT(TString file,Int_t Line 1092  void FTrkQLook_EXPERT(TString file,Int_t
1092        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1093        b.DrawBox(0.,0.,512.,maxhist);        b.DrawBox(0.,0.,512.,maxhist);
1094        b.DrawBox(1920.,0.,2048.,maxhist);        b.DrawBox(1920.,0.,2048.,maxhist);
1095          b.DrawBox(2176.,0.,2304.,maxhist);
1096      }      }
1097      IlluminaCanv->Update();      IlluminaCanv->Update();
1098    }    }
# Line 1098  void FTrkQLook_EXPERT(TString file,Int_t Line 1108  void FTrkQLook_EXPERT(TString file,Int_t
1108    else if(cntpgtemp<=cntpgdat) totpg=cntpgdat;    else if(cntpgtemp<=cntpgdat) totpg=cntpgdat;
1109    
1110    for(Int_t fl=0;fl<totpg;fl++){    for(Int_t fl=0;fl<totpg;fl++){
1111    
1112      if(!strcmp(outfile.Data(),"ps")||!strcmp(outfile.Data(),"pdf")){      if(!strcmp(outfile.Data(),"ps")||!strcmp(outfile.Data(),"pdf")){
1113        out1.str("");        out1.str("");
1114        out2.str("");        out2.str("");

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

  ViewVC Help
Powered by ViewVC 1.1.23