2 |
* FTrkScanQlook_EXPERT.cxx |
* FTrkScanQlook_EXPERT.cxx |
3 |
* |
* |
4 |
* autor: D.Fedele |
* autor: D.Fedele |
5 |
* version v2r04 |
* version v2r07 |
6 |
* Parameters: |
* Parameters: |
7 |
* file - the path to the root file to analyze |
* file - the path to the root file to analyze |
8 |
* outdir - total path of output file |
* outdir - total path of output file |
202 |
printf(" Number of Header Entries: %d\n",neventH); |
printf(" Number of Header Entries: %d\n",neventH); |
203 |
printf(" Number of Calibration: %d\n",cevents); |
printf(" Number of Calibration: %d\n",cevents); |
204 |
|
|
205 |
Long64_t obt=0,hobt[neventH]; |
ULong_t obt=0,hobt[neventH]; |
206 |
Int_t eve,cin=0,cins=0,br=0; |
Int_t eve,cin=0,cins=0,br=0; |
207 |
TString cal=""; |
TString cal=""; |
208 |
|
|
283 |
eve=i+3; |
eve=i+3; |
284 |
cin=100; |
cin=100; |
285 |
} |
} |
286 |
else if(event>=0 && ph->GetOrbitalTime()>obt && obt>0){ |
else if(event>=0 && (ULong_t)ph->GetOrbitalTime()>obt && obt>0){ |
287 |
eve=i+3; |
eve=i+3; |
288 |
obt=-1; |
obt=0; |
289 |
} |
} |
290 |
} |
} |
291 |
if(i==0) cins=cod->Get(pctp->CalibTrk1); |
if(i==0) cins=cod->Get(pctp->CalibTrk1); |
905 |
b.DrawBox(256.,-500.,512.,4500.); |
b.DrawBox(256.,-500.,512.,4500.); |
906 |
b.DrawBox(2816.,-500.,3070.,4500.); |
b.DrawBox(2816.,-500.,3070.,4500.); |
907 |
} |
} |
908 |
|
else if(nn==5){ |
909 |
|
b.SetFillColor(107); |
910 |
|
b.SetFillStyle(3954); |
911 |
|
b.DrawBox(896.,-500.,1024.,4500.); |
912 |
|
} |
913 |
else if(nn==6){ |
else if(nn==6){ |
|
b.SetFillColor(6); |
|
|
b.SetFillStyle(3945); |
|
|
b.DrawBox(1024.,-500.,1280.,4500.); |
|
|
|
|
914 |
b.SetFillColor(107); |
b.SetFillColor(107); |
915 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
916 |
b.DrawBox(512.,-500.,768.,4500.); |
b.DrawBox(512.,-500.,768.,4500.); |
917 |
|
b.DrawBox(1024.,-500.,1280.,4500.); |
918 |
b.DrawBox(1280.,-500.,1792.,4500.); |
b.DrawBox(1280.,-500.,1792.,4500.); |
919 |
b.DrawBox(2560.,-500.,2816.,4500.); |
b.DrawBox(2560.,-500.,2816.,4500.); |
920 |
} |
} |
923 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
924 |
b.DrawBox(512.,-500.,768.,4500.); |
b.DrawBox(512.,-500.,768.,4500.); |
925 |
b.DrawBox(896.,-500.,1535.,4500.); |
b.DrawBox(896.,-500.,1535.,4500.); |
926 |
|
b.DrawBox(2024.,-500.,2280.,4500.); |
927 |
} |
} |
928 |
else if(nn==8){ |
else if(nn==8){ |
929 |
b.SetFillColor(107); |
b.SetFillColor(107); |
933 |
else if(nn==9){ |
else if(nn==9){ |
934 |
b.SetFillColor(107); |
b.SetFillColor(107); |
935 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
936 |
|
b.DrawBox(0.,-500.,128.,4500.); |
937 |
b.DrawBox(256.,-500.,384.,4500.); |
b.DrawBox(256.,-500.,384.,4500.); |
938 |
|
b.DrawBox(512.,-500.,640.,4500.); |
939 |
|
b.DrawBox(896.,-500.,1024.,4500.); |
940 |
b.DrawBox(1280.,-500.,1535.,4500.); |
b.DrawBox(1280.,-500.,1535.,4500.); |
941 |
b.DrawBox(1792.,-500.,1920.,4500.); |
b.DrawBox(1792.,-500.,1920.,4500.); |
942 |
} |
} |
943 |
else if(nn==10){ |
else if(nn==10){ |
944 |
b.SetFillColor(107); |
b.SetFillColor(107); |
945 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
946 |
|
b.DrawBox(0.,-500.,256.,4500.); |
947 |
b.DrawBox(1024.,-500.,1152.,4500.); |
b.DrawBox(1024.,-500.,1152.,4500.); |
948 |
b.DrawBox(2048.,-500.,3070.,4500.); |
b.DrawBox(1768.,-500.,3070.,4500.); |
949 |
} |
} |
950 |
else if(nn==11){ |
else if(nn==11){ |
951 |
b.SetFillColor(6); |
b.SetFillColor(6); |
956 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
957 |
b.DrawBox(0.,-500.,512.,4500.); |
b.DrawBox(0.,-500.,512.,4500.); |
958 |
b.DrawBox(1920.,-500.,2560.,4500.); |
b.DrawBox(1920.,-500.,2560.,4500.); |
959 |
|
b.DrawBox(2816.,-500.,3070.,4500.); |
960 |
} |
} |
961 |
for(int va=1; va<24; va++){ |
for(int va=1; va<24; va++){ |
962 |
va1x=128*va; |
va1x=128*va; |