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 TYYYRAWEVENT_H 00017 #define TYYYRAWEVENT_H 00018 00019 #include <iostream.h> 00020 00021 #include "Go4Log/TGo4Log.h" 00022 #include "Go4Exceptions/Go4Exceptions.h" 00023 #include "Go4Event/TGo4EventElement.h" 00024 00025 class TIterator; 00026 class TObjArray; 00027 class TGo4FileSource; 00028 class TGo4FileStore; 00029 class TGo4TreeSource; 00030 class TYYYEventSource; 00031 00036 class TYYYRawEvent : public TGo4EventElement { 00037 00038 friend class TYYYEventSource; 00039 friend class TYYYUnpackProc; 00040 00041 public: 00042 00043 TYYYRawEvent(); 00044 00045 TYYYRawEvent(const Text_t* name); 00046 00047 virtual ~TYYYRawEvent(); 00048 00049 00050 00060 virtual Int_t Fill(); 00061 00062 00063 virtual Int_t Init(); 00064 00065 00070 virtual void Clear(Option_t *t=""); 00071 00073 void ReAllocate(Int_t newsize); 00074 00075 void PrintEvent(); 00076 00077 Int_t GetColumns() 00078 { 00079 return fiColumns; 00080 } 00081 00082 00083 private: 00084 00085 /* Number of columns read from the file (used values for this event) */ 00086 Int_t fiColumns; 00087 00088 Double_t * fdData; //[fiColumns] 00092 TYYYEventSource* fxUserSource; 00093 00097 TGo4TreeSource* fxTreeSource; 00098 00102 TGo4FileSource* fxFileSource; 00103 00104 ClassDef(TYYYRawEvent,1) 00105 }; 00106 00107 00108 #endif //TYYYRAWEVENT_H 00109 00110 00111 00112 00113 //----------------------------END OF GO4 SOURCE FILE ---------------------