--- quicklook/tracker/flight/macros/FTrkCalibQLook_EXPERT.cxx 2007/02/12 10:28:12 1.25 +++ quicklook/tracker/flight/macros/FTrkCalibQLook_EXPERT.cxx 2007/05/28 10:27:51 1.29 @@ -2,7 +2,7 @@ * FTrkCalibQLookExpert.cxx * * autor: D.Fedele - * version v1r23 + * version v1r27 * Parameters: * file - the data file to analyze * step - select =1 in order to analyze one event at time @@ -77,7 +77,7 @@ Int_t nevents=0; Int_t minevent = 0; Int_t maxevent = 0; - ULong64_t FOBT[2]; + ULong_t FOBT[2]; FOBT[0]=0; FOBT[1]=0; @@ -188,7 +188,7 @@ Int_t hcevent=hotr->GetEntries(); Int_t tcevent=totr->GetEntries(); - ULong64_t HOBT[hcevent], TOBT[tcevent]; + ULong_t HOBT[hcevent], TOBT[tcevent]; for (Int_t i = 0; i < hcevent; i++){ hotr->GetEntry(i); ph = eh4->GetPscuHeader(); @@ -566,14 +566,16 @@ b.DrawBox(256.,2200.,512.,maxhist); b.DrawBox(2816.,2200.,3070.,maxhist); } + else if(nn==5){ + b.SetFillColor(107); + b.SetFillStyle(3954); + b.DrawBox(896.,700.,1024.,maxhist); + } else if(nn==6){ - b.SetFillColor(6); - b.SetFillStyle(3945); - b.DrawBox(1024.,2200.,1280.,maxhist); - b.SetFillColor(107); b.SetFillStyle(3954); b.DrawBox(512.,2200.,768.,maxhist); + b.DrawBox(1024.,2200.,1280.,maxhist); b.DrawBox(1280.,2200.,1792.,maxhist); b.DrawBox(2560.,2200.,2816.,maxhist); } @@ -581,7 +583,8 @@ b.SetFillColor(107); b.SetFillStyle(3954); b.DrawBox(512.,700.,768.,maxhist); - b.DrawBox(1024.,700.,1535.,maxhist); + b.DrawBox(896.,700.,1535.,maxhist); + b.DrawBox(2024.,700.,2280.,maxhist); } else if(nn==8){ b.SetFillColor(107); @@ -591,15 +594,19 @@ else if(nn==9){ b.SetFillColor(107); b.SetFillStyle(3954); + b.DrawBox(0.,700.,128.,maxhist); b.DrawBox(256.,700.,384.,maxhist); + b.DrawBox(512.,700.,640.,maxhist); + b.DrawBox(896.,700.,1024.,maxhist); b.DrawBox(1280.,700.,1535.,maxhist); b.DrawBox(1792.,700.,1920.,maxhist); } else if(nn==10){ b.SetFillColor(107); b.SetFillStyle(3954); + b.DrawBox(0.,2200.,256.,maxhist); b.DrawBox(1024.,2200.,1152.,maxhist); - b.DrawBox(2048.,2200.,3070.,maxhist); + b.DrawBox(1768.,2200.,3070.,maxhist); } else if(nn==11){ b.SetFillColor(6); @@ -610,8 +617,9 @@ b.SetFillStyle(3954); b.DrawBox(0.,700.,512.,maxhist); b.DrawBox(1920.,700.,2560.,maxhist); + b.DrawBox(2816.,700.,3070.,maxhist); } - // } +// } // else histoped[nn]->Draw("axis"); histoaped[nn]->Draw("same"); if((nn+1)%2==1) { @@ -684,14 +692,16 @@ b.DrawBox(256.,0.,512.,maxhist); b.DrawBox(2816.,0.,3070.,maxhist); } + else if(nn==5){ + b.SetFillColor(107); + b.SetFillStyle(3954); + b.DrawBox(896.,0.,1024.,maxhist); + } else if(nn==6){ - b.SetFillColor(6); - b.SetFillStyle(3945); - b.DrawBox(1024.,0.,1280.,maxhist); - b.SetFillColor(107); b.SetFillStyle(3954); b.DrawBox(512.,0.,768.,maxhist); + b.DrawBox(1024.,0.,1280.,maxhist); b.DrawBox(1280.,0.,1792.,maxhist); b.DrawBox(2560.,0.,2816.,maxhist); } @@ -699,7 +709,8 @@ b.SetFillColor(107); b.SetFillStyle(3954); b.DrawBox(512.,0.,768.,maxhist); - b.DrawBox(1024.,0.,1535.,maxhist); + b.DrawBox(896.,0.,1535.,maxhist); + b.DrawBox(2024.,0.,2280.,maxhist); } else if(nn==8){ b.SetFillColor(107); @@ -709,15 +720,19 @@ else if(nn==9){ b.SetFillColor(107); b.SetFillStyle(3954); + b.DrawBox(0.,0.,128.,maxhist); b.DrawBox(256.,0.,384.,maxhist); + b.DrawBox(512.,0.,640.,maxhist); + b.DrawBox(896.,0.,1024.,maxhist); b.DrawBox(1280.,0.,1535.,maxhist); b.DrawBox(1792.,0.,1920.,maxhist); } else if(nn==10){ b.SetFillColor(107); b.SetFillStyle(3954); + b.DrawBox(0.,0.,256.,maxhist); b.DrawBox(1024.,0.,1152.,maxhist); - b.DrawBox(2048.,0.,3070.,maxhist); + b.DrawBox(1768.,0.,3070.,maxhist); } else if(nn==11){ b.SetFillColor(6); @@ -728,6 +743,7 @@ b.SetFillStyle(3954); b.DrawBox(0.,0.,512.,maxhist); b.DrawBox(1920.,0.,2560.,maxhist); + b.DrawBox(2816.,0.,3070.,maxhist); } // } // else histosig[nn]->Draw("axis");