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

/Go4EventServerExample/TGo4SimpleEvent.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 
00017 
00018 #ifndef TGO4SIMPLEEVENT_H
00019 #define TGO4SIMPLEEVENT_H
00020 
00021 #include "TClonesArray.h"
00022 
00023 #include "Go4Event/TGo4EventElement.h"
00024 #include "TGo4SimpleSubEvent.h"
00025 class TIterator;
00026 class TGo4MbsSubEvent;
00027 
00036 class TGo4SimpleEvent : public TGo4EventElement {
00037 
00038 friend class TGo4SimpleEventProcessor;
00039 
00040 public:
00041    TGo4SimpleEvent() ;
00042 
00043    TGo4SimpleEvent(Int_t subevtnum) ;
00044 
00045 
00046 
00047    virtual ~TGo4SimpleEvent() ;
00048 
00058    virtual Int_t Fill();
00059 
00064   virtual void Clear(Option_t *t="");
00069    void ResetIterator();
00070 
00076    TGo4SimpleSubEvent* NextSubEvent();
00077 
00078    void PrintEvent();
00079 
00084    TGo4SimpleSubEvent * GetSubEvent(Short_t procid);
00085 
00091    TGo4SimpleSubEvent * AddSubEvent(Short_t procid);
00092 
00093    Int_t  GetCount() const;
00094 
00095 private:
00096    Int_t fiCount;
00097 
00101    Int_t fiLastSlot;
00102 
00106    Int_t fiMaxSlot;
00107 
00112    /*#  TGo4SimpleSubEvent fxSubEventArray1; */
00113    TClonesArray* fxSubEventArray;
00114 
00115    Int_t fiArrLen;
00116 //
00117    Int_t fiTestArray[10]; //[fiArrLen]
00118 
00119    char fcTestCharArr[10]; //[fiArrLen]
00123    TIterator * fxIterator; 
00124 
00125 //   TGo4SimpleSubEvent fxFirstsubevent;
00126 //   TGo4SimpleSubEvent fxSecondsubevent;
00127 //   TGo4MbsSubEvent fxTestSub;
00128 
00129 private:
00130 
00131    ClassDef(TGo4SimpleEvent,1)
00132 };
00133 #endif //TGO4SIMPLEEVENT_H
00134 
00135 
00136 
00137 
00138 //----------------------------END OF GO4 SOURCE FILE ---------------------

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