+// $Id$
+
/**************************************************************************
* This file is property of and copyright by the Experimental Nuclear *
* Physics Group, Dep. of Physics *
#include "AliHLTPHOSBase.h"
#include "AliHLTPHOSConfig.h"
#include "AliHLTPHOSAltroConfig.h"
+//#include "AliHLTLogging.h"
AliHLTPHOSBase::AliHLTPHOSBase(): AliHLTPHOSConfig(),
AliHLTPHOSAltroConfig(),
fConfigPtr(0),
- fAltroConfigPtr(0)
+ fAltroConfigPtr(0),
+ fLogPtr(0)
{
-
+ fLogPtr = new AliHLTLogging();
}
}
-bool
-AliHLTPHOSBase::CheckFile(const char *fileName, const char *opt) const
-{
- //returns true if the file specified by "fileName exists and has acceees rights specified by "opt",
- //returns false if it doesnt exist, or it exists, but doesnt have the access right specified by "opt"
-
- FILE *fp = fopen(fileName, opt);
-
- if(fp == 0)
- {
- cout <<"Error: from" << typeid(*this).name() <<"could not open file: "<< fileName <<endl;
- return false;
- }
- else
- {
- fclose(fp);
- return true;
- }
-}