#include "TSystem.h"
#include "AliRndm.h"
+#include "AliLog.h"
ClassImp(AliRndm)
//_______________________________________________________________________
void AliRndm::Copy(AliRndm&) const
{
- ::Fatal("Copy","Not implemented\n");
+ AliFatalClass("Not implemented");
}
TFile *file = new TFile(fntmp,"r");
delete [] fntmp;
if(!file) {
- printf("AliRndm:: Could not open file %s\n",filename);
+ AliErrorClass(Form("Could not open file %s",filename));
} else {
if(!fRandom) fRandom = new TRandom();
fRandom->Read("Random");
TFile *file = new TFile(fntmp,"new");
delete [] fntmp;
if(!file) {
- printf("AliRndm:: Could not open file %s\n",filename);
+ AliErrorClass(Form("Could not open file %s",filename));
} else {
fRandom->Write();
file->Close();