RunRecordDataSvc Class Reference

A RunRecordDataSvc is the base class for event services. More...

Inheritance diagram for RunRecordDataSvc:
Collaboration diagram for RunRecordDataSvc:

Public Member Functions

 RunRecordDataSvc (const std::string &nam, ISvcLocator *svc)
 Standard Constructor. More...
 
 ~RunRecordDataSvc () override=default
 Standard Destructor. More...
 
- Public Member Functions inherited from RecordDataSvc
StatusCode initialize () override
 Service initialisation. More...
 
StatusCode finalize () override
 Service finalization. More...
 
void handle (const Incident &incident) override
 IIncidentListener override: Inform that a new incident has occured. More...
 
 RecordDataSvc (const std::string &name, ISvcLocator *svc)
 Standard Constructor. More...
 
 ~RecordDataSvc () override=default
 Standard Destructor. More...
 
- Public Member Functions inherited from extends< BASE, Interfaces >
void * i_cast (const InterfaceID &tid) const override
 Implementation of IInterface::i_cast. More...
 
StatusCode queryInterface (const InterfaceID &ti, void **pp) override
 Implementation of IInterface::queryInterface. More...
 
std::vector< std::string > getInterfaceNames () const override
 Implementation of IInterface::getInterfaceNames. More...
 
 ~extends () override=default
 Virtual destructor. More...
 
void * i_cast (const InterfaceID &tid) const override
 Implementation of IInterface::i_cast. More...
 
StatusCode queryInterface (const InterfaceID &ti, void **pp) override
 Implementation of IInterface::queryInterface. More...
 
std::vector< std::string > getInterfaceNames () const override
 Implementation of IInterface::getInterfaceNames. More...
 
 ~extends () override=default
 Virtual destructor. More...
 
- Public Member Functions inherited from extend_interfaces< Interfaces...>
 ~extend_interfaces () override=default
 Virtual destructor. More...
 
 ~extend_interfaces () override=default
 Virtual destructor. More...
 

Additional Inherited Members

- Public Types inherited from extends< BASE, Interfaces >
using base_class = extends
 Typedef to this class. More...
 
using extend_interfaces_base = extend_interfaces< Interfaces...>
 Typedef to the base of this class. More...
 
using base_class = extends
 Typedef to this class. More...
 
using extend_interfaces_base = extend_interfaces< Interfaces...>
 Typedef to the base of this class. More...
 
- Public Types inherited from extend_interfaces< Interfaces...>
using ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type
 take union of the ext_iids of all Interfaces... More...
 
using ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type
 take union of the ext_iids of all Interfaces... More...
 
- Protected Member Functions inherited from RecordDataSvc
void registerRecord (const std::string &data, IOpaqueAddress *pAddr)
 Load new record into the data store if necessary. More...
 
void loadRecords (IRegistry *pReg)
 Load dependent records into memory. More...
 
- Protected Attributes inherited from RecordDataSvc
bool m_autoLoad
 Property: autoload of records (default: true) More...
 
std::string m_incidentName
 Property: name of incident to be fired if new record arrives. More...
 
std::string m_saveIncidentName
 Property: name of the "save" incident. More...
 
std::string m_persSvcName
 Property: name of the persistency service. More...
 
std::vector< std::string > m_incidents
 Pending new file incidents. More...
 
SmartIF< IConversionSvcm_cnvSvc
 Reference to the main data conversion service. More...
 

Detailed Description

A RunRecordDataSvc is the base class for event services.

When a new datafile is opened the data service retrieves an incident from the persistency area (currently only from POOL) together with an opaque address describing the run record. These history records are put onto the run-records datastore under the name of the logical file (FID): /RunRecords/<FID>/.....

Hence, each history records can be addresses the same way: /RunRecord/<FID>

Author
M.Frank
Version
1.0

Definition at line 38 of file RunRecordDataSvc.cpp.

Constructor & Destructor Documentation

RunRecordDataSvc::RunRecordDataSvc ( const std::string &  nam,
ISvcLocator svc 
)
inline

Standard Constructor.

Definition at line 42 of file RunRecordDataSvc.cpp.

42  : 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  }
std::string m_persSvcName
Property: name of the persistency service.
Definition: RecordDataSvc.h:54
std::string m_incidentName
Property: name of incident to be fired if new record arrives.
Definition: RecordDataSvc.h:50
std::string m_saveIncidentName
Property: name of the "save" incident.
Definition: RecordDataSvc.h:52
RecordDataSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
SmartIF< IConversionSvc > m_cnvSvc
Reference to the main data conversion service.
Definition: RecordDataSvc.h:58
RunRecordDataSvc::~RunRecordDataSvc ( )
overridedefault

Standard Destructor.


The documentation for this class was generated from the following file: