/[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.19 by pam-fi, Thu Oct 12 16:58:34 2006 UTC revision 1.21 by pam-fi, Mon Oct 30 17:45:36 2006 UTC
# Line 2  Line 2 
2   * FTrkQLook_EXPERT.cxx   * FTrkQLook_EXPERT.cxx
3   *   *
4   * autor: D.Fedele   * autor: D.Fedele
5   * version v1r14   * version v1r15
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 466  void FTrkQLook_EXPERT(TString file,Int_t Line 466  void FTrkQLook_EXPERT(TString file,Int_t
466        pad6[i]->cd();        pad6[i]->cd();
467        temp[i][ii]= new TGraph(v,xt_tmp,tempt_tmp);        temp[i][ii]= new TGraph(v,xt_tmp,tempt_tmp);
468        temp[i][ii]->SetTitle(tit.str().c_str());        temp[i][ii]->SetTitle(tit.str().c_str());
469        if(v==1) temp[i][ii]->GetXaxis()->SetNdivisions(502,kTRUE);        if(v==1) temp[i][ii]->GetXaxis()->SetNdivisions(-501);
470        temp[i][ii]->GetXaxis()->SetLabelSize(0.04);        temp[i][ii]->GetXaxis()->SetLabelSize(0.04);
471        temp[i][ii]->GetXaxis()->SetTitleSize(0.04);        temp[i][ii]->GetXaxis()->SetTitleSize(0.04);
472        temp[i][ii]->GetXaxis()->SetTitle("OBT (ms)");        temp[i][ii]->GetXaxis()->SetTitle("OBT (ms)");
# Line 575  void FTrkQLook_EXPERT(TString file,Int_t Line 575  void FTrkQLook_EXPERT(TString file,Int_t
575        pad7[i]->cd();        pad7[i]->cd();
576        mag[i][ii]= new TGraph(v,xb_tmp,magt_tmp);        mag[i][ii]= new TGraph(v,xb_tmp,magt_tmp);
577        mag[i][ii]->SetTitle(tit.str().c_str());        mag[i][ii]->SetTitle(tit.str().c_str());
578        mag[i][ii]->GetXaxis()->SetNdivisions(502,kTRUE);        if(v==1) mag[i][ii]->GetXaxis()->SetNdivisions(-501);
579        mag[i][ii]->GetXaxis()->SetLabelSize(0.04);        mag[i][ii]->GetXaxis()->SetLabelSize(0.04);
580        mag[i][ii]->GetXaxis()->SetTitleSize(0.04);        mag[i][ii]->GetXaxis()->SetTitleSize(0.04);
581        mag[i][ii]->GetXaxis()->SetTitle("OBT (ms)");        mag[i][ii]->GetXaxis()->SetTitle("OBT (ms)");
582        mag[i][ii]->GetXaxis()->CenterTitle();        mag[i][ii]->GetXaxis()->CenterTitle();
583        mag[i][ii]->GetXaxis()->SetTitleOffset(0.85);        mag[i][ii]->GetXaxis()->SetTitleOffset(0.85);
584        if(i!=4) mag[i][ii]->GetYaxis()->SetRangeUser(2047,2058);        if(i!=4) mag[i][ii]->GetYaxis()->SetRangeUser(2047,2058);
585        else mag[i][ii]->GetYaxis()->SetRangeUser(2060,2067);        else mag[i][ii]->GetYaxis()->SetRangeUser(2059,2067);
586        mag[i][ii]->GetYaxis()->SetTitleOffset(1.2);        mag[i][ii]->GetYaxis()->SetTitleOffset(1.2);
587        mag[i][ii]->GetYaxis()->SetLabelOffset(0.001);        mag[i][ii]->GetYaxis()->SetLabelOffset(0.001);
588        mag[i][ii]->GetYaxis()->SetLabelSize(0.03);        mag[i][ii]->GetYaxis()->SetLabelSize(0.03);
# Line 631  void FTrkQLook_EXPERT(TString file,Int_t Line 631  void FTrkQLook_EXPERT(TString file,Int_t
631    
632        case 4:        case 4:
633          li.DrawLine(min,2066.,max,2066.);          li.DrawLine(min,2066.,max,2066.);
634          li.DrawLine(min,2061.,max,2061.);          li.DrawLine(min,2060.,max,2060.);
635          t1->DrawLatex(xlat,2066.15,ma.str().c_str());          t1->DrawLatex(xlat,2066.15,ma.str().c_str());
636          t1->DrawLatex(xlat,2060.85,mi.str().c_str());          t1->DrawLatex(xlat,2059.85,mi.str().c_str());
637          break;          break;
638    
639        }        }
# Line 1082  void FTrkQLook_EXPERT(TString file,Int_t Line 1082  void FTrkQLook_EXPERT(TString file,Int_t
1082      illuminazione[i]->GetXaxis()->SetTitle("strip with max signal");      illuminazione[i]->GetXaxis()->SetTitle("strip with max signal");
1083      illuminazione[i]->GetXaxis()->CenterTitle();      illuminazione[i]->GetXaxis()->CenterTitle();
1084      illuminazione[i]->Draw("");      illuminazione[i]->Draw("");
1085      if(i==1){      if(i==0){
1086          maxhist= illuminazione[i]->GetMaximum();
1087          b.SetFillColor(107);
1088          b.SetFillStyle(3954);
1089          b.DrawBox(768.,0.,2047.,maxhist);
1090        }
1091        else if(i==1){
1092        maxhist= illuminazione[i]->GetMaximum();        maxhist= illuminazione[i]->GetMaximum();
1093        b.SetFillColor(6);        b.SetFillColor(6);
1094        b.SetFillStyle(3945);        b.SetFillStyle(3945);

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

  ViewVC Help
Powered by ViewVC 1.1.23