569 |
t->DrawLatex(0.02,0.98,fromfile.str().c_str()); |
t->DrawLatex(0.02,0.98,fromfile.str().c_str()); |
570 |
t->DrawLatex(0.60,0.98,cal.Data()); |
t->DrawLatex(0.60,0.98,cal.Data()); |
571 |
|
|
572 |
isfile<<"Boxes so colored point out chips broken before the launch and never resumed"; |
isfile<<"Chips with white line at least once showed anomalous behaviour"; |
573 |
t->SetTextColor(6); |
t->SetTextColor(1); |
574 |
t->SetTextSize(0.018); |
t->SetTextSize(0.018); |
575 |
t->DrawLatex(.05,.96,isfile.str().c_str()); |
t->DrawLatex(.05,.96,isfile.str().c_str()); |
576 |
isfile.str(""); |
isfile.str(""); |
577 |
|
|
578 |
isfile<<"Boxes so colored point out anomalous chips (not necessarily broken)"; |
isfile<<"Boxes so colored point out anomalous chips (not necessarily broken)"; |
579 |
t->SetTextColor(107); |
t->SetTextColor(107); |
580 |
t->DrawLatex(.5,.96,isfile.str().c_str()); |
// t->DrawLatex(.5,.96,isfile.str().c_str()); |
581 |
isfile.str(""); |
isfile.str(""); |
582 |
t->SetTextColor(1); |
t->SetTextColor(1); |
583 |
|
|
848 |
liva1.SetLineStyle(3); |
liva1.SetLineStyle(3); |
849 |
liva1.SetLineWidth(1); |
liva1.SetLineWidth(1); |
850 |
|
|
851 |
Float_t va1x=0; |
Float_t va1x=0,maxhist=4500.,minhist=-500.; |
852 |
|
|
853 |
if(va1!=0){ |
if(va1!=0){ |
854 |
cva[e]->cd(); |
cva[e]->cd(); |
893 |
if(icomp[nn]==1) histocomp[nn][e]->Draw("9bsame]["); |
if(icomp[nn]==1) histocomp[nn][e]->Draw("9bsame]["); |
894 |
if(imax[nn]==1) histomax[nn][e]->Draw("same]["); |
if(imax[nn]==1) histomax[nn][e]->Draw("same]["); |
895 |
histocomp[nn][e]->Draw("axis same"); |
histocomp[nn][e]->Draw("axis same"); |
896 |
|
|
897 |
|
b.SetFillColor(19); |
898 |
|
b.SetFillStyle(3945); |
899 |
if(nn==0){ |
if(nn==0){ |
900 |
b.SetFillColor(107); |
b.DrawBox(0.,minhist,2047.,maxhist); |
|
b.SetFillStyle(3945); |
|
|
b.DrawBox(256.,-500.,384.,4500); |
|
|
b.DrawBox(768.,-500.,2047.,4500.); |
|
901 |
} |
} |
902 |
else if(nn==1){ |
else if(nn==1){ |
903 |
b.SetFillColor(6); |
b.DrawBox(128.,minhist,256.,maxhist); |
904 |
b.SetFillStyle(3945); |
b.DrawBox(384.,minhist,512.,maxhist); |
905 |
b.DrawBox(2944.,-500.,3060.,4500.); |
b.DrawBox(896.,minhist,1024.,maxhist); |
906 |
|
b.DrawBox(2048.,minhist,2432.,maxhist); |
907 |
b.SetFillColor(107); |
b.DrawBox(2816.,minhist,2944.,maxhist); |
908 |
b.SetFillStyle(3954); |
b.DrawBox(2944.,minhist,3070.,maxhist); |
|
b.DrawBox(384.,-500.,512.,4500.); |
|
|
b.DrawBox(896.,-500.,1024.,4500.); |
|
|
b.DrawBox(2048.,-500.,2432.,4500.); |
|
|
b.DrawBox(2816.,-500.,2944.,4500.); |
|
909 |
} |
} |
910 |
else if(nn==3){ |
else if(nn==3){ |
911 |
b.SetFillColor(107); |
b.DrawBox(0.,minhist,256.,maxhist); |
912 |
b.SetFillStyle(3954); |
b.DrawBox(2816.,minhist,3070.,maxhist); |
|
b.DrawBox(2816.,-500.,3070.,4500.); |
|
913 |
} |
} |
914 |
else if(nn==4){ |
else if(nn==4){ |
915 |
b.SetFillColor(107); |
b.DrawBox(256.,minhist,512.,maxhist); |
916 |
b.SetFillStyle(3954); |
b.DrawBox(1792.,minhist,1920.,maxhist); |
917 |
b.DrawBox(256.,-500.,512.,4500.); |
b.DrawBox(2816.,minhist,3070.,maxhist); |
|
b.DrawBox(2816.,-500.,3070.,4500.); |
|
918 |
} |
} |
919 |
else if(nn==5){ |
else if(nn==5){ |
920 |
b.SetFillColor(107); |
b.DrawBox(0.,minhist,256.,maxhist); |
921 |
b.SetFillStyle(3954); |
b.DrawBox(896.,minhist,1024.,maxhist); |
922 |
b.DrawBox(896.,-500.,1024.,4500.); |
b.DrawBox(1664.,minhist,1792.,maxhist); |
|
// b.DrawBox(1664.,-500.,1792.,4500.); |
|
923 |
} |
} |
924 |
else if(nn==6){ |
else if(nn==6){ |
925 |
b.SetFillColor(107); |
b.DrawBox(512.,minhist,768.,maxhist); |
926 |
b.SetFillStyle(3954); |
b.DrawBox(1024.,minhist,1280.,maxhist); |
927 |
b.DrawBox(512.,-500.,768.,4500.); |
b.DrawBox(1280.,minhist,1792.,maxhist); |
928 |
b.DrawBox(1024.,-500.,1280.,4500.); |
b.DrawBox(2560.,minhist,2816.,maxhist); |
|
b.DrawBox(1280.,-500.,1792.,4500.); |
|
|
b.DrawBox(2560.,-500.,2816.,4500.); |
|
929 |
} |
} |
930 |
else if(nn==7){ |
else if(nn==7){ |
931 |
b.SetFillColor(107); |
b.DrawBox(0.,minhist,1535.,maxhist); |
932 |
b.SetFillStyle(3954); |
b.DrawBox(2024.,minhist,2280.,maxhist); |
|
b.DrawBox(512.,-500.,768.,4500.); |
|
|
b.DrawBox(896.,-500.,1535.,4500.); |
|
|
b.DrawBox(2024.,-500.,2280.,4500.); |
|
933 |
} |
} |
934 |
else if(nn==8){ |
else if(nn==8){ |
935 |
b.SetFillColor(107); |
b.DrawBox(512.,minhist,768.,maxhist); |
|
b.SetFillStyle(3954); |
|
|
b.DrawBox(512.,-500.,768.,4500.); |
|
936 |
} |
} |
937 |
else if(nn==9){ |
else if(nn==9){ |
938 |
b.SetFillColor(107); |
b.DrawBox(0.,minhist,128.,maxhist); |
939 |
b.SetFillStyle(3954); |
b.DrawBox(256.,minhist,384.,maxhist); |
940 |
b.DrawBox(0.,-500.,128.,4500.); |
b.DrawBox(512.,minhist,640.,maxhist); |
941 |
b.DrawBox(256.,-500.,384.,4500.); |
b.DrawBox(896.,minhist,1152.,maxhist); |
942 |
b.DrawBox(512.,-500.,640.,4500.); |
b.DrawBox(1280.,minhist,1535.,maxhist); |
943 |
b.DrawBox(896.,-500.,1024.,4500.); |
b.DrawBox(1664.,minhist,1920.,maxhist); |
944 |
b.DrawBox(1280.,-500.,1535.,4500.); |
b.DrawBox(2048.,minhist,2304.,maxhist); |
|
b.DrawBox(1664.,-500.,1920.,4500.); |
|
945 |
} |
} |
946 |
else if(nn==10){ |
else if(nn==10){ |
947 |
b.SetFillColor(107); |
b.DrawBox(0.,minhist,512.,maxhist); |
948 |
b.SetFillStyle(3954); |
b.DrawBox(1024.,minhist,3070.,maxhist); |
|
b.DrawBox(0.,-500.,512.,4500.); |
|
|
b.DrawBox(1024.,-500.,3070.,4500.); |
|
949 |
} |
} |
950 |
else if(nn==11){ |
else if(nn==11){ |
951 |
b.SetFillColor(6); |
b.DrawBox(0.,minhist,512.,maxhist); |
952 |
b.SetFillStyle(3945); |
b.DrawBox(768.,minhist,1024.,maxhist); |
953 |
b.DrawBox(768.,-500.,1024.,4500.); |
b.DrawBox(1536.,minhist,1664.,maxhist); |
954 |
|
b.DrawBox(1920.,minhist,2560.,maxhist); |
955 |
b.SetFillColor(107); |
b.DrawBox(2816.,minhist,3070.,maxhist); |
956 |
b.SetFillStyle(3954); |
} |
|
b.DrawBox(0.,-500.,512.,4500.); |
|
|
b.DrawBox(1920.,-500.,2560.,4500.); |
|
|
b.DrawBox(2816.,-500.,3070.,4500.); |
|
|
} |
|
957 |
for(int va=1; va<24; va++){ |
for(int va=1; va<24; va++){ |
958 |
va1x=128*va; |
va1x=128*va; |
959 |
liva1.DrawLine(va1x,-500.,va1x,4500.); |
liva1.DrawLine(va1x,minhist,va1x,maxhist); |
960 |
} |
} |
961 |
li.DrawLine(1024.5,-500.,1024.5,4500.); |
li.DrawLine(1024.5,minhist,1024.5,maxhist); |
962 |
li.DrawLine(2048.5,-500.,2048.5,4500.); |
li.DrawLine(2048.5,minhist,2048.5,maxhist); |
963 |
c1[e]->Update(); |
c1[e]->Update(); |
964 |
} |
} |
965 |
|
|