Oscar97Tree.h 525 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef Oscar97Tree_h
  2. #define Oscar97Tree_h
  3. #include <iostream>
  4. #include <TTree.h>
  5. #include <TFile.h>
  6. #include "Oscar97Event.h"
  7. #define MAXFILESIZE 1900000000
  8. class Oscar97Tree {
  9. public:
  10. Oscar97Tree(const char *f19List, const char *outRoot = "OscarDst.root",
  11. int compression = 9);
  12. ~Oscar97Tree();
  13. void MakeRoot();
  14. bool GetError();
  15. private:
  16. TFile *mOutRoot;
  17. TTree *mTree;
  18. unsigned long mNBytes;
  19. FILE *mF19List;
  20. Oscar97Event *mEvent;
  21. bool mError;
  22. ClassDef(Oscar97Tree, 1)
  23. };
  24. #endif