All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RootStatCnv.h
Go to the documentation of this file.
1 // $Id: RootStatCnv.h,v 1.3 2010-09-02 11:59:57 frankb Exp $
2 //------------------------------------------------------------------------------
3 // Definition of class : RootStatCnv
4 //
5 // Author : M.Frank
6 //
7 //------------------------------------------------------------------------------
8 #ifndef ROOT_ROOTSTATCNV_H
9 #define ROOT_ROOTSTATCNV_H 1
10 
11 // Include files
12 #include "GaudiKernel/MsgStream.h"
13 #include "RootCnv/RootConverter.h"
14 
15 // Forward declarations
16 class IDataManagerSvc;
17 
18 /*
19  * Gaudi namespace declaration
20  */
21 namespace Gaudi {
22 
32  protected:
37 
39  MsgStream& log() const { return *m_log; }
40 
41  protected:
42 
44  virtual StatusCode initialize();
45 
47  virtual StatusCode finalize();
48 
54  virtual const std::string containerName(IRegistry* pDir) const;
55 
61  virtual const std::string fileName(IRegistry* pReg) const;
62 
68  virtual const std::string topLevel(IRegistry* pReg) const;
69 
76  StatusCode makeError(const std::string& msg, bool throw_exception=false) const;
77 
88  StatusCode saveDescription( const std::string& path,
89  const std::string& ident,
90  const std::string& desc,
91  const std::string& opt,
92  const CLID& clid);
93 
94  public:
95 
103  RootStatCnv(long typ, const CLID& clid, ISvcLocator* svc, RootCnvSvc* mgr);
104 
106  virtual ~RootStatCnv() { }
107  };
108 }
109 #endif // ROOT_RootStatCnv_H
MsgStream & log() const
Helper to use mesage logger.
Definition: RootStatCnv.h:39
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:26
Description:
Definition: RootCnvSvc.h:54
virtual ~RootStatCnv()
Standard Destructor.
Definition: RootStatCnv.h:106
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition: IRegistry.h:22
string opt
print 'Summary: %32s [s] d d steps'%(summary.protocol,summary.type,summary.nevt,len(summary.data),)
Definition: ana.py:116
unsigned int CLID
Class ID definition.
Definition: ClassID.h:9
GAUDI_API std::string path(const AIDA::IBaseHistogram *aida)
get the path in THS for AIDA histogram
MsgStream * m_log
Reference to logger object.
Definition: RootStatCnv.h:36
This is a number of static methods for bootstrapping the Gaudi framework.
Definition: Bootstrap.h:14
Description: Base class converter for N-tuples and related classes.
Definition: RootStatCnv.h:31
#define GAUDI_API
Definition: Kernel.h:108
IDataManagerSvc * m_dataMgr
Reference to data manager service to manipulate the TES.
Definition: RootStatCnv.h:34
Description: Definition of the ROOT data converter.
Definition: RootConverter.h:33