/[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.14 by pam-fi, Tue Aug 22 15:47:49 2006 UTC revision 1.16 by pam-fi, Mon Aug 28 14:33:19 2006 UTC
# Line 2  Line 2 
2   * FTrkQLook_EXPERT.cxx   * FTrkQLook_EXPERT.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_EXPERT(TString file,Int_t Line 263  void FTrkQLook_EXPERT(TString file,Int_t
263        alarm1 << "================================================="<< endl<<endl;        alarm1 << "================================================="<< endl<<endl;
264                    
265        alarm1 << "Alarm variables (range 0-1)"<<endl;        alarm1 << "Alarm variables (range 0-1)"<<endl;
266        alarm1 << " ALARM[1]= 0x"<< hex << (Int_t)al->ALARM[1]<<endl;        alarm1 << " ALARM[1]= 0x"<< hex << (Int_t)al->ALARM[0]<<endl;
267        alarm1 << " ALARM[2]= 0x"<< (Int_t)al->ALARM[2]<<endl;        alarm1 << " ALARM[2]= 0x"<< (Int_t)al->ALARM[1]<<endl;
268        alarm1 << " CmdDuringTrig= 0x"<< (Int_t)al->CmdDuringTrig<<endl;        alarm1 << " CmdDuringTrig= 0x"<< (Int_t)al->CmdDuringTrig<<endl;
269        alarm1 << " FinalCheck= 0x"<< (Int_t)al->FinalCheck<<endl;        alarm1 << " FinalCheck= 0x"<< (Int_t)al->FinalCheck<<endl;
270        alarm1 << " FlashData= 0x"<< (Int_t)al->FlashData<<endl;        alarm1 << " FlashData= 0x"<< (Int_t)al->FlashData<<endl;
# Line 463  void FTrkQLook_EXPERT(TString file,Int_t Line 463  void FTrkQLook_EXPERT(TString file,Int_t
463        pad6[i]->cd();        pad6[i]->cd();
464        temp[i][ii]= new TGraph(v,xt_tmp,tempt_tmp);        temp[i][ii]= new TGraph(v,xt_tmp,tempt_tmp);
465        temp[i][ii]->SetTitle(tit.str().c_str());        temp[i][ii]->SetTitle(tit.str().c_str());
466          if(v==1) temp[i][ii]->GetXaxis()->SetNdivisions(502,kTRUE);
467        temp[i][ii]->GetXaxis()->SetLabelSize(0.04);        temp[i][ii]->GetXaxis()->SetLabelSize(0.04);
468        temp[i][ii]->GetXaxis()->SetTitleSize(0.04);        temp[i][ii]->GetXaxis()->SetTitleSize(0.04);
469        temp[i][ii]->GetXaxis()->SetTitle("OBT (ms)");        temp[i][ii]->GetXaxis()->SetTitle("OBT (ms)");
# Line 578  void FTrkQLook_EXPERT(TString file,Int_t Line 579  void FTrkQLook_EXPERT(TString file,Int_t
579        mag[i][ii]->GetXaxis()->CenterTitle();        mag[i][ii]->GetXaxis()->CenterTitle();
580        mag[i][ii]->GetXaxis()->SetTitleOffset(0.85);        mag[i][ii]->GetXaxis()->SetTitleOffset(0.85);
581        if(i!=4) mag[i][ii]->GetYaxis()->SetRangeUser(2047,2058);        if(i!=4) mag[i][ii]->GetYaxis()->SetRangeUser(2047,2058);
582        else mag[i][ii]->GetYaxis()->SetRangeUser(2060,2066);        else mag[i][ii]->GetYaxis()->SetRangeUser(2060,2067);
583        mag[i][ii]->GetYaxis()->SetTitleOffset(1.2);        mag[i][ii]->GetYaxis()->SetTitleOffset(1.2);
584        mag[i][ii]->GetYaxis()->SetLabelOffset(0.001);        mag[i][ii]->GetYaxis()->SetLabelOffset(0.001);
585        mag[i][ii]->GetYaxis()->SetLabelSize(0.03);        mag[i][ii]->GetYaxis()->SetLabelSize(0.03);
# Line 626  void FTrkQLook_EXPERT(TString file,Int_t Line 627  void FTrkQLook_EXPERT(TString file,Int_t
627            break;            break;
628    
629          case 4:          case 4:
630            li.DrawLine(min,2065.,max,2065.);            li.DrawLine(min,2066.,max,2066.);
631            li.DrawLine(min,2061.,max,2061.);            li.DrawLine(min,2061.,max,2061.);
632            t1->DrawLatex(xlat,2065.15,ma.str().c_str());            t1->DrawLatex(xlat,2066.15,ma.str().c_str());
633            t1->DrawLatex(xlat,2060.85,mi.str().c_str());            t1->DrawLatex(xlat,2060.85,mi.str().c_str());
634            break;            break;
635    
# Line 1059  void FTrkQLook_EXPERT(TString file,Int_t Line 1060  void FTrkQLook_EXPERT(TString file,Int_t
1060        b.SetFillColor(6);        b.SetFillColor(6);
1061        b.SetFillStyle(3945);        b.SetFillStyle(3945);
1062        b.DrawBox(2560.,0.,2816.,maxhist);        b.DrawBox(2560.,0.,2816.,maxhist);
1063        b.DrawBox(1024.,0.,1792.,maxhist);        b.DrawBox(1024.,0.,1535.,maxhist);
1064    
1065        b.SetFillColor(107);        b.SetFillColor(107);
1066        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1067        b.DrawBox(512.,0.,768.,maxhist);        b.DrawBox(512.,0.,768.,maxhist);
1068          b.DrawBox(1536.,0.,1792.,maxhist);
1069      }      }
1070      else if(i==7){      else if(i==7){
1071        maxhist= illuminazione[i]->GetMaximum();        maxhist= illuminazione[i]->GetMaximum();

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

  ViewVC Help
Powered by ViewVC 1.1.23