The Gaudi Framework  master (b9786168)
Loading...
Searching...
No Matches
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
32
33#include "EvtDataSvc.h"
34
35// Instantiation of a static factory class used by clients to create
36// instances of this service
38
39
41 // Nothing to do: just call base class initialisation
43
44 // Attach data loader facility
45 m_cnvSvc = serviceLocator()->service( "EventPersistencySvc" );
46 status = setDataLoader( m_cnvSvc );
47 return status;
48}
49
51 // Do nothing for this service
53}
54
56 m_cnvSvc = nullptr; // release
59}
#define DECLARE_COMPONENT(type)
StatusCode finalize() override
Service initialization.
Definition DataSvc.cpp:828
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:160
StatusCode initialize() override
Service initialization.
Definition DataSvc.cpp:795
A EvtDataSvc is the base class for event services.
Definition EvtDataSvc.h:22
SmartIF< IConversionSvc > m_cnvSvc
Definition EvtDataSvc.h:30
StatusCode reinitialize() override
Service reinitialisation.
StatusCode finalize() override
Service finalization.
StatusCode initialize() override
Service initialisation.
SmartIF< ISvcLocator > & serviceLocator() const override
Retrieve pointer to service locator.
Definition Service.cpp:336
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64
const StatusCode & ignore() const
Allow discarding a StatusCode without warning.
Definition StatusCode.h:139
constexpr static const auto SUCCESS
Definition StatusCode.h:99