//cout<<" -D: nBin: "<<_nBin<<" ,Min: "<<_nMin<<" , Max: "<<_nMax<<endl;
CreateTH1F(hname.Data(), title, nBin, nMin, nMax);
if(!CheckObject(hname.Data())){
- AliError(Form("Not possible to create object: ", hname.Data()));
+ AliError(Form("Not possible to create object: %s", hname.Data()));
return kFALSE;
}
}
newBins[i] = factor * newBins[i-1];
}
axis->Set(bins, newBins);
- delete newBins;
+ delete [] newBins;
return kTRUE;