Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4DynamicList/TGo4TreeHistogramEntry.h

Go to the documentation of this file.
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 TGO4TREEHISTOGRAMENTRY_H
00017 #define TGO4TREEHISTOGRAMENTRY_H
00018 
00019 #include "Go4DynamicList/TGo4DynamicEntry.h"
00020 
00021 #include "TString.h"
00022 #include "TCut.h"
00023 
00024 class TTree;
00025 class TGo4ClientStatus;
00026 class TGo4DynamicEntryStatus;
00027 class TGo4HistogramEntryStatus;
00028 class TGo4Condition;
00029 class TGo4EventDataIndex;
00030 
00042 class TGo4TreeHistogramEntry : public TGo4DynamicEntry {
00043   public:
00045     TGo4TreeHistogramEntry();
00046 
00047     virtual ~TGo4TreeHistogramEntry();
00048 
00049     TGo4TreeHistogramEntry(const Text_t* histogramname,
00050                            TTree* tree,
00051                            const Text_t* varexp,
00052                            const TCut& cut);
00053 
00054     TGo4TreeHistogramEntry(const Text_t* histogramname,
00055                            const Text_t* treename,
00056                            const Text_t* varexp,
00057                            const TCut& cut);
00058 
00065    TGo4DynamicEntryStatus * CreateStatus();
00066 
00068     Int_t Process();
00069 
00071     Int_t ProcessTree(Int_t times);
00072 
00074     virtual void Reset();
00075 
00077     virtual void SetStatus(TGo4DynamicEntryStatus * state);
00078 
00080     static const Text_t fgcENTRYSUF[]; 
00081 
00082   private:
00083 
00090    void UpdateStatus(TGo4DynamicEntryStatus * state);
00091 
00092   private:
00093 
00095    TTree * fxTree; 
00096 
00098    TString fxHistogramName;
00099 
00101    TString fxTreeName;
00102 
00104    TString fxVarexp;
00105 
00107    TString fxDrawexp;
00108 
00110    TCut fxSelection;
00111 
00114    Bool_t fbNewHistogram; 
00115 
00117    Int_t fiLastEvent;
00118 
00119   ClassDef(TGo4TreeHistogramEntry,3)
00120   
00121 };
00122 
00123 #endif //TGO4TREEHISTOGRAMENTRY_H
00124 
00125 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:55:52 2005 for Go4-v2.10-5 by doxygen1.2.15