2 |
* FTrkScanQlook_EXPERT.cxx |
* FTrkScanQlook_EXPERT.cxx |
3 |
* |
* |
4 |
* autor: D.Fedele |
* autor: D.Fedele |
5 |
* version v2r02 |
* version v2r06 |
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); |
880 |
if(nn==0){ |
if(nn==0){ |
881 |
b.SetFillColor(107); |
b.SetFillColor(107); |
882 |
b.SetFillStyle(3945); |
b.SetFillStyle(3945); |
883 |
|
b.DrawBox(256.,-500.,384.,4500); |
884 |
b.DrawBox(768.,-500.,2047.,4500.); |
b.DrawBox(768.,-500.,2047.,4500.); |
885 |
} |
} |
886 |
else if(nn==1){ |
else if(nn==1){ |
894 |
b.DrawBox(2048.,-500.,2432.,4500.); |
b.DrawBox(2048.,-500.,2432.,4500.); |
895 |
b.DrawBox(2816.,-500.,2944.,4500.); |
b.DrawBox(2816.,-500.,2944.,4500.); |
896 |
} |
} |
897 |
|
else if(nn==3){ |
898 |
|
b.SetFillColor(107); |
899 |
|
b.SetFillStyle(3954); |
900 |
|
b.DrawBox(2816.,-500.,3070.,4500.); |
901 |
|
} |
902 |
else if(nn==4){ |
else if(nn==4){ |
903 |
b.SetFillColor(107); |
b.SetFillColor(107); |
904 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
905 |
b.DrawBox(384.,-500.,512.,4500.); |
b.DrawBox(256.,-500.,512.,4500.); |
906 |
b.DrawBox(2816.,-500.,2944.,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 |
} |
} |
922 |
b.SetFillColor(107); |
b.SetFillColor(107); |
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.); |
926 |
|
b.DrawBox(2024.,-500.,2280.,4500.); |
927 |
} |
} |
928 |
else if(nn==8){ |
else if(nn==8){ |
929 |
b.SetFillColor(107); |
b.SetFillColor(107); |
940 |
else if(nn==10){ |
else if(nn==10){ |
941 |
b.SetFillColor(107); |
b.SetFillColor(107); |
942 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
943 |
b.DrawBox(1024.,-500.,1152.,4500); |
b.DrawBox(1024.,-500.,1152.,4500.); |
944 |
b.DrawBox(2048.,-500.,3070.,4500.); |
b.DrawBox(2048.,-500.,3070.,4500.); |
945 |
} |
} |
946 |
else if(nn==11){ |
else if(nn==11){ |