The Gaudi Framework  v29r0 (ff2e7097)
RootStatCnv.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 // Definition of class : RootStatCnv
3 //
4 // Author : M.Frank
5 //
6 //------------------------------------------------------------------------------
7 #ifndef ROOT_ROOTSTATCNV_H
8 #define ROOT_ROOTSTATCNV_H 1
9 
10 // Include files
11 #include "GaudiKernel/MsgStream.h"
12 #include "RootCnv/RootConverter.h"
13 
14 // Forward declarations
15 class IDataManagerSvc;
16 
17 /*
18  * Gaudi namespace declaration
19  */
20 namespace Gaudi
21 {
22 
32  {
33  protected:
38 
40  MsgStream& log() const { return *m_log; }
41 
42  protected:
44  StatusCode initialize() override;
45 
47  StatusCode finalize() override;
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, const std::string& ident, const std::string& desc,
89  const std::string& opt, const CLID& clid );
90 
91  public:
99  RootStatCnv( long typ, const CLID& clid, ISvcLocator* svc, RootCnvSvc* mgr );
100 
102  ~RootStatCnv() override = default;
103  };
104 }
105 #endif // ROOT_RootStatCnv_H
MsgStream & log() const
Helper to use mesage logger.
Definition: RootStatCnv.h:40
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:25
Description:
Definition: RootCnvSvc.h:53
SmartIF< IDataManagerSvc > m_dataMgr
Reference to data manager service to manipulate the TES.
Definition: RootStatCnv.h:35
STL class.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition: IRegistry.h:22
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
std::unique_ptr< MsgStream > m_log
Reference to logger object.
Definition: RootStatCnv.h:37
Description: Base class converter for N-tuples and related classes.
Definition: RootStatCnv.h:31
#define GAUDI_API
Definition: Kernel.h:110
Helper functions to set/get the application return code.
Definition: __init__.py:1
Description: Definition of the ROOT data converter.
Definition: RootConverter.h:33