00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGO4TREESOURCE_H 00017 #define TGO4TREESOURCE_H 00018 00019 #include "Go4Event/TGo4EventSource.h" 00020 00021 class TGo4TreeSourceParameter; 00022 class TGo4MainTree; 00023 class TGo4EventElement; 00024 class TBranch; 00025 class TTree; 00026 00034 class TGo4TreeSource : public TGo4EventSource { 00035 public: 00036 TGo4TreeSource(); 00037 00038 TGo4TreeSource(const char* name); 00039 00040 virtual ~TGo4TreeSource(); 00041 00042 TGo4TreeSource(TGo4TreeSourceParameter* par); 00043 00047 Bool_t BuildEvent(TGo4EventElement* dest); 00048 00049 private: 00050 00054 TGo4MainTree* fxSingletonTree; 00055 00057 TTree * fxTree; 00058 00060 TBranch * fxBranch; 00061 00062 Int_t Open(); 00063 00064 ClassDef(TGo4TreeSource,1) 00065 }; 00066 00067 #endif //TGO4TREESOURCE_H 00068 00069 //----------------------------END OF GO4 SOURCE FILE ---------------------