The Gaudi Framework  master (37c0b60a)
RootStatCnv.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 //------------------------------------------------------------------------------
12 // Definition of class : RootStatCnv
13 //
14 // Author : M.Frank
15 //
16 //------------------------------------------------------------------------------
17 #ifndef ROOT_ROOTSTATCNV_H
18 #define ROOT_ROOTSTATCNV_H 1
19 
20 // Include files
21 #include <GaudiKernel/MsgStream.h>
22 #include <RootCnv/RootConverter.h>
23 
24 // Forward declarations
25 struct IDataManagerSvc;
26 
27 /*
28  * Gaudi namespace declaration
29  */
30 namespace Gaudi {
31 
41  protected:
46 
48  MsgStream& log() const { return *m_log; }
49 
50  protected:
52  StatusCode initialize() override;
53 
55  StatusCode finalize() override;
56 
62  virtual const std::string containerName( IRegistry* pDir ) const;
63 
69  virtual const std::string fileName( IRegistry* pReg ) const;
70 
76  virtual const std::string topLevel( IRegistry* pReg ) const;
77 
84  StatusCode makeError( const std::string& msg, bool throw_exception = false ) const;
85 
96  StatusCode saveDescription( const std::string& path, const std::string& ident, const std::string& desc,
97  const std::string& opt, const CLID& clid );
98 
99  public:
107  RootStatCnv( long typ, const CLID& clid, ISvcLocator* svc, RootCnvSvc* mgr );
108  };
109 } // namespace Gaudi
110 #endif // ROOT_RootStatCnv_H
std::string
STL class.
IDataManagerSvc
Definition: IDataManagerSvc.h:55
AtlasMCRecoFullPrecedenceDump.path
path
Definition: AtlasMCRecoFullPrecedenceDump.py:49
Gaudi::RootCnvSvc
Definition: RootCnvSvc.h:62
ISvcLocator
Definition: ISvcLocator.h:46
GaudiMP.FdsRegistry.msg
msg
Definition: FdsRegistry.py:19
IRegistry
Definition: IRegistry.h:32
Gaudi::RootConverter
Definition: RootConverter.h:42
Gaudi::RootStatCnv
Definition: RootStatCnv.h:40
StatusCode
Definition: StatusCode.h:65
Gaudi::RootStatCnv::m_log
std::unique_ptr< MsgStream > m_log
Reference to logger object.
Definition: RootStatCnv.h:45
SmartIF< IDataManagerSvc >
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:18
MsgStream
Definition: MsgStream.h:33
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition: __init__.py:1
Gaudi::RootStatCnv::log
MsgStream & log() const
Helper to use mesage logger.
Definition: RootStatCnv.h:48
RootConverter.h
Gaudi::RootStatCnv::m_dataMgr
SmartIF< IDataManagerSvc > m_dataMgr
Reference to data manager service to manipulate the TES.
Definition: RootStatCnv.h:43
GaudiConfig2.semantics.ident
ident
Definition: semantics.py:198
std::unique_ptr< MsgStream >
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81
MsgStream.h