| The Gaudi Framework v29r0 (ff2e7097)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
31 class GAUDI_API RootStatCnv : public RootConverter
32 {
33 protected:
35 SmartIF<IDataManagerSvc> m_dataMgr;
37 std::unique_ptr<MsgStream> m_log;
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
Gaudi::RootStatCnv::log
MsgStream & log() const
Helper to use mesage logger.
Definition: RootStatCnv.h:40
MsgStream
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
SmartIF< IDataManagerSvc >
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
GaudiPython.HistoUtils.path
path
Definition: HistoUtils.py:895
MsgStream.h
Gaudi::RootCnvSvc
Description:
Definition: RootCnvSvc.h:53
Gaudi::RootStatCnv::m_dataMgr
SmartIF< IDataManagerSvc > m_dataMgr
Reference to data manager service to manipulate the TES.
Definition: RootStatCnv.h:35
std::string
STL class.
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
RootConverter.h
IRegistry
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition: IRegistry.h:22
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
std::unique_ptr< MsgStream >
IDataManagerSvc
Definition: IDataManagerSvc.h:45
GaudiMP.FdsRegistry.msg
msg
Definition: FdsRegistry.py:8
Gaudi::RootStatCnv::m_log
std::unique_ptr< MsgStream > m_log
Reference to logger object.
Definition: RootStatCnv.h:37
Gaudi::RootStatCnv
Description: Base class converter for N-tuples and related classes.
Definition: RootStatCnv.h:31
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
Gaudi
Helper functions to set/get the application return code.
Definition: __init__.py:1
Gaudi::RootConverter
Description: Definition of the ROOT data converter.
Definition: RootConverter.h:33