]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/mdc.cxx
Moving the QA for raw data inside the event loop (Yves). The list of the detectors...
[u/mrichter/AliRoot.git] / RAW / mdc.cxx
index 07205273d76ed1e2cc45e97f061bbf3411cf0528..8223f466337ca751eed9d838cdd44ee14562c3ac 100644 (file)
 
 void* alimdcCreate(int compress, int filterMode, 
                   double maxSizeTagDB, const char* fileNameTagDB,
-                  const char* guidFileFolder)
+                  const char* guidFileFolder,
+                  int basketsize)
 {
 // create an AliMDC object
 
   return new AliMDC(compress, kFALSE, AliMDC::EFilterMode(filterMode), 
                    maxSizeTagDB, fileNameTagDB,
-                   guidFileFolder);
+                   guidFileFolder,
+                   basketsize);
 
 }
 
@@ -58,7 +60,7 @@ long long alimdcGetTotalFileSize(void* alimdc)
   return ((AliMDC*)alimdc)->GetTotalSize();
 }
 
-int alimdcClose(void* alimdc)
+long long alimdcClose(void* alimdc)
 {
 // close the raw DB
 
@@ -82,3 +84,11 @@ void  alimdcEnableDebug()
   AliLog::SetPrintRepetitions(kFALSE);
   AliLog::SetHandleRootMessages(kTRUE);
 }
+
+long long  alimdcAutoSave(void* alimdc)
+{
+  // Auto-save the raw-data tree
+
+  return ((AliMDC*)alimdc)->AutoSave();
+}
+