| The Gaudi Framework v29r0 (ff2e7097)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

RunRecordDataSvc.cpp
Go to the documentation of this file.
1 //====================================================================
2 // RunRecordDataSvc.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_RUNRECORDDATASVC_CPP
19
20 #include "RecordDataSvc.h"
21
38 class RunRecordDataSvc : public RecordDataSvc
39 {
40 public:
42 RunRecordDataSvc( const std::string& nam, ISvcLocator* svc ) : RecordDataSvc( nam, svc )
43 {
44 m_cnvSvc = nullptr;
45 m_rootName = "/RunRecords";
46 m_incidentName = "NEW_RUN_RECORD";
47 m_saveIncidentName = "SAVE_RUN_RECORD";
48 m_persSvcName = "PersistencySvc/RecordPersistencySvc";
49 }
50
52 ~RunRecordDataSvc() override = default;
53 };
54
55 // Instantiation of a static factory class used by clients to create instances of this service
56 DECLARE_COMPONENT( RunRecordDataSvc )
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:57
RecordDataSvc::m_saveIncidentName
Gaudi::Property< std::string > m_saveIncidentName
Definition: RecordDataSvc.h:50
RecordDataSvc
A RecordDataSvc is the base class for event services.
Definition: RecordDataSvc.h:24
DECLARE_COMPONENT
#define DECLARE_COMPONENT(type)
Definition: PluginService.h:33
std::string
STL class.
RunRecordDataSvc
A RunRecordDataSvc is the base class for event services.
Definition: RunRecordDataSvc.cpp:38
RunRecordDataSvc::~RunRecordDataSvc
~RunRecordDataSvc() override=default
Standard Destructor.
RecordDataSvc.h
RunRecordDataSvc::RunRecordDataSvc
RunRecordDataSvc(const std::string &nam, ISvcLocator *svc)
Standard Constructor.
Definition: RunRecordDataSvc.cpp:42
RecordDataSvc::m_incidentName
Gaudi::Property< std::string > m_incidentName
Definition: RecordDataSvc.h:48
RecordDataSvc::m_persSvcName
Gaudi::Property< std::string > m_persSvcName
Definition: RecordDataSvc.h:51
RecordDataSvc::m_cnvSvc
SmartIF< IConversionSvc > m_cnvSvc
Reference to the main data conversion service.
Definition: RecordDataSvc.h:57