| The Gaudi Framework v27r1

- 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
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:
41
43 StatusCode initialize() override;
44
46 StatusCode finalize() override;
47
53 virtual const std::string containerName(IRegistry* pDir) const;
54
60 virtual const std::string fileName(IRegistry* pReg) const;
61
67 virtual const std::string topLevel(IRegistry* pReg) const;
68
75 StatusCode makeError(const std::string& msg, bool throw_exception=false) const;
76
87 StatusCode saveDescription( const std::string& path,
88 const std::string& ident,
89 const std::string& desc,
90 const std::string& opt,
91 const CLID& clid);
92
93 public:
94
102 RootStatCnv(long typ, const CLID& clid, ISvcLocator* svc, RootCnvSvc* mgr);
103
105 ~RootStatCnv() override = default;
106 };
107 }
108 #endif // ROOT_RootStatCnv_H
Gaudi::RootStatCnv::log
MsgStream & log() const
Helper to use mesage logger.
Definition: RootStatCnv.h:38
MsgStream
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
SmartIF< IDataManagerSvc >
AnalysisTest.initialize
def initialize()
Definition: AnalysisTest.py:12
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
GaudiMP.FdsRegistry.msg
tuple msg
Definition: FdsRegistry.py:8
MsgStream.h
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:26
RootConverter.h
IRegistry
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition: IRegistry.h:22
ana.opt
string opt
print 'Summary: %32s [s] d d steps'%(summary.protocol,summary.type,summary.nevt,len(summary.data),)
Definition: ana.py:116
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
Gaudi::Utils::Histos::path
GAUDI_API std::string path(const AIDA::IBaseHistogram *aida)
get the path in THS for AIDA histogram
Definition: HistoTableFormat.cpp:191
std::unique_ptr< MsgStream >
IDataManagerSvc
Definition: IDataManagerSvc.h:45
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:107
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:32