//
//
//
-// if (GetDebug()>1)
AliDebug(2,Form("Making Branch %s",name));
if (tree == 0x0)
class AliESDpid {
public:
AliESDpid(){}
+ virtual ~AliESDpid() {}
static Int_t MakePID(AliESD *event);
private:
ClassDef(AliESDpid,1) // TPC PID class
Int_t AliLoader::GetDebug()
{
- AliWarningClass("Don't use this method any more, use AliDebug instead");
+ AliFatalClass("Don't use this method any more, use AliDebug instead");
return AliDebugLevelClass();
}
/*****************************************************************************/
if (gEnv->Defined(name)) {
TString stream = gEnv->GetValue(name, "Standard");
if (stream.CompareTo("standard", TString::kIgnoreCase) == 0) {
- SetStandardOutput(EType(iType));
+ SetStandardOutput(EType_t(iType));
AliDebug(3, Form("output stream set to standard output for type %s",
typeNames[iType]));
} else if (stream.CompareTo("error", TString::kIgnoreCase) == 0) {
- SetErrorOutput(EType(iType));
+ SetErrorOutput(EType_t(iType));
AliDebug(3, Form("output stream set to error output for type %s",
typeNames[iType]));
} else if (!stream.IsNull()) {
- SetFileOutput(EType(iType), stream);
+ SetFileOutput(EType_t(iType), stream);
AliDebug(3, Form("output stream set to file %s for type %s",
stream.Data(), typeNames[iType]));
}
}
//_____________________________________________________________________________
-void AliLog::SetGlobalLogLevel(EType type)
+void AliLog::SetGlobalLogLevel(EType_t type)
{
// set the global debug level
}
//_____________________________________________________________________________
-void AliLog::SetStandardOutput(EType type)
+void AliLog::SetStandardOutput(EType_t type)
{
// write log messages of the given type to the standard output (stdout)
}
//_____________________________________________________________________________
-void AliLog::SetErrorOutput(EType type)
+void AliLog::SetErrorOutput(EType_t type)
{
// write log messages of the given type to the error output (stderr)
}
//_____________________________________________________________________________
-void AliLog::SetFileOutput(EType type, const char* fileName)
+void AliLog::SetFileOutput(EType_t type, const char* fileName)
{
// write log messages of the given type to the given file
}
//_____________________________________________________________________________
-void AliLog::SetPrintType(EType type, Bool_t on)
+void AliLog::SetPrintType(EType_t type, Bool_t on)
{
// switch on or off the printing of the message type for the given message type
}
//_____________________________________________________________________________
-void AliLog::SetPrintModule(EType type, Bool_t on)
+void AliLog::SetPrintModule(EType_t type, Bool_t on)
{
// switch on or off the printing of the module for the given message type
}
//_____________________________________________________________________________
-void AliLog::SetPrintScope(EType type, Bool_t on)
+void AliLog::SetPrintScope(EType_t type, Bool_t on)
{
// switch on or off the printing of the scope/class name
// for the given message type
}
//_____________________________________________________________________________
-void AliLog::SetPrintLocation(EType type, Bool_t on)
+void AliLog::SetPrintLocation(EType_t type, Bool_t on)
{
// switch on or off the printing of the file name and line number
// for the given message type
//_____________________________________________________________________________
-Int_t AliLog::RedirectStdoutTo(EType type, UInt_t level, const char* module,
+Int_t AliLog::RedirectStdoutTo(EType_t type, UInt_t level, const char* module,
const char* className, const char* function,
const char* file, Int_t line, Bool_t print)
{
}
//_____________________________________________________________________________
-Int_t AliLog::RedirectStderrTo(EType type, UInt_t level, const char* module,
+Int_t AliLog::RedirectStderrTo(EType_t type, UInt_t level, const char* module,
const char* className, const char* function,
const char* file, Int_t line, Bool_t print)
{
}
//_____________________________________________________________________________
-Int_t AliLog::RedirectTo(FILE* stream, EType type, UInt_t level,
+Int_t AliLog::RedirectTo(FILE* stream, EType_t type, UInt_t level,
const char* module, const char* className,
const char* function, const char* file, Int_t line,
Bool_t print)
//_____________________________________________________________________________
-ostream& AliLog::Stream(EType type, UInt_t level,
+ostream& AliLog::Stream(EType_t type, UInt_t level,
const char* module, const char* className,
const char* function, const char* file, Int_t line)
{
}
//_____________________________________________________________________________
-ostream& AliLog::GetStream(EType type, UInt_t level,
+ostream& AliLog::GetStream(EType_t type, UInt_t level,
const char* module, const char* className,
const char* function, const char* file, Int_t line)
{
virtual ~AliLog();
static AliLog* Instance() {return fgInstance;}
- enum EType {kFatal = 0, kError, kWarning, kInfo, kDebug, kMaxType};
+ enum EType_t {kFatal = 0, kError, kWarning, kInfo, kDebug, kMaxType};
static void EnableDebug(Bool_t enabled);
- static void SetGlobalLogLevel(EType type);
+ static void SetGlobalLogLevel(EType_t type);
static Int_t GetGlobalLogLevel();
static void SetGlobalDebugLevel(Int_t level);
static Int_t GetGlobalDebugLevel();
static void ClearClassDebugLevel(const char* className);
static void SetStandardOutput();
- static void SetStandardOutput(EType type);
+ static void SetStandardOutput(EType_t type);
static void SetErrorOutput();
- static void SetErrorOutput(EType type);
+ static void SetErrorOutput(EType_t type);
static void SetFileOutput(const char* fileName);
- static void SetFileOutput(EType type, const char* fileName);
+ static void SetFileOutput(EType_t type, const char* fileName);
static void Flush();
static void SetHandleRootMessages(Bool_t on);
static void SetPrintType(Bool_t on);
- static void SetPrintType(EType type, Bool_t on);
+ static void SetPrintType(EType_t type, Bool_t on);
static void SetPrintModule(Bool_t on);
- static void SetPrintModule(EType type, Bool_t on);
+ static void SetPrintModule(EType_t type, Bool_t on);
static void SetPrintScope(Bool_t on);
- static void SetPrintScope(EType type, Bool_t on);
+ static void SetPrintScope(EType_t type, Bool_t on);
static void SetPrintLocation(Bool_t on);
- static void SetPrintLocation(EType type, Bool_t on);
+ static void SetPrintLocation(EType_t type, Bool_t on);
static void SetPrintRepetitions(Bool_t on);
const char* module, const char* className,
const char* function, const char* file, Int_t line);
- static Int_t RedirectStdoutTo(EType type, UInt_t level, const char* module,
+ static Int_t RedirectStdoutTo(EType_t type, UInt_t level, const char* module,
const char* className, const char* function,
const char* file, Int_t line, Bool_t print);
- static Int_t RedirectStderrTo(EType type, UInt_t level, const char* module,
+ static Int_t RedirectStderrTo(EType_t type, UInt_t level, const char* module,
const char* className, const char* function,
const char* file, Int_t line, Bool_t print);
static void RestoreStdout(Int_t original);
static void RestoreStderr(Int_t original);
- static ostream& Stream(EType type, UInt_t level,
+ static ostream& Stream(EType_t type, UInt_t level,
const char* module, const char* className,
const char* function, const char* file, Int_t line);
const char* file, Int_t line);
void PrintRepetitions();
- Int_t RedirectTo(FILE* stream, EType type, UInt_t level,
+ Int_t RedirectTo(FILE* stream, EType_t type, UInt_t level,
const char* module, const char* className,
const char* function,
const char* file, Int_t line, Bool_t print);
- ostream& GetStream(EType type, UInt_t level,
+ ostream& GetStream(EType_t type, UInt_t level,
const char* module, const char* className,
const char* function, const char* file, Int_t line);
//_____________________________________________________________________________
Int_t AliModule::GetDebug() const
{
- AliWarning("Don't use this method any more, use AliDebug instead");
+ AliFatal("Don't use this method any more, use AliDebug instead");
return 0;
}
//_______________________________________________________________________
Int_t AliRun::GetDebug() const
{
- AliWarning("Don't use this method any more, use AliDebug instead");
+ AliFatal("Don't use this method any more, use AliDebug instead");
return AliDebugLevel();
}
//_______________________________________________________________________
void AliRun::SetDebug(Int_t level)
{
- AliWarning("Don't use this method any more, use AliLog instead");
+ AliFatal("Don't use this method any more, use AliLog instead");
AliLog::SetClassDebugLevel("AliRun", level);
}
#pragma link off all classes;
#pragma link off all functions;
+#pragma link C++ enum AliLog::EType_t;
+
#pragma link C++ class AliESD+;
#pragma link C++ class AliESDtrack+;
#pragma link C++ class AliESDMuonTrack+;