| 1 |
|
|
| 2 |
/** |
/** |
| 3 |
* FTrkQLook_EXPERT.cxx |
* FTrkQLook_EXPERT.cxx |
| 4 |
* |
* |
| 5 |
* autor: D.Fedele |
* autor: D.Fedele |
| 6 |
* version v1r21 |
* version v1r27 |
| 7 |
* Parameters: |
* Parameters: |
| 8 |
* file - the data file to analyze |
* file - the data file to analyze |
| 9 |
* fromevent - first event to analyze |
* fromevent - first event to analyze |
| 23 |
#include <TFile.h> |
#include <TFile.h> |
| 24 |
#include <TTree.h> |
#include <TTree.h> |
| 25 |
#include <TStyle.h> |
#include <TStyle.h> |
| 26 |
|
#include <TAxis.h> |
| 27 |
|
#include <TH1F.h> |
| 28 |
|
#include <TROOT.h> |
| 29 |
|
#include <cstdlib> |
| 30 |
// |
// |
| 31 |
#include <physics/tracker/TrackerEvent.h> |
#include <physics/tracker/TrackerEvent.h> |
| 32 |
#include <PscuHeader.h> |
#include <PscuHeader.h> |
| 148 |
|
|
| 149 |
// |
// |
| 150 |
// information about the RunHeader |
// information about the RunHeader |
| 151 |
ULong64_t HOBT[neventH]; |
ULong_t HOBT[neventH]; |
| 152 |
Int_t trk_cal_us[neventH]; |
Int_t trk_cal_us[neventH]; |
| 153 |
ULong_t acq_info[neventH]; |
ULong_t acq_info[neventH]; |
| 154 |
Int_t countnboot=1; |
Int_t countnboot=1; |
| 185 |
} |
} |
| 186 |
const Int_t tsize=maxsize; |
const Int_t tsize=maxsize; |
| 187 |
Int_t tempt[tsize][5]; |
Int_t tempt[tsize][5]; |
| 188 |
ULong64_t xt[tsize]; |
ULong_t xt[tsize]; |
| 189 |
|
|
| 190 |
Int_t cntpgtemp=1,cntpgdat=0,cntpgmag=0; |
Int_t cntpgtemp=1,cntpgdat=0,cntpgmag=0; |
| 191 |
// |
// |
| 217 |
} |
} |
| 218 |
const Int_t bsize=maxsize; |
const Int_t bsize=maxsize; |
| 219 |
Int_t magt[bsize][5]; |
Int_t magt[bsize][5]; |
| 220 |
ULong64_t xb[bsize]; |
ULong_t xb[bsize]; |
| 221 |
siztmp=0; |
siztmp=0; |
| 222 |
// |
// |
| 223 |
// information about the magnetic field |
// information about the magnetic field |
| 254 |
// write the file for the TrkAlarm packet |
// write the file for the TrkAlarm packet |
| 255 |
if(alnevent==0) alarm1 <<endl<< "------> NO ALARM!!! <-------"<< endl; |
if(alnevent==0) alarm1 <<endl<< "------> NO ALARM!!! <-------"<< endl; |
| 256 |
else{ |
else{ |
| 257 |
Long64_t obt=0; |
ULong_t obt=0; |
| 258 |
for (Int_t ev=0; ev<alnevent; ev++){ |
for (Int_t ev=0; ev<alnevent; ev++){ |
| 259 |
altr->GetEntry(ev); |
altr->GetEntry(ev); |
| 260 |
ph = aleh->GetPscuHeader(); |
ph = aleh->GetPscuHeader(); |
| 261 |
|
|
| 262 |
if(ph->GetOrbitalTime()<obt && ev>0) |
if((ULong_t)ph->GetOrbitalTime()<obt && ev>0) |
| 263 |
alarm1<<endl<<"NEW CPU BOOT"<<endl; |
alarm1<<endl<<"NEW CPU BOOT"<<endl; |
| 264 |
obt=ph->GetOrbitalTime(); |
obt=ph->GetOrbitalTime(); |
| 265 |
|
|
| 266 |
alarm1 << "================================================="<< endl; |
alarm1 << "================================================="<< endl; |
| 267 |
alarm1 << "PSCU-Pkt N. "<< ph->GetCounter() ; |
alarm1 << "PSCU-Pkt N. "<< ph->GetCounter() ; |
| 268 |
alarm1 << " - OBT "<< ph->GetOrbitalTime() << " ms"<<endl; |
alarm1 << " - OBT "<< (ULong_t)ph->GetOrbitalTime() << " ms"<<endl; |
| 269 |
alarm1 << "(ROOT-tree entry "<<ev<<")"<<endl; |
alarm1 << "(ROOT-tree entry "<<ev<<")"<<endl; |
| 270 |
alarm1 << "================================================="<< endl<<endl; |
alarm1 << "================================================="<< endl<<endl; |
| 271 |
|
|
| 625 |
|
|
| 626 |
case 1: |
case 1: |
| 627 |
li.DrawLine(min,2055.,max,2055.); |
li.DrawLine(min,2055.,max,2055.); |
| 628 |
li.DrawLine(min,2050.,max,2050.); |
li.DrawLine(min,2049.,max,2049.); |
| 629 |
t1->DrawLatex(xlat,2055.3,ma.str().c_str()); |
t1->DrawLatex(xlat,2055.3,ma.str().c_str()); |
| 630 |
t1->DrawLatex(xlat,2049.7,mi.str().c_str()); |
t1->DrawLatex(xlat,2048.7,mi.str().c_str()); |
| 631 |
break; |
break; |
| 632 |
|
|
| 633 |
case 2: |
case 2: |
| 634 |
li.DrawLine(min,2056.,max,2056.); |
li.DrawLine(min,2056.,max,2056.); |
| 635 |
li.DrawLine(min,2051.,max,2051.); |
li.DrawLine(min,2050.,max,2050.); |
| 636 |
t1->DrawLatex(xlat,2056.3,ma.str().c_str()); |
t1->DrawLatex(xlat,2056.3,ma.str().c_str()); |
| 637 |
t1->DrawLatex(xlat,2050.7,mi.str().c_str()); |
t1->DrawLatex(xlat,2049.7,mi.str().c_str()); |
| 638 |
break; |
break; |
| 639 |
|
|
| 640 |
case 3: |
case 3: |
| 641 |
li.DrawLine(min,2057.,max,2057.); |
li.DrawLine(min,2057.,max,2057.); |
| 642 |
li.DrawLine(min,2052.,max,2052.); |
li.DrawLine(min,2051.,max,2051.); |
| 643 |
t1->DrawLatex(xlat,2057.3,ma.str().c_str()); |
t1->DrawLatex(xlat,2057.3,ma.str().c_str()); |
| 644 |
t1->DrawLatex(xlat,2051.7,mi.str().c_str()); |
t1->DrawLatex(xlat,2050.7,mi.str().c_str()); |
| 645 |
break; |
break; |
| 646 |
|
|
| 647 |
case 4: |
case 4: |
| 648 |
li.DrawLine(min,2066.,max,2066.); |
li.DrawLine(min,2066.,max,2066.); |
| 649 |
li.DrawLine(min,2060.,max,2060.); |
li.DrawLine(min,2060.,max,2060.); |
| 650 |
t1->DrawLatex(xlat,2066.15,ma.str().c_str()); |
t1->DrawLatex(xlat,2066.2,ma.str().c_str()); |
| 651 |
t1->DrawLatex(xlat,2059.85,mi.str().c_str()); |
t1->DrawLatex(xlat,2059.8,mi.str().c_str()); |
| 652 |
break; |
break; |
| 653 |
|
|
| 654 |
} |
} |
| 742 |
// and fill graphs and histos |
// and fill graphs and histos |
| 743 |
|
|
| 744 |
Int_t al=0; |
Int_t al=0; |
| 745 |
|
ULong_t obtx=0; |
| 746 |
Double_t x[MAXSTORAGE]; |
Double_t x[MAXSTORAGE]; |
| 747 |
Float_t yc[MAXSTORAGE][12]; |
Float_t yc[MAXSTORAGE][12]; |
| 748 |
Double_t eventint[MAXSTORAGE]; |
Double_t eventint[MAXSTORAGE]; |
| 756 |
|
|
| 757 |
if(ev==maxevent-1) maxev=maxevent-1; |
if(ev==maxevent-1) maxev=maxevent-1; |
| 758 |
|
|
| 759 |
if((ph->GetOrbitalTime()<x[ev-minev-1] && ev-minev!=0) || ev-minev==MAXSTORAGE){ |
if(((ULong_t)ph->GetOrbitalTime()<x[ev-minev-1] && ev-minev!=0) || ev-minev==MAXSTORAGE){ |
| 760 |
maxev=ev; |
maxev=ev; |
| 761 |
break; |
break; |
| 762 |
} |
} |
| 763 |
else{ |
else{ |
| 764 |
x[(ev-minev)]= ph->GetOrbitalTime(); |
obtx = ph->GetOrbitalTime(); |
| 765 |
|
x[(ev-minev)]=(Double_t)obtx; |
| 766 |
ALARM=0; |
ALARM=0; |
| 767 |
Int_t dsp=0; |
Int_t dsp=0; |
| 768 |
Int_t noacq=0; |
Int_t noacq=0; |
| 769 |
Int_t acq_dsp[12]; |
// Int_t acq_dsp[12]; |
| 770 |
ULong_t acq_info_tmp=0; |
ULong_t acq_info_tmp=0; |
| 771 |
if(cod->Get(pctp->RunHeader)>0) acq_info_tmp=acq_info[cod->Get(pctp->RunHeader)-1]; |
if(cod->Get(pctp->RunHeader)>0) acq_info_tmp=acq_info[cod->Get(pctp->RunHeader)-1]; |
| 772 |
else acq_info_tmp=acq_info[cod->Get(pctp->RunHeader)]; |
else acq_info_tmp=acq_info[cod->Get(pctp->RunHeader)]; |
| 773 |
for(Int_t io=0;io<12;io++){ |
for(Int_t io=0;io<12;io++){ |
| 774 |
acq_dsp[dsp]=(acq_info_tmp>>(12+io))&(~(~0<<1)); |
// acq_dsp[dsp]=(acq_info_tmp>>(12+io))&(~(~0<<1)); |
| 775 |
if(((acq_info_tmp>>(12+io))&(~(~0<<1)))==0) |
if(((acq_info_tmp>>(12+io))&(~(~0<<1)))==0) |
| 776 |
noacq+=1; |
noacq+=1; |
| 777 |
WARNING[io]=0; |
WARNING[io]=0; |
| 896 |
al=1; |
al=1; |
| 897 |
alarm <<endl<< "================================================="<< endl; |
alarm <<endl<< "================================================="<< endl; |
| 898 |
alarm << "PSCU-Pkt N. "<< ph->GetCounter() ; |
alarm << "PSCU-Pkt N. "<< ph->GetCounter() ; |
| 899 |
alarm << " - OBT "<< ph->GetOrbitalTime() << " ms"<<endl; |
alarm << " - OBT "<< (ULong_t)ph->GetOrbitalTime() << " ms"<<endl; |
| 900 |
alarm << "Total events "<<nevent<<endl; |
alarm << "Total events "<<nevent<<endl; |
| 901 |
alarm << "(ROOT-tree entry "<<ev<<" in page "<<ii+1<<" )"<<endl; |
alarm << "(ROOT-tree entry "<<ev<<" in page "<<ii+1<<" )"<<endl; |
| 902 |
alarm << "================================================="<< endl; |
alarm << "================================================="<< endl; |
| 977 |
comprtime[i][ii]->GetXaxis()->CenterTitle(); |
comprtime[i][ii]->GetXaxis()->CenterTitle(); |
| 978 |
comprtime[i][ii]->GetYaxis()->SetTitle("compressiontime (ms)"); |
comprtime[i][ii]->GetYaxis()->SetTitle("compressiontime (ms)"); |
| 979 |
comprtime[i][ii]->GetYaxis()->CenterTitle(); |
comprtime[i][ii]->GetYaxis()->CenterTitle(); |
| 980 |
|
if(maxev-minev==1) comprtime[i][ii]->GetXaxis()->SetNdivisions(-501); |
| 981 |
// comprtime[i][ii]->GetYaxis()->SetRangeUser(0,3); |
// comprtime[i][ii]->GetYaxis()->SetRangeUser(0,3); |
| 982 |
comprtime[i][ii]->Draw("ap"); |
comprtime[i][ii]->Draw("ap"); |
| 983 |
oss1.str(""); |
oss1.str(""); |
| 1003 |
eventnumb[ii]->GetYaxis()->SetTitleSize(0.03); |
eventnumb[ii]->GetYaxis()->SetTitleSize(0.03); |
| 1004 |
eventnumb[ii]->GetYaxis()->SetTitle("DSP event-number"); |
eventnumb[ii]->GetYaxis()->SetTitle("DSP event-number"); |
| 1005 |
eventnumb[ii]->GetYaxis()->CenterTitle(); |
eventnumb[ii]->GetYaxis()->CenterTitle(); |
| 1006 |
|
if(maxev-minev==1) eventnumb[ii]->GetXaxis()->SetNdivisions(-501); |
| 1007 |
eventnumb[ii]->GetYaxis()->SetTitleOffset(2.); |
eventnumb[ii]->GetYaxis()->SetTitleOffset(2.); |
| 1008 |
eventnumb[ii]->SetMarkerStyle(21); |
eventnumb[ii]->SetMarkerStyle(21); |
| 1009 |
eventnumb[ii]->SetMarkerColor(kBlue); |
eventnumb[ii]->SetMarkerColor(kBlue); |
| 1115 |
t1->DrawLatex(70.,98.7,isfile.str().c_str()); |
t1->DrawLatex(70.,98.7,isfile.str().c_str()); |
| 1116 |
isfile.str(""); |
isfile.str(""); |
| 1117 |
|
|
| 1118 |
|
isfile<<"Chips with white line at least once showed anomalous behaviour"; |
| 1119 |
|
t->SetTextColor(17); |
| 1120 |
|
t->SetTextSize(0.018); |
| 1121 |
|
t->DrawLatex(.01,.96,isfile.str().c_str()); |
| 1122 |
|
isfile.str(""); |
| 1123 |
|
|
| 1124 |
|
isfile<<"Boxes so colored point out anomalous chips (not necessarily broken)"; |
| 1125 |
|
t->SetTextColor(107); |
| 1126 |
|
// t->DrawLatex(7.,95.7,isfile.str().c_str()); |
| 1127 |
|
isfile.str(""); |
| 1128 |
|
t->SetTextColor(1); |
| 1129 |
|
|
| 1130 |
// |
// |
| 1131 |
// Draw the histos |
// Draw the histos |
| 1132 |
for (Int_t i=0; i<12 ; i++){ |
for (Int_t nn=0; nn<12 ; nn++){ |
| 1133 |
|
|
| 1134 |
TBox b; |
TBox b; |
| 1135 |
|
|
| 1136 |
Float_t maxhist=0,va1x=0; |
Float_t maxhist=0.,va1x=0.,minhist=0.; |
| 1137 |
LandauCanv1->cd(); |
LandauCanv1->cd(); |
| 1138 |
pad1[i]->SetFillColor(10); |
pad1[nn]->SetFillColor(10); |
| 1139 |
pad1[i]->SetFrameFillColor(10); |
pad1[nn]->SetFrameFillColor(10); |
| 1140 |
pad1[i]->Draw(); |
pad1[nn]->Draw(); |
| 1141 |
pad1[i]->cd(); |
pad1[nn]->cd(); |
| 1142 |
landau1[i]->GetXaxis()->SetTitle("max signal"); |
landau1[nn]->GetXaxis()->SetTitle("max signal"); |
| 1143 |
landau1[i]->GetXaxis()->CenterTitle(); |
landau1[nn]->GetXaxis()->CenterTitle(); |
| 1144 |
landau1[i]->Draw(""); |
landau1[nn]->Draw(""); |
| 1145 |
LandauCanv1->Update(); |
LandauCanv1->Update(); |
| 1146 |
|
|
| 1147 |
LandauCanv2->cd(); |
LandauCanv2->cd(); |
| 1148 |
pad4[i]->SetFillColor(10); |
pad4[nn]->SetFillColor(10); |
| 1149 |
pad4[i]->SetFrameFillColor(10); |
pad4[nn]->SetFrameFillColor(10); |
| 1150 |
pad4[i]->Draw(); |
pad4[nn]->Draw(); |
| 1151 |
pad4[i]->cd(); |
pad4[nn]->cd(); |
| 1152 |
landau2[i]->GetXaxis()->SetTitle("max signal"); |
landau2[nn]->GetXaxis()->SetTitle("max signal"); |
| 1153 |
landau2[i]->GetXaxis()->CenterTitle(); |
landau2[nn]->GetXaxis()->CenterTitle(); |
| 1154 |
landau2[i]->Draw(""); |
landau2[nn]->Draw(""); |
| 1155 |
LandauCanv2->Update(); |
LandauCanv2->Update(); |
| 1156 |
|
|
| 1157 |
LandauCanv3->cd(); |
LandauCanv3->cd(); |
| 1158 |
pad5[i]->SetFillColor(10); |
pad5[nn]->SetFillColor(10); |
| 1159 |
pad5[i]->SetFrameFillColor(10); |
pad5[nn]->SetFrameFillColor(10); |
| 1160 |
pad5[i]->Draw(); |
pad5[nn]->Draw(); |
| 1161 |
pad5[i]->cd(); |
pad5[nn]->cd(); |
| 1162 |
landau3[i]->GetXaxis()->SetTitle("max signal"); |
landau3[nn]->GetXaxis()->SetTitle("max signal"); |
| 1163 |
landau3[i]->GetXaxis()->CenterTitle(); |
landau3[nn]->GetXaxis()->CenterTitle(); |
| 1164 |
landau3[i]->Draw(""); |
landau3[nn]->Draw(""); |
| 1165 |
LandauCanv3->Update(); |
LandauCanv3->Update(); |
| 1166 |
|
|
| 1167 |
|
|
| 1173 |
liva1.SetLineWidth(1); |
liva1.SetLineWidth(1); |
| 1174 |
|
|
| 1175 |
IlluminaCanv->cd(); |
IlluminaCanv->cd(); |
| 1176 |
pad2[i]->SetFillColor(10); |
pad2[nn]->SetFillColor(10); |
| 1177 |
pad2[i]->SetFrameFillColor(10); |
pad2[nn]->SetFrameFillColor(10); |
| 1178 |
pad2[i]->SetLogy(); |
pad2[nn]->SetLogy(); |
| 1179 |
pad2[i]->Draw(); |
pad2[nn]->Draw(); |
| 1180 |
pad2[i]->cd(); |
pad2[nn]->cd(); |
| 1181 |
illuminazione[i]->GetXaxis()->SetTitle("strip with max signal"); |
illuminazione[nn]->GetXaxis()->SetTitle("strip with max signal"); |
| 1182 |
illuminazione[i]->GetXaxis()->CenterTitle(); |
illuminazione[nn]->GetXaxis()->CenterTitle(); |
| 1183 |
illuminazione[i]->Draw(""); |
illuminazione[nn]->Draw(""); |
| 1184 |
maxhist= illuminazione[i]->GetMaximum(); |
maxhist= illuminazione[nn]->GetMaximum(); |
| 1185 |
if(i==0){ |
minhist=0.; |
| 1186 |
b.SetFillColor(107); |
b.SetFillColor(19); |
| 1187 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
| 1188 |
b.DrawBox(256.,0.,384.,maxhist); |
if(nn==0){ |
| 1189 |
b.DrawBox(768.,0.,2047.,maxhist); |
b.DrawBox(0.,minhist,2047.,maxhist); |
| 1190 |
} |
} |
| 1191 |
else if(i==1){ |
else if(nn==1){ |
| 1192 |
b.SetFillColor(6); |
b.DrawBox(128.,minhist,256.,maxhist); |
| 1193 |
b.SetFillStyle(3945); |
b.DrawBox(384.,minhist,512.,maxhist); |
| 1194 |
b.DrawBox(2944.,0.,3070.,maxhist); |
b.DrawBox(896.,minhist,1024.,maxhist); |
| 1195 |
|
b.DrawBox(2048.,minhist,2432.,maxhist); |
| 1196 |
b.SetFillColor(107);2 |
b.DrawBox(2816.,minhist,2944.,maxhist); |
| 1197 |
b.SetFillStyle(3954); |
b.DrawBox(2944.,minhist,3070.,maxhist); |
| 1198 |
b.DrawBox(384.,0.,512.,maxhist); |
} |
| 1199 |
b.DrawBox(2048.,0.,2432.,maxhist); |
else if(nn==3){ |
| 1200 |
b.DrawBox(2816.,0.,2944.,maxhist); |
b.DrawBox(0.,minhist,256.,maxhist); |
| 1201 |
} |
b.DrawBox(2816.,minhist,3070.,maxhist); |
| 1202 |
else if(i==3){ |
} |
| 1203 |
b.SetFillColor(107); |
else if(nn==4){ |
| 1204 |
b.SetFillStyle(3954); |
b.DrawBox(256.,minhist,512.,maxhist); |
| 1205 |
b.DrawBox(2816.,0.,3070.,maxhist); |
b.DrawBox(1792.,minhist,1920.,maxhist); |
| 1206 |
} |
b.DrawBox(2816.,minhist,3070.,maxhist); |
| 1207 |
else if(i==4){ |
} |
| 1208 |
b.SetFillColor(107); |
else if(nn==5){ |
| 1209 |
b.SetFillStyle(3954); |
b.DrawBox(0.,minhist,256.,maxhist); |
| 1210 |
b.DrawBox(256.,0.,512.,maxhist); |
b.DrawBox(896.,minhist,1024.,maxhist); |
| 1211 |
b.DrawBox(2816.,0.,3070.,maxhist); |
b.DrawBox(1664.,minhist,1792.,maxhist); |
| 1212 |
} |
} |
| 1213 |
else if(i==6){ |
else if(nn==6){ |
| 1214 |
b.SetFillColor(6); |
b.DrawBox(512.,minhist,768.,maxhist); |
| 1215 |
b.SetFillStyle(3945); |
b.DrawBox(1024.,minhist,1280.,maxhist); |
| 1216 |
b.DrawBox(1024.,0.,1280.,maxhist); |
b.DrawBox(1280.,minhist,1792.,maxhist); |
| 1217 |
|
b.DrawBox(2560.,minhist,2816.,maxhist); |
|
b.SetFillColor(107); |
|
|
b.SetFillStyle(3954); |
|
|
b.DrawBox(512.,0.,768.,maxhist); |
|
|
b.DrawBox(1280.,0.,1792.,maxhist); |
|
|
b.DrawBox(2560.,0.,2816.,maxhist); |
|
| 1218 |
} |
} |
| 1219 |
else if(i==7){ |
else if(nn==7){ |
| 1220 |
b.SetFillColor(107); |
b.DrawBox(0.,minhist,1535.,maxhist); |
| 1221 |
b.SetFillStyle(3954); |
b.DrawBox(2024.,minhist,2280.,maxhist); |
| 1222 |
b.DrawBox(512.,0.,768.,maxhist); |
} |
| 1223 |
b.DrawBox(1024.,0.,1535.,maxhist); |
else if(nn==8){ |
| 1224 |
} |
b.DrawBox(512.,minhist,768.,maxhist); |
| 1225 |
else if(i==8){ |
} |
| 1226 |
b.SetFillColor(107); |
else if(nn==9){ |
| 1227 |
b.SetFillStyle(3954); |
b.DrawBox(0.,minhist,128.,maxhist); |
| 1228 |
b.DrawBox(512.,0.,768.,maxhist); |
b.DrawBox(256.,minhist,384.,maxhist); |
| 1229 |
} |
b.DrawBox(512.,minhist,640.,maxhist); |
| 1230 |
else if(i==9){ |
b.DrawBox(896.,minhist,1152.,maxhist); |
| 1231 |
b.SetFillColor(107); |
b.DrawBox(1280.,minhist,1535.,maxhist); |
| 1232 |
b.SetFillStyle(3954); |
b.DrawBox(1664.,minhist,1920.,maxhist); |
| 1233 |
b.DrawBox(256.,0.,384.,maxhist); |
b.DrawBox(2048.,minhist,2304.,maxhist); |
| 1234 |
b.DrawBox(1280.,0.,1535.,maxhist); |
} |
| 1235 |
b.DrawBox(1792.,0.,1920.,maxhist); |
else if(nn==10){ |
| 1236 |
} |
b.DrawBox(0.,minhist,512.,maxhist); |
| 1237 |
else if(i==10){ |
b.DrawBox(1024.,minhist,3070.,maxhist); |
| 1238 |
b.SetFillColor(107); |
} |
| 1239 |
b.SetFillStyle(3954); |
else if(nn==11){ |
| 1240 |
b.DrawBox(1024.,0.,1152.,maxhist); |
b.DrawBox(0.,minhist,512.,maxhist); |
| 1241 |
b.DrawBox(2048.,0.,3070.,maxhist); |
b.DrawBox(768.,minhist,1024.,maxhist); |
| 1242 |
} |
b.DrawBox(1536.,minhist,1664.,maxhist); |
| 1243 |
else if(i==11){ |
b.DrawBox(1920.,minhist,2560.,maxhist); |
| 1244 |
b.SetFillColor(6); |
b.DrawBox(2816.,minhist,3070.,maxhist); |
| 1245 |
b.SetFillStyle(3945); |
} |
|
b.DrawBox(768.,0.,1024.,maxhist); |
|
|
|
|
|
b.SetFillColor(107); |
|
|
b.SetFillStyle(3954); |
|
|
b.DrawBox(0.,0.,512.,maxhist); |
|
|
b.DrawBox(1920.,0.,2560.,maxhist); |
|
|
} |
|
| 1246 |
for(int va=1; va<24; va++){ |
for(int va=1; va<24; va++){ |
| 1247 |
va1x=128*va; |
va1x=128*va; |
| 1248 |
liva1.DrawLine(va1x,0.,va1x,maxhist); |
liva1.DrawLine(va1x,minhist,va1x,maxhist); |
| 1249 |
} |
} |
| 1250 |
li.DrawLine(1024.5,0,1024.5,maxhist); |
li.DrawLine(1024.5,minhist,1024.5,maxhist); |
| 1251 |
li.DrawLine(2048.5,0,2048.5,maxhist); |
li.DrawLine(2048.5,minhist,2048.5,maxhist); |
| 1252 |
IlluminaCanv->Update(); |
IlluminaCanv->Update(); |
| 1253 |
} |
} |
| 1254 |
|
|