return filesize;
}
+//______________________________________________________________________________
+Long64_t AliMDC::AutoSave()
+{
+ // Auto-save the raw-data
+ // and esd (if any) trees
+
+ if (!fRawDB) return -1;
+
+ return fRawDB->AutoSave();
+}
+
//______________________________________________________________________________
Int_t AliMDC::Run(const char* inputFile, Bool_t loop,
EWriteMode mode, Double_t maxFileSize,
Int_t ProcessEvent(void* event, Bool_t isIovecArray = kFALSE);
Long64_t GetTotalSize();
Long64_t Close();
+ Long64_t AutoSave();
Int_t Run(const char* inputFile, Bool_t loop,
EWriteMode mode, Double_t maxFileSize,
return total;
}
+//______________________________________________________________________________
+Long64_t AliRawDB::AutoSave()
+{
+ // Auto-save the raw-data and
+ // esd (if any) trees
+
+ Long64_t nbytes = fTree->AutoSave();
+
+ if (fESDTree) nbytes += fESDTree->AutoSave();
+
+ return nbytes;
+}
+
//______________________________________________________________________________
void AliRawDB::WriteStats(AliStats* stats)
{
virtual Long64_t Close();
Int_t Fill();
Long64_t GetTotalSize();
+ Long64_t AutoSave();
void WriteStats(AliStats* stats);
AliLog::SetPrintRepetitions(kFALSE);
AliLog::SetHandleRootMessages(kTRUE);
}
+
+long long alimdcAutoSave(void* alimdc)
+{
+ // Auto-save the raw-data tree
+
+ return ((AliMDC*)alimdc)->AutoSave();
+}
+
long long alimdcClose(void* alimdc);
void alimdcDelete(void* alimdc);
void alimdcEnableDebug();
+long long alimdcAutoSave(void* alimdc);
#ifdef __cplusplus
}