2 |
* FTrkScanQlook_EXPERT.cxx |
* FTrkScanQlook_EXPERT.cxx |
3 |
* |
* |
4 |
* autor: D.Fedele |
* autor: D.Fedele |
5 |
* version v2r05 |
* 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); |
911 |
b.DrawBox(896.,-500.,1024.,4500.); |
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); |