// $Id$ //----------------------------------------------------------------------- // The GSI Online Offline Object Oriented (Go4) Project // Experiment Data Processing at EE department, GSI //----------------------------------------------------------------------- // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH // Planckstr. 1, 64291 Darmstadt, Germany // Contact: http://go4.gsi.de //----------------------------------------------------------------------- // This software can be used under the license agreements as stated // in Go4License.txt file which is part of the distribution. //----------------------------------------------------------------------- #ifndef TYYYRAWEVENT_H #define TYYYRAWEVENT_H #include "TGo4EventElement.h" /** * Example for user defined raw event class. * This event structure corresponds to the user event source. */ class TYYYRawEvent : public TGo4EventElement { public: TYYYRawEvent(); TYYYRawEvent(const char* name); virtual ~TYYYRawEvent(); /** * Method called by the event owner (analysis step) to clear the * event element. */ virtual void Clear(Option_t *t=""); /** Expand data field if necessary */ void ReAllocate(Int_t newsize); void PrintEvent(); Int_t GetColumns() const { return fiColumns; } /* Number of columns read from the file (used values for this event) */ Int_t fiColumns; Double_t * fdData; //[fiColumns] Int_t fiAllocated; //! allocated array size ClassDef(TYYYRawEvent,1) }; #endif //TYYYRAWEVENT_H