]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/TTreeStream.h
Add additional function GetSize (Marian)
[u/mrichter/AliRoot.git] / STEER / TTreeStream.h
index 7dc633e449530eccdd86905dafce31b7009a7c0a..1c72dc9a966ba898edb3d060bc0e7e8be2b55289 100644 (file)
@@ -6,6 +6,7 @@
 
 #include "TObject.h"
 #include "TString.h"
+#include "TTree.h"
 class TFile;
 class TObjArray;
 class TTree;
@@ -43,6 +44,7 @@ public:
   Int_t CheckIn(TObject *o);
   void BuildTree();
   void Fill();
+  Double_t GetSize(){ return fTree->GetZipBytes();}
   TTreeStream& Endl();
   //
   TTreeStream  &operator<<(Bool_t   &b){CheckIn('B',&b);return *this;}