| # Gaudi Framework, version v20r3
Generated: 24 Nov 2008

# HRWNTupleCnv.h

Go to the documentation of this file.

    00001 // $Header: /local/reps/Gaudi/HbookCnv/src/HRWNTupleCnv.h,v 1.3 2006/11/30 14:59:27 mato Exp $
    00002 #ifndef HBOOKCNV_HRWNTUPLECNV_H
    00003 #define HBOOKCNV_HRWNTUPLECNV_H 1
    00004
    00005
    00006 // Include files
    00007 #include "HNTupleCnv.h"
    00008
    00009
    00010 // Forward declarations
    00011 template <class TYPE> class CnvFactory;
    00012
    00013
    00014
    00015 //====================================================================
    00016 //  Row wise NTuple converter class definition
    00017 //--------------------------------------------------------------------
    00018 //
    00019 //  Package    : HbookCnv ( The LHCb Offline System)
    00020 //  Author     : M.Frank
    00021 //
    00022 //====================================================================
    00023
    00024
    00025 namespace HbookCnv {
    00026
    00049   class HRWNTupleCnv : public HNTupleCnv   {
    00050
    00052     friend class CnvFactory<HRWNTupleCnv>;
    00053
    00054   public:
    00056     static const CLID& classID()    {
    00057       return CLID_RowWiseTuple;
    00058     }
    00060     HRWNTupleCnv( ISvcLocator* svc )  : HNTupleCnv(svc, classID())    {
    00061     }
    00063     virtual ~HRWNTupleCnv()   {
    00064     }
    00065   protected:
    00067     virtual StatusCode load( long id, INTuple*& refpObject );
    00069     virtual StatusCode book(long idh, const std::string& loc, INTuple* pObject);
    00071     virtual StatusCode writeData(long idh, INTuple* pObject);
    00073     virtual StatusCode readData(long idh, INTuple* pObject, long ievt);
    00074
    00075   };
    00076
    00077 }    // namespace HbookCnv
    00078
    00079
    00080 #endif    // HBOOKCNV_HRWNTUPLECNV_H