--- quicklook/tracker/flight/macros/FTrkCalibQLook_EXPERT.cxx 2007/01/08 14:34:59 1.23 +++ quicklook/tracker/flight/macros/FTrkCalibQLook_EXPERT.cxx 2007/03/08 01:41:02 1.28 @@ -2,7 +2,7 @@ * FTrkCalibQLookExpert.cxx * * autor: D.Fedele - * version v1r22 + * version v1r26 * 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(); @@ -541,6 +541,7 @@ if(nn==0){ b.SetFillColor(107); b.SetFillStyle(3945); + b.DrawBox(256.,2200.,384.,maxhist); b.DrawBox(768.,2200.,2047.,maxhist); } else if(nn==1){ @@ -554,20 +555,27 @@ b.DrawBox(2048.,700.,2432.,maxhist); b.DrawBox(2816.,700.,2944.,maxhist); } + else if(nn==3){ + b.SetFillColor(107); + b.SetFillStyle(3954); + b.DrawBox(2816.,700.,3070.,maxhist); + } else if(nn==4){ b.SetFillColor(107); b.SetFillStyle(3954); - b.DrawBox(384.,2200.,512.,maxhist); - b.DrawBox(2816.,2200.,2944.,maxhist); + 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); } @@ -575,6 +583,8 @@ b.SetFillColor(107); b.SetFillStyle(3954); b.DrawBox(512.,700.,768.,maxhist); + b.DrawBox(896.,700.,1535.,maxhist); + b.DrawBox(2024.,700.,2280.,maxhist); } else if(nn==8){ b.SetFillColor(107); @@ -652,6 +662,7 @@ if(nn==0){ b.SetFillColor(107); b.SetFillStyle(3945); + b.DrawBox(256.,0.,384.,maxhist); b.DrawBox(768.,0.,2047.,maxhist); } else if(nn==1){ @@ -665,20 +676,27 @@ b.DrawBox(2048.,0.,2432.,maxhist); b.DrawBox(2816.,0.,2944.,maxhist); } + else if(nn==3){ + b.SetFillColor(107); + b.SetFillStyle(3954); + b.DrawBox(2816.,0.,3070.,maxhist); + } else if(nn==4){ b.SetFillColor(107); b.SetFillStyle(3954); - b.DrawBox(384.,0.,512.,maxhist); - b.DrawBox(2816.,0.,2944.,maxhist); + 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); } @@ -686,6 +704,8 @@ b.SetFillColor(107); b.SetFillStyle(3954); b.DrawBox(512.,0.,768.,maxhist); + b.DrawBox(896.,0.,1535.,maxhist); + b.DrawBox(2024.,0.,2280.,maxhist); } else if(nn==8){ b.SetFillColor(107);