GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4SimpleEvent.h
Go to the documentation of this file.
1 // $Id: TGo4SimpleEvent.h 1037 2013-11-06 13:39:24Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4SIMPLEEVENT_H
15 #define TGO4SIMPLEEVENT_H
16 
17 #include "TGo4EventElement.h"
18 
19 #include "TClonesArray.h"
20 
21 class TIterator;
22 class TGo4MbsSubEvent;
23 class TGo4SimpleSubEvent;
24 
34 
36 
37  public:
39 
40  TGo4SimpleEvent(Int_t subevtnum);
41 
42  virtual ~TGo4SimpleEvent() ;
43 
53  virtual Int_t Fill();
54 
59  virtual void Clear(Option_t *t="");
64  void ResetIterator();
65 
72 
73  void PrintEvent();
74 
79  TGo4SimpleSubEvent * GetSubEvent(Short_t procid);
80 
86  TGo4SimpleSubEvent * AddSubEvent(Short_t procid);
87 
88  Int_t GetCount() const;
89 
90  private:
91  Int_t fiCount;
92 
96  Int_t fiLastSlot;
97 
101  Int_t fiMaxSlot;
102 
107  /*# TGo4SimpleSubEvent fxSubEventArray1; */
108  TClonesArray* fxSubEventArray;
109 
110  Int_t fiArrLen;
111 
112  Int_t fiTestArray[10]; //[fiArrLen]
113 
114  char fcTestCharArr[10]; //[fiArrLen]
118  TIterator * fxIterator;
119 
120  // TGo4SimpleSubEvent fxFirstsubevent;
121  // TGo4SimpleSubEvent fxSecondsubevent;
122  // TGo4MbsSubEvent fxTestSub;
123 
124  ClassDef(TGo4SimpleEvent,1)
125 };
126 
127 #endif //TGO4SIMPLEEVENT_H
char fcTestCharArr[10]
virtual Int_t Fill()
TIterator * fxIterator
TGo4SimpleSubEvent * AddSubEvent(Short_t procid)
virtual void Clear(Option_t *t="")
TGo4SimpleSubEvent * GetSubEvent(Short_t procid)
virtual ~TGo4SimpleEvent()
TClonesArray * fxSubEventArray
Int_t GetCount() const
TGo4SimpleSubEvent * NextSubEvent()
Int_t fiTestArray[10]