1 void radialScaling(TH1* hist){
3 TAxis *xa=hist->GetXaxis();
4 TAxis *ya=hist->GetYaxis();
6 for(
int ix=1;ix<=xa->GetNbins();ix++){
7 double x1 = xa->GetBinCenter(ix);
9 for(
int iy=1;iy<=ya->GetNbins();iy++){
12 if(ya->GetNbins()>1 && !strstr(hist->GetName(),
"SYtDYt")){
13 y1=ya->GetBinCenter(iy);
17 double xv =hist->GetBinContent(ix,iy);
18 double exv=hist->GetBinError(ix,iy);
21 hist->SetBinContent(ix,iy,xv);
22 hist->SetBinError(ix,iy,exv);