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

/Go4GUI/TGo4EditDynEntryStatus.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 TGO4EDITDYNENTRYSTATUS_H
00017 #define TGO4EDITDYNENTRYSTATUS_H
00018 
00019 #include "Go4StatusBase/TGo4Status.h"
00020 
00021 class TGo4DynamicEntryStatus;
00022 class TGo4TreeHistogramEntryStatus;
00023 class TGo4HistogramEntryStatus;
00024 
00029 class TGo4EditDynEntryStatus : public TGo4Status {
00030    public:
00031 
00032    TGo4EditDynEntryStatus(const char* name, const char* title);
00033    virtual ~TGo4EditDynEntryStatus();
00034 
00037    void UpdateEntry(TGo4DynamicEntryStatus* source);
00038 
00039    TGo4DynamicEntryStatus* GetEntryStatus();
00040 
00042    enum EDynEntryTypes{
00043       kNone,            // empty (init value)
00044       kDataPointer,        // entry handles pointer access to event data
00045       kTreeDraw      // entry handles online TTree::Draw
00046    };
00047 
00048    void SetEntryType(EDynEntryTypes id);
00049    EDynEntryTypes GetEntryType(){return fiEntryType;}
00050 
00052     void SetEntryName(const Text_t* txt);
00053     void SetListName(const Text_t* txt );
00054     void SetConditionName(const Text_t* txt );
00055     const Text_t* GetConditionName();
00056     void SetConditionEnabled(Bool_t on);
00057     void SetConditionYEnabled(Bool_t on);
00058     void SetCEvX(const Text_t* txt );
00059     void SetCDataX(const Text_t* txt );
00060     void SetCEvY(const Text_t* txt );
00061     void SetCDataY(const Text_t* txt );
00062     void SetHistogramName(const Text_t* txt );
00063     const Text_t* GetHistogramName();
00064     void SetHisEvX(const Text_t* txt );
00065     void SetHisEvY(const Text_t* txt );
00066     void SetHisEvZ(const Text_t* txt );
00067     void SetHisDatX(const Text_t* txt );
00068     void SetHisDatY(const Text_t* txt );
00069     void SetHisDatZ(const Text_t* txt );
00070     void SetHisYEnabled(Bool_t on);
00071     void SetHisZEnabled(Bool_t on);
00072     void SetTreeName(const Text_t* txt );
00073     void SetTreeExpression(const Text_t* txt );
00074     void SetTreeCut(const Text_t* txt );
00075     void SetEntryEnabled(Bool_t on);
00076     void ResetNames();
00077 
00078   private:
00080     EDynEntryTypes fiEntryType;
00081 
00083     TGo4DynamicEntryStatus* fxEntryStatus;
00084 
00086     TGo4HistogramEntryStatus* fxPointerEntryStatus; 
00087 
00089     TGo4TreeHistogramEntryStatus* fxTreeEntryStatus; 
00090 };
00091 
00092 #endif //TGO4EDITDYNENTRYSTATUS_H
00093 
00094 
00095 
00096 //----------------------------END OF GO4 SOURCE FILE ---------------------

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