00001 #ifndef ROOTHISTCNV_RRWNTUPLECNV_H
00002 #define ROOTHISTCNV_RRWNTUPLECNV_H 1
00003
00004
00005
00006 #include "RNTupleCnv.h"
00007
00008
00009
00010 template <class TYPE> class CnvFactory;
00011 class TTree;
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 namespace RootHistCnv {
00025
00026
00027 class RRWNTupleCnv : public RNTupleCnv {
00028
00030 friend class CnvFactory<RRWNTupleCnv>;
00031
00032 public:
00034 static const CLID& classID() {
00035 return CLID_RowWiseTuple;
00036 }
00037
00038 protected:
00040 RRWNTupleCnv( ISvcLocator* svc ) : RNTupleCnv(svc, classID()) {
00041 }
00043 virtual ~RRWNTupleCnv() {
00044 }
00046 virtual StatusCode load( long id, INTuple*& refpObject );
00048 virtual StatusCode book(long idh, const std::string& loc, INTuple* pObject);
00050 virtual StatusCode writeData(long idh, INTuple* pObject);
00052 virtual StatusCode readData(long idh, INTuple* pObject, long ievt);
00053
00054 protected:
00055
00056
00057
00058 };
00059
00060 }
00061
00062
00063 #endif // RootHistCnv_RRWNTUPLECNV_H