The Gaudi Framework
v36r9p1 (5c15b2bb)
FileRecordDataSvc.cpp
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 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
// FileRecordDataSvc.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
// | 10/12/08| Initial version | MF
25
// +---------+----------------------------------------------+---------
26
//
27
//====================================================================
28
#define DATASVC_FILERECORDDATASVC_CPP
29
30
#include "
RecordDataSvc.h
"
31
48
class
FileRecordDataSvc
:
public
RecordDataSvc
{
49
public
:
51
FileRecordDataSvc
(
const
std::string
& nam,
ISvcLocator
* svc ) :
RecordDataSvc
( nam, svc ) {
52
m_cnvSvc
=
nullptr
;
53
m_rootName
=
"/FileRecords"
;
54
m_incidentName
=
"NEW_FILE_RECORD"
;
55
m_saveIncidentName
=
"SAVE_FILE_RECORD"
;
56
m_persSvcName
=
"PersistencySvc/FileRecordPersistencySvc"
;
57
}
58
};
59
60
// Instantiation of a static factory class used by clients to create instances of this service
61
DECLARE_COMPONENT
(
FileRecordDataSvc
)
std::string
STL class.
ISvcLocator
Definition:
ISvcLocator.h:46
RecordDataSvc::m_incidentName
Gaudi::Property< std::string > m_incidentName
Definition:
RecordDataSvc.h:54
RecordDataSvc::m_persSvcName
Gaudi::Property< std::string > m_persSvcName
Definition:
RecordDataSvc.h:57
RecordDataSvc.h
RecordDataSvc::m_cnvSvc
SmartIF< IConversionSvc > m_cnvSvc
Reference to the main data conversion service.
Definition:
RecordDataSvc.h:63
DataSvc::m_rootName
Gaudi::Property< std::string > m_rootName
Definition:
DataSvc.h:62
RecordDataSvc::m_saveIncidentName
Gaudi::Property< std::string > m_saveIncidentName
Definition:
RecordDataSvc.h:56
FileRecordDataSvc
Definition:
FileRecordDataSvc.cpp:48
RecordDataSvc
Definition:
RecordDataSvc.h:34
DECLARE_COMPONENT
#define DECLARE_COMPONENT(type)
Definition:
PluginServiceV1.h:46
FileRecordDataSvc::FileRecordDataSvc
FileRecordDataSvc(const std::string &nam, ISvcLocator *svc)
Standard Constructor.
Definition:
FileRecordDataSvc.cpp:51
GaudiCommonSvc
src
DataSvc
FileRecordDataSvc.cpp
Generated on Fri Feb 3 2023 18:02:52 for The Gaudi Framework by
1.8.18