1 #ifndef DETECTORDATASVC_DETDATASVC_H
2 #define DETECTORDATASVC_DETDATASVC_H
7 #include "GaudiKernel/TsDataSvc.h"
8 #include "GaudiKernel/IDetDataSvc.h"
9 #include "GaudiKernel/IIncidentListener.h"
10 #include "GaudiKernel/Time.h"
109 #endif // DETECTORDATASVC_DETDATASVC_H
bool validEventTime() const override
Check if the event time has been set.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
const Gaudi::Time & eventTime() const override
Get the event time.
void handle(const Incident &) override
Inform that a new incident has occured.
StatusCode updateObject(IRegistry *pDirectory) override
Update object identified by its directory entry.
StatusCode updateObject(DataObject *toUpdate) override
Update object.
IAddressCreator interface definition.
~DetDataSvc() override=default
Standard Destructor.
const long XML_StorageType
std::string m_persistencySvcName
Name of the persistency service.
StatusCode setupDetectorDescription()
Deal with Detector Description initialization.
StatusCode clearStore() override
Remove all data objects in the data store.
This class is used for returning status codes from appropriate routines.
SmartIF< IAddressCreator > m_addrCreator
Address Creator to be used.
int m_detStorageType
Detector Data Persistency Storage type.
DetDataSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
StatusCode reinitialize() override
Initialize the service.
StatusCode finalize() override
Finalize the service.
StatusCode initialize() override
Initialize the service.
std::string m_detDbRootName
Name of the root node of the detector.
Gaudi::Time m_eventTime
Current event time.
Base class used to extend a class implementing other interfaces.
std::string m_detDbLocation
Location of detector Db (filename,URL)
Base class for all Incidents (computing events).
void setEventTime(const Gaudi::Time &time) override
Set the new event time.
A DataObject is the base class of any identifiable object on any data store.
bool m_usePersistency
Flag to control if the persistency is required.