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 #include "TGo4QTreeItem.h" 00017 #include "TGo4QFileItem.h" 00018 #include "TTree.h" 00019 #include "TFile.h" 00020 00021 TGo4QTreeItem::TGo4QTreeItem(QListView* parent, const QString & text) 00022 :TGo4QItem (parent, "tree_t", text) 00023 { 00024 setText(1,"TTree"); 00025 if(fxRootFile!=0) fxRootTree=(TTree*) fxRootFile->Get(text.data()); 00026 } 00027 00028 TGo4QTreeItem::TGo4QTreeItem(QListViewItem* parent, const QString & text) 00029 :TGo4QItem (parent, "tree_t", text) 00030 { 00031 setText(1,"TTree"); 00032 fxRootFile=0; 00033 fxRootTree=0; 00034 } 00035 00036 TGo4QTreeItem::~TGo4QTreeItem(){} 00037 00038 //----------------------------END OF GO4 SOURCE FILE ---------------------