Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

RRWNTupleCnv.h

Go to the documentation of this file.
00001 #ifndef ROOTHISTCNV_RRWNTUPLECNV_H
00002 #define ROOTHISTCNV_RRWNTUPLECNV_H 1
00003 
00004 
00005 // Include files
00006 #include "RNTupleCnv.h"
00007 
00008 
00009 // Forward declarations
00010 template <class TYPE> class CnvFactory;
00011 class TTree;
00012 
00013 
00014 //====================================================================
00015 //  Row wise NTuple converter class definition
00016 //--------------------------------------------------------------------
00017 //
00018 //  Package    : RootHistCnv 
00019 //  Author     : C.Leggett
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     //    std::map<std::string, TTree*> m_treemap;
00056 
00057 
00058   };
00059 
00060 }    // namespace RootHistCnv
00061 
00062  
00063 #endif    // RootHistCnv_RRWNTUPLECNV_H

Generated at Wed Nov 21 12:20:49 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000