00001 #ifndef __PXXIHitDataPayload__H__ 00002 #define __PXXIHitDataPayload__H__ 00003 00012 00013 #include "payloads-unpacker/base/PXXTypes.h" 00014 #include "payloads-unpacker/base/PXXPointerCasts.h" 00015 #include "payloads-unpacker/payloads/PXXIHitDataRecord.h" 00016 00017 class PXXIHitDataPayload 00018 { 00019 public: 00020 00024 virtual ~PXXIHitDataPayload(){} 00025 //------------------------------------------------------------------------------ 00026 00033 virtual const PXXIHitDataRecord& GetHitDataRecord() = 0; 00034 //------------------------------------------------------------------------------ 00035 00036 protected: 00037 00042 PXXIHitDataPayload(){} 00043 //------------------------------------------------------------------------------ 00044 00045 private: 00046 00047 ClassDef(PXXIHitDataPayload, 0) // interface to HitPayload 00048 00049 }; 00050 00051 #ifdef __USEROOT__ // compile with ROOT 00052 typedef PXXIHitDataPayload* PXXIHitDataPayloadPtr; 00053 #else // compile with IceTray 00054 typedef shared_ptr<PXXIHitDataPayload> PXXIHitDataPayloadPtr; 00055 #endif 00056 00057 #endif // __PXXIHitDataPayload__H__