The Gaudi Framework  master (b9786168)
Loading...
Searching...
No Matches
RootStatCnv.h
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2025 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#pragma once
18
19// Include files
22
23// Forward declarations
24struct IDataManagerSvc;
25
26/*
27 * Gaudi namespace declaration
28 */
29namespace Gaudi {
30
40 protected:
44 std::unique_ptr<MsgStream> m_log;
45
47 MsgStream& log() const { return *m_log; }
48
49 protected:
51 StatusCode initialize() override;
52
54 StatusCode finalize() override;
55
61 virtual const std::string containerName( IRegistry* pDir ) const;
62
68 virtual const std::string fileName( IRegistry* pReg ) const;
69
75 virtual const std::string topLevel( IRegistry* pReg ) const;
76
83 StatusCode makeError( const std::string& msg, bool throw_exception = false ) const;
84
95 StatusCode saveDescription( const std::string& path, const std::string& ident, const std::string& desc,
96 const std::string& opt, const CLID& clid );
97
98 public:
106 RootStatCnv( long typ, const CLID& clid, ISvcLocator* svc, RootCnvSvc* mgr );
107 };
108} // namespace Gaudi
unsigned int CLID
Class ID definition.
Definition ClassID.h:16
#define GAUDI_API
Definition Kernel.h:49
Description:
Definition RootCnvSvc.h:61
RootConverter(long typ, const CLID &clid, ISvcLocator *svc, RootCnvSvc *mgr)
Initializing Constructor.
Description: Base class converter for N-tuples and related classes.
Definition RootStatCnv.h:39
MsgStream & log() const
Helper to use mesage logger.
Definition RootStatCnv.h:47
SmartIF< IDataManagerSvc > m_dataMgr
Reference to data manager service to manipulate the TES.
Definition RootStatCnv.h:42
RootStatCnv(long typ, const CLID &clid, ISvcLocator *svc, RootCnvSvc *mgr)
Initializing Constructor.
std::unique_ptr< MsgStream > m_log
Reference to logger object.
Definition RootStatCnv.h:44
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition IRegistry.h:29
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition ISvcLocator.h:42
Definition of the MsgStream class used to transmit messages.
Definition MsgStream.h:29
Small smart pointer class with automatic reference counting for IInterface.
Definition SmartIF.h:28
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition __init__.py:1