+
+void alimdcEnableDebug()
+{
+// enable debug and log messages
+
+ AliLog::EnableDebug(kTRUE);
+ AliLog::SetGlobalLogLevel(AliLog::kMaxType);
+ AliLog::SetGlobalDebugLevel(AliLog::kMaxType);
+ AliLog::SetPrintRepetitions(kFALSE);
+ AliLog::SetHandleRootMessages(kTRUE);
+}
+
+long long alimdcAutoSave(void* alimdc)
+{
+ // Auto-save the raw-data tree
+
+ return ((AliMDC*)alimdc)->AutoSave();
+}
+