| The Gaudi Framework v32r1 (f65d50dc)

FileRecordDataSvc.cpp
Go to the documentation of this file.
1 //====================================================================
2 // FileRecordDataSvc.cpp
3 //--------------------------------------------------------------------
4 //
5 // Package : System ( The LHCb Offline System)
6 //
7 // Description: implementation of the Transient event data service.
8 //
9 // Author : M.Frank
10 // History :
11 // +---------+----------------------------------------------+---------
12 // | Date | Comment | Who
13 // +---------+----------------------------------------------+---------
14 // | 10/12/08| Initial version | MF
15 // +---------+----------------------------------------------+---------
16 //
17 //====================================================================
18 #define DATASVC_FILERECORDDATASVC_CPP
19
20 #include "RecordDataSvc.h"
21
38 class FileRecordDataSvc : public RecordDataSvc {
39 public:
41 FileRecordDataSvc( const std::string& nam, ISvcLocator* svc ) : RecordDataSvc( nam, svc ) {
42 m_cnvSvc = nullptr;
43 m_rootName = "/FileRecords";
44 m_incidentName = "NEW_FILE_RECORD";
45 m_saveIncidentName = "SAVE_FILE_RECORD";
46 m_persSvcName = "PersistencySvc/FileRecordPersistencySvc";
47 }
48 };
49
50 // Instantiation of a static factory class used by clients to create instances of this service
51 DECLARE_COMPONENT( FileRecordDataSvc )
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
DataSvc::m_rootName
Gaudi::Property< std::string > m_rootName
Definition: DataSvc.h:52
RecordDataSvc::m_saveIncidentName
Gaudi::Property< std::string > m_saveIncidentName
Definition: RecordDataSvc.h:46
RecordDataSvc
A RecordDataSvc is the base class for event services.
Definition: RecordDataSvc.h:24
FileRecordDataSvc::FileRecordDataSvc
FileRecordDataSvc(const std::string &nam, ISvcLocator *svc)
Standard Constructor.
Definition: FileRecordDataSvc.cpp:41
std::string
STL class.
DECLARE_COMPONENT
#define DECLARE_COMPONENT(type)
Definition: PluginServiceV1.h:46
RecordDataSvc.h
FileRecordDataSvc
A FileRecordDataSvc is the base class for event services.
Definition: FileRecordDataSvc.cpp:38
RecordDataSvc::m_incidentName
Gaudi::Property< std::string > m_incidentName
Definition: RecordDataSvc.h:44
RecordDataSvc::m_persSvcName
Gaudi::Property< std::string > m_persSvcName
Definition: RecordDataSvc.h:47
RecordDataSvc::m_cnvSvc
SmartIF< IConversionSvc > m_cnvSvc
Reference to the main data conversion service.
Definition: RecordDataSvc.h:53