|
Gaudi Framework, version v23r2 |
| Home | Generated: Thu Jun 28 2012 |
00001 //==================================================================== 00002 // RunRecordDataSvc.cpp 00003 //-------------------------------------------------------------------- 00004 // 00005 // Package : System ( The LHCb Offline System) 00006 // 00007 // Description: implementation of the Transient event data service. 00008 // 00009 // Author : M.Frank 00010 // History : 00011 // +---------+----------------------------------------------+--------- 00012 // | Date | Comment | Who 00013 // +---------+----------------------------------------------+--------- 00014 // | 10/12/08| Initial version | MF 00015 // +---------+----------------------------------------------+--------- 00016 // 00017 //==================================================================== 00018 #define DATASVC_RUNRECORDDATASVC_CPP 00019 00020 #include "GaudiKernel/SvcFactory.h" 00021 #include "RecordDataSvc.h" 00022 00023 00024 00041 class RunRecordDataSvc : public RecordDataSvc { 00042 public: 00043 00045 RunRecordDataSvc(const std::string& nam, ISvcLocator* svc) : RecordDataSvc(nam,svc) { 00046 m_cnvSvc = 0; 00047 m_rootName = "/RunRecords"; 00048 m_incidentName = "NEW_RUN_RECORD"; 00049 m_saveIncidentName = "SAVE_RUN_RECORD"; 00050 m_persSvcName = "PersistencySvc/RecordPersistencySvc"; 00051 } 00052 00054 virtual ~RunRecordDataSvc() {} 00055 00056 }; 00057 00058 // Instantiation of a static factory class used by clients to create instances of this service 00059 DECLARE_SERVICE_FACTORY(RunRecordDataSvc) 00060