| The Gaudi Framework v32r1 (f65d50dc)

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 struct IDataManagerSvc;
16
17 /*
18 * Gaudi namespace declaration
19 */
20 namespace Gaudi {
21
30 class GAUDI_API RootStatCnv : public RootConverter {
31 protected:
33 SmartIF<IDataManagerSvc> m_dataMgr;
35 std::unique_ptr<MsgStream> m_log;
36
38 MsgStream& log() const { return *m_log; }
39
40 protected:
42 StatusCode initialize() override;
43
45 StatusCode finalize() override;
46
52 virtual const std::string containerName( IRegistry* pDir ) const;
53
59 virtual const std::string fileName( IRegistry* pReg ) const;
60
66 virtual const std::string topLevel( IRegistry* pReg ) const;
67
74 StatusCode makeError( const std::string& msg, bool throw_exception = false ) const;
75
86 StatusCode saveDescription( const std::string& path, const std::string& ident, const std::string& desc,
87 const std::string& opt, const CLID& clid );
88
89 public:
97 RootStatCnv( long typ, const CLID& clid, ISvcLocator* svc, RootCnvSvc* mgr );
98 };
99 } // namespace Gaudi
100 #endif // ROOT_RootStatCnv_H
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:932
MsgStream.h
IDataManagerSvc
Definition: IDataManagerSvc.h:45
Gaudi::RootCnvSvc
Description:
Definition: RootCnvSvc.h:52
Gaudi::RootStatCnv::m_dataMgr
SmartIF< IDataManagerSvc > m_dataMgr
Reference to data manager service to manipulate the TES.
Definition: RootStatCnv.h:33
std::string
STL class.
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
Gaudi::RootStatCnv::log
MsgStream & log() const
Helper to use mesage logger.
Definition: RootStatCnv.h:38
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 >
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:35
Gaudi::RootStatCnv
Description: Base class converter for N-tuples and related classes.
Definition: RootStatCnv.h:30
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
Gaudi
Header file for std:chrono::duration-based Counters.
Definition: __init__.py:1
Gaudi::RootConverter
Description: Definition of the ROOT data converter.
Definition: RootConverter.h:32