| The Gaudi Framework v27r1

- 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 public:
40
42 RunRecordDataSvc(const std::string& nam, ISvcLocator* svc) : RecordDataSvc(nam,svc) {
43 m_cnvSvc = nullptr;
44 m_rootName = "/RunRecords";
45 m_incidentName = "NEW_RUN_RECORD";
46 m_saveIncidentName = "SAVE_RUN_RECORD";
47 m_persSvcName = "PersistencySvc/RecordPersistencySvc";
48 }
49
51 ~RunRecordDataSvc() override = default;
52
53 };
54
55 // Instantiation of a static factory class used by clients to create instances of this service
56 DECLARE_COMPONENT(RunRecordDataSvc)
57
RecordDataSvc::m_persSvcName
std::string m_persSvcName
Property: name of the persistency service.
Definition: RecordDataSvc.h:55
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
RecordDataSvc::m_incidentName
std::string m_incidentName
Property: name of incident to be fired if new record arrives.
Definition: RecordDataSvc.h:51
DataSvc::m_rootName
std::string m_rootName
Name of root event.
Definition: DataSvc.h:55
RecordDataSvc
A RecordDataSvc is the base class for event services.
Definition: RecordDataSvc.h:25
DECLARE_COMPONENT
#define DECLARE_COMPONENT(type)
Definition: PluginService.h:36
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::m_saveIncidentName
std::string m_saveIncidentName
Property: name of the "save" incident.
Definition: RecordDataSvc.h:53
RecordDataSvc.h
RunRecordDataSvc::RunRecordDataSvc
RunRecordDataSvc(const std::string &nam, ISvcLocator *svc)
Standard Constructor.
Definition: RunRecordDataSvc.cpp:42
RecordDataSvc::m_cnvSvc
SmartIF< IConversionSvc > m_cnvSvc
Reference to the main data conversion service.
Definition: RecordDataSvc.h:59