/[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.24 by pam-fi, Wed Dec 6 10:06:27 2006 UTC revision 1.30 by pam-fi, Mon Feb 26 16:41:06 2007 UTC
# Line 2  Line 2 
2   * FTrkQLook_EXPERT.cxx   * FTrkQLook_EXPERT.cxx
3   *   *
4   * autor: D.Fedele   * autor: D.Fedele
5   * version v1r18   * version v1r24
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 970  void FTrkQLook_EXPERT(TString file,Int_t Line 970  void FTrkQLook_EXPERT(TString file,Int_t
970        comprtime[i][ii]->GetXaxis()->CenterTitle();        comprtime[i][ii]->GetXaxis()->CenterTitle();
971        comprtime[i][ii]->GetYaxis()->SetTitle("compressiontime (ms)");        comprtime[i][ii]->GetYaxis()->SetTitle("compressiontime (ms)");
972        comprtime[i][ii]->GetYaxis()->CenterTitle();        comprtime[i][ii]->GetYaxis()->CenterTitle();
973          if(maxev-minev==1) comprtime[i][ii]->GetXaxis()->SetNdivisions(-501);
974        // comprtime[i][ii]->GetYaxis()->SetRangeUser(0,3);        // comprtime[i][ii]->GetYaxis()->SetRangeUser(0,3);
975        comprtime[i][ii]->Draw("ap");        comprtime[i][ii]->Draw("ap");
976        oss1.str("");        oss1.str("");
# Line 995  void FTrkQLook_EXPERT(TString file,Int_t Line 996  void FTrkQLook_EXPERT(TString file,Int_t
996      eventnumb[ii]->GetYaxis()->SetTitleSize(0.03);      eventnumb[ii]->GetYaxis()->SetTitleSize(0.03);
997      eventnumb[ii]->GetYaxis()->SetTitle("DSP event-number");      eventnumb[ii]->GetYaxis()->SetTitle("DSP event-number");
998      eventnumb[ii]->GetYaxis()->CenterTitle();      eventnumb[ii]->GetYaxis()->CenterTitle();
999        if(maxev-minev==1) eventnumb[ii]->GetXaxis()->SetNdivisions(-501);
1000      eventnumb[ii]->GetYaxis()->SetTitleOffset(2.);      eventnumb[ii]->GetYaxis()->SetTitleOffset(2.);
1001      eventnumb[ii]->SetMarkerStyle(21);      eventnumb[ii]->SetMarkerStyle(21);
1002      eventnumb[ii]->SetMarkerColor(kBlue);      eventnumb[ii]->SetMarkerColor(kBlue);
# Line 1164  void FTrkQLook_EXPERT(TString file,Int_t Line 1166  void FTrkQLook_EXPERT(TString file,Int_t
1166      if(i==0){      if(i==0){
1167        b.SetFillColor(107);        b.SetFillColor(107);
1168        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1169          b.DrawBox(256.,0.,384.,maxhist);
1170        b.DrawBox(768.,0.,2047.,maxhist);        b.DrawBox(768.,0.,2047.,maxhist);
1171      }      }
1172      else if(i==1){      else if(i==1){
# Line 1173  void FTrkQLook_EXPERT(TString file,Int_t Line 1176  void FTrkQLook_EXPERT(TString file,Int_t
1176    
1177        b.SetFillColor(107);        b.SetFillColor(107);
1178        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1179        //b.DrawBox(384.,0.,512.,maxhist);        b.DrawBox(384.,0.,512.,maxhist);
1180          b.DrawBox(2048.,0.,2432.,maxhist);
1181        b.DrawBox(2816.,0.,2944.,maxhist);        b.DrawBox(2816.,0.,2944.,maxhist);
1182        b.DrawBox(2048.,0.,2176.,maxhist);      }
1183        else if(i==3){
1184          b.SetFillColor(107);
1185          b.SetFillStyle(3954);
1186          b.DrawBox(2816.,0.,3070.,maxhist);
1187      }      }
1188      else if(i==4){      else if(i==4){
1189        b.SetFillColor(107);        b.SetFillColor(107);
1190        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1191        b.DrawBox(384.,0.,512.,maxhist);        b.DrawBox(256.,0.,512.,maxhist);
1192          b.DrawBox(2816.,0.,3070.,maxhist);
1193        }
1194        else if(i==5){
1195          b.SetFillColor(107);
1196          b.SetFillStyle(3954);
1197          b.DrawBox(896.,0.,1024.,maxhist);      
1198      }      }
1199      else if(i==6){      else if(i==6){
1200        b.SetFillColor(6);        b.SetFillColor(6);
1201        b.SetFillStyle(3945);        b.SetFillStyle(3945);
1202        b.DrawBox(2560.,0.,2816.,maxhist);        b.DrawBox(1024.,0.,1280.,maxhist);
       b.DrawBox(1024.,0.,1535.,maxhist);  
1203    
1204        b.SetFillColor(107);        b.SetFillColor(107);
1205        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1206        b.DrawBox(512.,0.,768.,maxhist);        b.DrawBox(512.,0.,768.,maxhist);
1207        b.DrawBox(1536.,0.,1792.,maxhist);        b.DrawBox(1280.,0.,1792.,maxhist);
1208          b.DrawBox(2560.,0.,2816.,maxhist);
1209     }     }
1210      else if(i==7){      else if(i==7){
1211        b.SetFillColor(107);        b.SetFillColor(107);
1212        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1213        b.DrawBox(512.,0.,768.,maxhist);        b.DrawBox(512.,0.,768.,maxhist);
1214          b.DrawBox(896.,0.,1535.,maxhist);
1215      }      }
1216      else if(i==8){      else if(i==8){
1217        b.SetFillColor(107);        b.SetFillColor(107);
# Line 1207  void FTrkQLook_EXPERT(TString file,Int_t Line 1222  void FTrkQLook_EXPERT(TString file,Int_t
1222        b.SetFillColor(107);        b.SetFillColor(107);
1223        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1224        b.DrawBox(256.,0.,384.,maxhist);        b.DrawBox(256.,0.,384.,maxhist);
1225        //b.DrawBox(1280.,0.,1408.,maxhist);        b.DrawBox(1280.,0.,1535.,maxhist);
1226        //b.DrawBox(1792.,0.,1920.,maxhist);        b.DrawBox(1792.,0.,1920.,maxhist);
1227      }      }
1228      else if(i==10){      else if(i==10){
1229        b.SetFillColor(107);        b.SetFillColor(107);
1230        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1231          b.DrawBox(1024.,0.,1152.,maxhist);
1232        b.DrawBox(2048.,0.,3070.,maxhist);        b.DrawBox(2048.,0.,3070.,maxhist);
1233      }      }
1234      else if(i==11){      else if(i==11){

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.23