// -*- mode: c++ -*- #ifndef CYCAPP_CycEvent #define CYCAPP_CycEvent // $Id: CycEvent.h,v 1.5 2006/04/26 15:16:26 hagel Exp $ // #ifndef ROOT_TObject #include "TObject.h" #endif //This needs to be here for inherited classes to use Event with goosy buffer //pointer. #ifndef CYCAPP_CycGoosyBuffer #include "CycGoosyBuffer.h" #endif class CycACQEventIO; //class GoosyEventBuffer; //class TGoosyBuffer; class CycEvent : public TObject { public: CycEvent(); CycEvent(const Char_t *lmdfile,const Char_t *iomode="ROOT"); virtual ~CycEvent(); virtual void OpenFile(const Char_t *lmdfile); virtual Int_t GetNextEvent(); virtual Int_t Decode(const GoosyEventBuffer *gevent); virtual void Clear(); virtual void Init(); Int_t GetBufferTime() const; protected: TGoosyBuffer *fGoosyBuffer; //!Goosy event buffer object CycACQEventIO *fEventIO; //! Float_t ConvertVaxFloat(Float_t xvax); //Routine to change float formats public: ClassDef(CycEvent,1) // Base Class for all CycApp Events }; #endif // $Log: CycEvent.h,v $ // Revision 1.5 2006/04/26 15:16:26 hagel // Changes due to moving GoosyEvent to data/raw // // Revision 1.4 2006/04/25 21:45:18 hagel // Changes to prepare CycEvent for move to data // // Revision 1.3 2004/06/28 21:15:15 hagel // Added buffer time retreival // // Revision 1.2 2004/04/27 20:28:24 jbngroup // Change ifdef statements // // Revision 1.1.1.1 2002/10/25 20:53:06 hagel // Initial revision after changing to libtool build system // // Revision 1.5 2002/02/07 15:47:06 hagel // Make OpenFile virtual // // Revision 1.4 2001/11/30 14:53:28 hagel // Make work with root_v3.02 // // Revision 1.3 2001/10/01 16:25:41 hagel // Improvements in data analysis // // Revision 1.2 2000/12/06 23:24:01 hagel // Modifications implementing NimrodEvent as inheriting from CycEvent // // Revision 1.1 2000/11/16 15:49:54 hagel // Initial revision //