--- quicklook/tracker/flight/macros/FTrkCalibQLook_EXPERT.cxx 2007/05/28 10:27:51 1.29 +++ quicklook/tracker/flight/macros/FTrkCalibQLook_EXPERT.cxx 2007/07/30 14:23:02 1.30 @@ -2,7 +2,7 @@ * FTrkCalibQLookExpert.cxx * * autor: D.Fedele - * version v1r27 + * version v1r28 * Parameters: * file - the data file to analyze * step - select =1 in order to analyze one event at time @@ -275,7 +275,7 @@ // other variables definitions Int_t risposta=0; - stringstream fromfile; + stringstream fromfile,isfile; fromfile<<"FTrkCalibQLook_EXPERT File: "<SetFillColor(10); - tzz->DrawLatex(.01,0.98,fromfile.str().c_str()); - tzz->DrawLatex(.90,0.98,"PEDESTAL"); + tzz->DrawLatex(.01,.98,fromfile.str().c_str()); + tzz->DrawLatex(.90,.98,"PEDESTAL"); + + isfile<<"Boxes so colored point out chips broken before the launch and never resumed"; + tzz->SetTextColor(6); + tzz->SetTextSize(0.018); + tzz->DrawLatex(.5,.96,isfile.str().c_str()); + isfile.str(""); + + isfile<<"Boxes so colored point out anomalous chips (not necessarily broken)"; + tzz->SetTextColor(107); + tzz->DrawLatex(.05,.96,isfile.str().c_str()); + isfile.str(""); + TCanvas *c2 = new TCanvas("c2","FTrkCalibQLook_EXPERT_sig",canvasx,canvasy); c2->SetFillColor(10); - tzz->DrawLatex(.01,0.98,fromfile.str().c_str()); - tzz->DrawLatex(.90,0.98,"SIGMA"); + tzz->SetTextColor(1); + tzz->DrawLatex(.01,.98,fromfile.str().c_str()); + tzz->DrawLatex(.90,.98,"SIGMA"); + + isfile<<"Boxes so colored point out chips broken before the launch and never resumed"; + tzz->SetTextColor(6); + tzz->SetTextSize(0.018); + tzz->DrawLatex(.5,.96,isfile.str().c_str()); + isfile.str(""); + + isfile<<"Boxes so colored point out anomalous chips (not necessarily broken)"; + tzz->SetTextColor(107); + tzz->DrawLatex(.05,.96,isfile.str().c_str()); + isfile.str(""); TCanvas *sig=new TCanvas("sig","FTrkCalibQLook_EXPERT_histosig",canvasx,canvasy); sig->SetFillColor(10); - tzz->DrawLatex(.01,0.98,fromfile.str().c_str()); - tzz->DrawLatex(.85,0.97,"Histograms of the sigmas"); + tzz->SetTextColor(1); + tzz->DrawLatex(.01,.98,fromfile.str().c_str()); + tzz->DrawLatex(.85,.97,"Histograms of the sigmas"); @@ -552,6 +577,7 @@ b.SetFillColor(107); b.SetFillStyle(3954); b.DrawBox(384.,700.,512.,maxhist); + b.DrawBox(896.,700.,1024.,maxhist); b.DrawBox(2048.,700.,2432.,maxhist); b.DrawBox(2816.,700.,2944.,maxhist); } @@ -569,7 +595,8 @@ else if(nn==5){ b.SetFillColor(107); b.SetFillStyle(3954); - b.DrawBox(896.,700.,1024.,maxhist); + b.DrawBox(896.,700.,1024.,maxhist); + // b.DrawBox(1664.,0.,1792.,maxhist); } else if(nn==6){ b.SetFillColor(107); @@ -599,14 +626,13 @@ b.DrawBox(512.,700.,640.,maxhist); b.DrawBox(896.,700.,1024.,maxhist); b.DrawBox(1280.,700.,1535.,maxhist); - b.DrawBox(1792.,700.,1920.,maxhist); + b.DrawBox(1664.,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(1768.,2200.,3070.,maxhist); + b.DrawBox(0.,2200.,512.,maxhist); + b.DrawBox(1024.,2200.,3070.,maxhist); } else if(nn==11){ b.SetFillColor(6); @@ -678,6 +704,7 @@ b.SetFillColor(107); b.SetFillStyle(3954); b.DrawBox(384.,0.,512.,maxhist); + b.DrawBox(896.,0.,1024.,maxhist); b.DrawBox(2048.,0.,2432.,maxhist); b.DrawBox(2816.,0.,2944.,maxhist); } @@ -695,7 +722,8 @@ else if(nn==5){ b.SetFillColor(107); b.SetFillStyle(3954); - b.DrawBox(896.,0.,1024.,maxhist); + b.DrawBox(896.,0.,1024.,maxhist); + // b.DrawBox(1664.,0.,1792.,maxhist); } else if(nn==6){ b.SetFillColor(107); @@ -725,14 +753,13 @@ b.DrawBox(512.,0.,640.,maxhist); b.DrawBox(896.,0.,1024.,maxhist); b.DrawBox(1280.,0.,1535.,maxhist); - b.DrawBox(1792.,0.,1920.,maxhist); + b.DrawBox(1664.,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(1768.,0.,3070.,maxhist); + b.DrawBox(0.,0.,512.,maxhist); + b.DrawBox(1024.,0.,3070.,maxhist); } else if(nn==11){ b.SetFillColor(6);