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

/Go4DynamicList/TGo4HistogramEntryStatus.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 TGO4HISTOGRAMENTRYSTATUS_H
00017 #define TGO4HISTOGRAMENTRYSTATUS_H
00018 
00019 #include "TGo4DynamicEntryStatus.h"
00020 #include "TString.h"
00021 #include "TGo4HistogramEntry.h"
00022 
00030 class TGo4HistogramEntryStatus : public TGo4DynamicEntryStatus {
00031 
00032   friend class TGo4HistogramEntry;
00033   friend class TGo4DynamicList;
00034   friend class TGo4EditDynEntryStatus;
00035   friend class TGo4AnalysisObjectManager;
00036 
00037   public:
00038 
00042    TGo4HistogramEntryStatus();
00043 
00044    virtual ~TGo4HistogramEntryStatus();
00045 
00046    /* Reset all names to the default nodata strings, except for entry name   */
00047    virtual void ResetNames();
00048 
00049    virtual void Print(Option_t * dummy="") const;
00050 
00051    const Text_t * GetHistogramName();
00052    const Text_t * GetHistogramClass();
00053    const Text_t * GetHisVarName(UInt_t ix);
00054    const Text_t * GetHisEventName(UInt_t ix);
00055 
00056   protected:
00057 
00058    void SetHistogram(TH1 * his);
00059    void SetHisEventNames(TString * names);
00060    void SetHisVarNames(TString * names);
00061    virtual void SetHistogramName(const Text_t * name);
00062    void SetHisVarName(UInt_t ix, const Text_t* txt);
00063    void SetHisEventName(UInt_t ix, const Text_t* txt);
00064 
00065 
00066   private:
00067 
00071    virtual TGo4DynamicEntry* CreateDynamicEntry();
00072 
00076    TGo4HistogramEntryStatus(const Text_t* name);
00077 
00081    TString fxHistogramName;
00082 
00086    TString fxHistogramClass;
00087 
00092    TString fxHisVarName[__MAXHISDIM__];
00093 
00099    TString fxHisEventName[__MAXHISDIM__];
00100 
00101   ClassDef(TGo4HistogramEntryStatus,3)
00102 };
00103 
00104 #endif //TGO4HISTOGRAMENTRYSTATUS_H
00105 
00106 //----------------------------END OF GO4 SOURCE FILE ---------------------

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