/[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.29 by pam-fi, Tue Feb 20 21:57:29 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 v1r23
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==6){      else if(i==6){
1195        b.SetFillColor(6);        b.SetFillColor(6);
1196        b.SetFillStyle(3945);        b.SetFillStyle(3945);
1197        b.DrawBox(2560.,0.,2816.,maxhist);        b.DrawBox(1024.,0.,1280.,maxhist);
       b.DrawBox(1024.,0.,1535.,maxhist);  
1198    
1199        b.SetFillColor(107);        b.SetFillColor(107);
1200        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1201        b.DrawBox(512.,0.,768.,maxhist);        b.DrawBox(512.,0.,768.,maxhist);
1202        b.DrawBox(1536.,0.,1792.,maxhist);        b.DrawBox(1280.,0.,1792.,maxhist);
1203          b.DrawBox(2560.,0.,2816.,maxhist);
1204     }     }
1205      else if(i==7){      else if(i==7){
1206        b.SetFillColor(107);        b.SetFillColor(107);
1207        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1208        b.DrawBox(512.,0.,768.,maxhist);        b.DrawBox(512.,0.,768.,maxhist);
1209          b.DrawBox(896.,0.,1535.,maxhist);
1210      }      }
1211      else if(i==8){      else if(i==8){
1212        b.SetFillColor(107);        b.SetFillColor(107);
# Line 1207  void FTrkQLook_EXPERT(TString file,Int_t Line 1217  void FTrkQLook_EXPERT(TString file,Int_t
1217        b.SetFillColor(107);        b.SetFillColor(107);
1218        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1219        b.DrawBox(256.,0.,384.,maxhist);        b.DrawBox(256.,0.,384.,maxhist);
1220        //b.DrawBox(1280.,0.,1408.,maxhist);        b.DrawBox(1280.,0.,1535.,maxhist);
1221        //b.DrawBox(1792.,0.,1920.,maxhist);        b.DrawBox(1792.,0.,1920.,maxhist);
1222      }      }
1223      else if(i==10){      else if(i==10){
1224        b.SetFillColor(107);        b.SetFillColor(107);
1225        b.SetFillStyle(3954);        b.SetFillStyle(3954);
1226          b.DrawBox(1024.,0.,1152.,maxhist);
1227        b.DrawBox(2048.,0.,3070.,maxhist);        b.DrawBox(2048.,0.,3070.,maxhist);
1228      }      }
1229      else if(i==11){      else if(i==11){

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

  ViewVC Help
Powered by ViewVC 1.1.23