The Gaudi Framework
master (1a7a3838)
Toggle main menu visibility
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
20
#include <
GaudiKernel/MsgStream.h
>
21
#include <
RootCnv/RootConverter.h
>
22
23
// Forward declarations
24
struct
IDataManagerSvc
;
25
26
/*
27
* Gaudi namespace declaration
28
*/
29
namespace
Gaudi
{
30
39
class
GAUDI_API
RootStatCnv
:
public
RootConverter
{
40
protected
:
42
SmartIF<IDataManagerSvc>
m_dataMgr
;
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
CLID
unsigned int CLID
Class ID definition.
Definition
ClassID.h:16
GAUDI_API
#define GAUDI_API
Definition
Kernel.h:49
MsgStream.h
RootConverter.h
Gaudi::RootCnvSvc
Description:
Definition
RootCnvSvc.h:61
Gaudi::RootConverter::RootConverter
RootConverter(long typ, const CLID &clid, ISvcLocator *svc, RootCnvSvc *mgr)
Initializing Constructor.
Definition
RootConverter.h:54
Gaudi::RootStatCnv
Description: Base class converter for N-tuples and related classes.
Definition
RootStatCnv.h:39
Gaudi::RootStatCnv::log
MsgStream & log() const
Helper to use mesage logger.
Definition
RootStatCnv.h:47
Gaudi::RootStatCnv::m_dataMgr
SmartIF< IDataManagerSvc > m_dataMgr
Reference to data manager service to manipulate the TES.
Definition
RootStatCnv.h:42
Gaudi::RootStatCnv::RootStatCnv
RootStatCnv(long typ, const CLID &clid, ISvcLocator *svc, RootCnvSvc *mgr)
Initializing Constructor.
Definition
RootStatCnv.cpp:34
Gaudi::RootStatCnv::m_log
std::unique_ptr< MsgStream > m_log
Reference to logger object.
Definition
RootStatCnv.h:44
IRegistry
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition
IRegistry.h:29
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition
ISvcLocator.h:42
MsgStream
Definition of the MsgStream class used to transmit messages.
Definition
MsgStream.h:29
SmartIF
Small smart pointer class with automatic reference counting for IInterface.
Definition
SmartIF.h:28
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition
__init__.py:1
IDataManagerSvc
Definition
IDataManagerSvc.h:47
RootCnv
include
RootCnv
RootStatCnv.h
Generated on
for The Gaudi Framework by
1.17.0