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

/Go4GUI/TGo4EventInfoStatus.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 TGO4EVENTINFOSTATUS_H
00017 #define TGO4EVENTINFOSTATUS_H
00018 
00019 #include "Go4StatusBase/TGo4Status.h"
00020 
00021 class TTree;
00022 class TGo4EventElement;
00023 
00028 class TGo4EventInfoStatus : public TGo4Status {
00029 public:
00030 
00031     TGo4EventInfoStatus(const char* name, const char* title);
00032     TGo4EventInfoStatus():fiEventNum(10),fiSubId(-1),fbLong(kTRUE),fbHex(kTRUE),fbData(kFALSE),
00033         fbRemotePrint(kFALSE), fbTreeMode(kFALSE), fxEventTree(0),fxEvent(0){;}
00034     virtual ~TGo4EventInfoStatus();
00035 
00037     void SetEvent(TTree* tree);
00038 
00040     void SetEvent(TGo4EventElement* eve);
00042     void PrintEventSample();
00043     void SetEventNum(Int_t i){fiEventNum=i;}
00044     void SetSubId(Int_t i){fiSubId=i;}
00045     void SetLong(Bool_t on){fbLong=on;}
00046     void SetHex(Bool_t on){fbHex=on;}
00047     void SetData(Bool_t on){fbData=on;}
00048     void SetEventName(const char* nam){fxEventName=nam;}
00049     void SetRemoteMode(Bool_t on){fbRemotePrint=on;}
00050     void SetTreeMode(Bool_t on){fbTreeMode=on;}
00051     Int_t GetEventNum(){return fiEventNum;}
00052     Int_t GetSubId(){return fiSubId;}
00053     Bool_t IsLong(){return fbLong;}
00054     Bool_t IsHex(){return fbHex;}
00055     Bool_t IsData(){return fbData;}
00056     Bool_t IsRemoteMode(){return fbRemotePrint;}
00057     Bool_t IsTreeMode(){return fbTreeMode;}
00058     const char* GetEventName(){return fxEventName.Data();}
00059     const char* GetEventPrintout(){return fxEventPrintout.Data();}
00060     TTree* GetSampleTree(){return fxEventTree;}
00061     TGo4EventElement* GetSampleEvent(){return fxEvent;}
00062 
00063 private:
00064 
00066     Int_t fiEventNum;
00068     Int_t fiSubId;
00070     Bool_t fbLong;
00072     Bool_t fbHex;
00074     Bool_t fbData;
00076     Bool_t fbRemotePrint;
00078     Bool_t fbTreeMode;
00079 
00081     TString fxEventName;              
00082 
00083     TTree* fxEventTree;               
00084 
00085     TGo4EventElement* fxEvent;        
00086 
00087     TString fxEventPrintout;          
00088 };
00089 
00090 #endif //TGO4EVENTINFOSTATUS_H
00091 
00092 //----------------------------END OF GO4 SOURCE FILE ---------------------

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