The Gaudi Framework
master (540bd3e5)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
c
d
e
f
i
l
m
n
o
p
q
r
s
t
v
Enumerator
a
b
c
d
e
f
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Properties
Related Functions
:
a
b
c
d
e
g
h
i
m
o
p
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
u
z
Variables
a
b
c
d
e
g
h
i
m
o
p
q
r
s
t
v
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Enumerations
Enumerator
c
e
f
p
u
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
EvtDataSvc.cpp
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
// EvtDataSvc.cpp
13
//--------------------------------------------------------------------
14
//
15
// Package : System ( The LHCb Offline System)
16
//
17
// Description: implementation of the Transient event data service.
18
//
19
// Author : M.Frank
20
// History :
21
// +---------+----------------------------------------------+---------
22
// | Date | Comment | Who
23
// +---------+----------------------------------------------+---------
24
// | 29/10/98| Initial version | MF
25
// +---------+----------------------------------------------+---------
26
//
27
//====================================================================
28
#define DATASVC_EVTDATASVC_CPP
29
30
#include <
GaudiKernel/IConversionSvc.h
>
31
#include <
GaudiKernel/ISvcLocator.h
>
32
33
#include "
EvtDataSvc.h
"
34
35
// Instantiation of a static factory class used by clients to create
36
// instances of this service
37
DECLARE_COMPONENT
(
EvtDataSvc
)
38
39
StatusCode
EvtDataSvc::initialize
() {
41
// Nothing to do: just call base class initialisation
42
StatusCode
status =
DataSvc::initialize
();
43
44
// Attach data loader facility
45
m_cnvSvc
=
serviceLocator
()->service(
"EventPersistencySvc"
);
46
status =
setDataLoader
(
m_cnvSvc
);
47
return
status;
48
}
50
StatusCode
EvtDataSvc::reinitialize
() {
51
// Do nothing for this service
52
return
StatusCode::SUCCESS
;
53
}
55
StatusCode
EvtDataSvc::finalize
() {
56
m_cnvSvc
=
nullptr
;
// release
57
DataSvc::finalize
().
ignore
();
58
return
StatusCode::SUCCESS
;
59
}
EvtDataSvc::initialize
StatusCode initialize() override
Service initialisation.
Definition:
EvtDataSvc.cpp:40
DataSvc::setDataLoader
StatusCode setDataLoader(IConversionSvc *svc, IDataProviderSvc *dpsvc=nullptr) override
IDataManagerSvc: IDataManagerSvc: Pass a default data loader to the service and optionally a data pro...
Definition:
DataSvc.cpp:186
EvtDataSvc::reinitialize
StatusCode reinitialize() override
Service reinitialisation.
Definition:
EvtDataSvc.cpp:50
EvtDataSvc.h
EvtDataSvc::finalize
StatusCode finalize() override
Service finalization.
Definition:
EvtDataSvc.cpp:55
StatusCode
Definition:
StatusCode.h:65
StatusCode::ignore
const StatusCode & ignore() const
Allow discarding a StatusCode without warning.
Definition:
StatusCode.h:140
EvtDataSvc
Definition:
EvtDataSvc.h:23
StatusCode::SUCCESS
constexpr static const auto SUCCESS
Definition:
StatusCode.h:100
DECLARE_COMPONENT
#define DECLARE_COMPONENT(type)
Definition:
PluginServiceV1.h:46
DataSvc::initialize
StatusCode initialize() override
Service initialization.
Definition:
DataSvc.cpp:821
IConversionSvc.h
ISvcLocator.h
Service::serviceLocator
SmartIF< ISvcLocator > & serviceLocator() const override
Retrieve pointer to service locator
Definition:
Service.cpp:337
DataSvc::finalize
StatusCode finalize() override
Service initialization.
Definition:
DataSvc.cpp:854
EvtDataSvc::m_cnvSvc
SmartIF< IConversionSvc > m_cnvSvc
Definition:
EvtDataSvc.h:31
GaudiCommonSvc
src
DataSvc
EvtDataSvc.cpp
Generated on Wed Jun 4 2025 17:11:04 for The Gaudi Framework by
1.8.18