/[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.32 by pam-fi, Mon May 28 10:27:51 2007 UTC revision 1.33 by pam-fi, Mon Jul 30 14:23:02 2007 UTC
# Line 1  Line 1 
1    
2  /**  /**
3   * FTrkQLook_EXPERT.cxx   * FTrkQLook_EXPERT.cxx
4   *   *
5   * autor: D.Fedele   * autor: D.Fedele
6   * version v1r26   * version v1r27
7   * Parameters:   * Parameters:
8   *      file - the data file to analyze   *      file - the data file to analyze
9   *      fromevent - first event to analyze   *      fromevent - first event to analyze
# Line 620  void FTrkQLook_EXPERT(TString file,Int_t Line 621  void FTrkQLook_EXPERT(TString file,Int_t
621    
622        case 1:        case 1:
623          li.DrawLine(min,2055.,max,2055.);          li.DrawLine(min,2055.,max,2055.);
624          li.DrawLine(min,2050.,max,2050.);          li.DrawLine(min,2049.,max,2049.);
625          t1->DrawLatex(xlat,2055.3,ma.str().c_str());          t1->DrawLatex(xlat,2055.3,ma.str().c_str());
626          t1->DrawLatex(xlat,2049.7,mi.str().c_str());          t1->DrawLatex(xlat,2048.7,mi.str().c_str());
627          break;          break;
628    
629        case 2:        case 2:
630          li.DrawLine(min,2056.,max,2056.);          li.DrawLine(min,2056.,max,2056.);
631          li.DrawLine(min,2051.,max,2051.);          li.DrawLine(min,2050.,max,2050.);
632          t1->DrawLatex(xlat,2056.3,ma.str().c_str());          t1->DrawLatex(xlat,2056.3,ma.str().c_str());
633          t1->DrawLatex(xlat,2050.7,mi.str().c_str());          t1->DrawLatex(xlat,2049.7,mi.str().c_str());
634          break;          break;
635                
636        case 3:        case 3:
637          li.DrawLine(min,2057.,max,2057.);          li.DrawLine(min,2057.,max,2057.);
638          li.DrawLine(min,2052.,max,2052.);          li.DrawLine(min,2051.,max,2051.);
639          t1->DrawLatex(xlat,2057.3,ma.str().c_str());          t1->DrawLatex(xlat,2057.3,ma.str().c_str());
640          t1->DrawLatex(xlat,2051.7,mi.str().c_str());          t1->DrawLatex(xlat,2050.7,mi.str().c_str());
641          break;          break;
642    
643        case 4:        case 4:
644          li.DrawLine(min,2066.,max,2066.);          li.DrawLine(min,2066.,max,2066.);
645          li.DrawLine(min,2060.,max,2060.);          li.DrawLine(min,2060.,max,2060.);
646          t1->DrawLatex(xlat,2066.15,ma.str().c_str());          t1->DrawLatex(xlat,2066.2,ma.str().c_str());
647          t1->DrawLatex(xlat,2059.85,mi.str().c_str());          t1->DrawLatex(xlat,2059.8,mi.str().c_str());
648          break;          break;
649    
650        }        }
# Line 1110  void FTrkQLook_EXPERT(TString file,Int_t Line 1111  void FTrkQLook_EXPERT(TString file,Int_t
1111    t1->DrawLatex(70.,98.7,isfile.str().c_str());    t1->DrawLatex(70.,98.7,isfile.str().c_str());
1112    isfile.str("");    isfile.str("");
1113        
1114      isfile<<"Boxes so colored point out chips broken before the launch and never resumed";
1115      t->SetTextColor(6);
1116      t->SetTextSize(0.018);
1117      t->DrawLatex(7.,97.2,isfile.str().c_str());
1118      isfile.str("");
1119      
1120      isfile<<"Boxes so colored point out anomalous chips (not necessarily broken)";
1121      t->SetTextColor(107);
1122      t->DrawLatex(7.,95.7,isfile.str().c_str());
1123      isfile.str("");
1124      t->SetTextColor(1);
1125    
1126    //    //
1127    // Draw the histos    // Draw the histos
1128    for (Int_t i=0; i<12 ; i++){    for (Int_t i=0; i<12 ; i++){
# Line 1179  void FTrkQLook_EXPERT(TString file,Int_t Line 1192  void FTrkQLook_EXPERT(TString file,Int_t
1192        b.SetFillColor(107);        b.SetFillColor(107);
1193        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1194        b.DrawBox(384.,0.,512.,maxhist);        b.DrawBox(384.,0.,512.,maxhist);
1195          b.DrawBox(896.,0.,1024.,maxhist);
1196        b.DrawBox(2048.,0.,2432.,maxhist);        b.DrawBox(2048.,0.,2432.,maxhist);
1197        b.DrawBox(2816.,0.,2944.,maxhist);        b.DrawBox(2816.,0.,2944.,maxhist);
1198      }      }
# Line 1196  void FTrkQLook_EXPERT(TString file,Int_t Line 1210  void FTrkQLook_EXPERT(TString file,Int_t
1210      else if(i==5){      else if(i==5){
1211        b.SetFillColor(107);        b.SetFillColor(107);
1212        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1213        b.DrawBox(896.,0.,1024.,maxhist);              b.DrawBox(896.,0.,1024.,maxhist);
1214          //      b.DrawBox(1664.,0.,1792.,maxhist);      
1215      }      }
1216      else if(i==6){      else if(i==6){
1217        b.SetFillColor(107);        b.SetFillColor(107);
# Line 1226  void FTrkQLook_EXPERT(TString file,Int_t Line 1241  void FTrkQLook_EXPERT(TString file,Int_t
1241        b.DrawBox(512.,0.,640.,maxhist);        b.DrawBox(512.,0.,640.,maxhist);
1242        b.DrawBox(896.,0.,1024.,maxhist);        b.DrawBox(896.,0.,1024.,maxhist);
1243        b.DrawBox(1280.,0.,1535.,maxhist);        b.DrawBox(1280.,0.,1535.,maxhist);
1244        b.DrawBox(1792.,0.,1920.,maxhist);        b.DrawBox(1664.,0.,1920.,maxhist);
1245      }      }
1246      else if(i==10){      else if(i==10){
1247        b.SetFillColor(107);        b.SetFillColor(107);
1248        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1249        b.DrawBox(0.,0.,256.,maxhist);        b.DrawBox(0.,0.,512.,maxhist);
1250        b.DrawBox(1024.,0.,1152.,maxhist);        b.DrawBox(1024.,0.,3070.,maxhist);
       b.DrawBox(1768.,0.,3070.,maxhist);  
1251      }      }
1252      else if(i==11){      else if(i==11){
1253        b.SetFillColor(6);        b.SetFillColor(6);

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

  ViewVC Help
Powered by ViewVC 1.1.23