00001 #ifndef _QIEVENTR_HH 00002 #define _QIEVENTR_HH 00003 00009 #define QIEVENTR_NAME "QiEventR" 00010 00011 #include "QBaseEventR.hh" 00012 #include "QRawEventR.hh" 00013 00014 #include <Rtypes.h> 00015 00016 namespace Cuore {class QEvent;} 00017 00018 using namespace std; 00019 00020 class QiEventR : public QBaseEventR { 00021 00022 public: 00023 QiEventR(); 00024 00025 QiEventR(const QiEventR&); 00026 00027 const QiEventR& operator=(const QiEventR&); 00028 00029 virtual ~QiEventR (); 00030 00031 QBaseRawEventR* GetBaseRawEvent() {return &fRawEvent;} 00032 00033 QRawEventR_01& GetRawEvent() { return fRawEvent;} 00034 00035 protected: 00036 void Init(); 00037 00039 QRawEventR_01 fRawEvent; 00040 00041 friend class MQinoRootFileWriter; 00042 friend class MRootFileReader; 00043 ClassDef (QiEventR, 2) 00044 }; 00045 #endif 00046