| # Gaudi Framework, version v23r1 |

Home |  | Generated: Wed Feb 29 2012

# PersSvc.h

Go to the documentation of this file.

    00001 // $Id: PersSvc.h,v 1.5 2006/11/30 15:04:07 mato Exp $
    00002 #ifndef ROOTHISTCNV_PERSSVC_H
    00003 #define ROOTHISTCNV_PERSSVC_H 1
    00004
    00005 // Include files
    00006 #include "GaudiKernel/ConversionSvc.h"
    00007
    00008 // Forward declarations
    00009 template <class TYPE> class SvcFactory;
    00010 class TFile;
    00011
    00012
    00013 namespace RootHistCnv {
    00014
    00021   class PersSvc : public ConversionSvc {
    00022
    00023     friend class SvcFactory<PersSvc>;
    00024
    00025   public:
    00027     virtual StatusCode initialize();
    00028
    00030     virtual StatusCode finalize();
    00031
    00033     virtual StatusCode createRep(DataObject* pObject, IOpaqueAddress*& refpAddress);
    00034
    00036     PersSvc( const std::string& name, ISvcLocator* svc );
    00037
    00039     virtual ~PersSvc();
    00040
    00041   private:
    00042     std::string m_defFileName;
    00043     TFile *m_hfile;
    00044     bool m_prtWar;
    00045     bool m_alphaIds;
    00046     bool m_outputEnabled;
    00047   };
    00048
    00049 }    // namespace RootHistCnv
    00050
    00051 #endif    // ROOTHISTCNV_PERSSVC_H

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines