76 error() <<
"Trying to load " << pNode->identifier() <<
" while RUNNING" <<
endmsg;
101 "Detector Data Persistency Storage type" };
103 "location of detector Db (filename,URL)" };
111 "name of the root node of the detector" };
114 "name of the persistency service" };
117 "if set to false, no new object can be loaded while in running state "
118 "(updates are still allowed), this forces preloading of the geometry" };
bool PyHelper setProperty(IInterface *p, char *name, char *value)
const long XML_StorageType
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
A DataObject is the base class of any identifiable object on any data store.
Gaudi::Time m_eventTime
Current event time.
StatusCode initialize() override
Initialize the service.
Gaudi::Property< int > m_detStorageType
Gaudi::Property< std::string > m_detDbLocation
DetDataSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
StatusCode setupDetectorDescription()
Deal with Detector Description initialization.
bool validEventTime() const override
Check if the event time has been set.
Gaudi::Property< std::string > m_detDbRootName
StatusCode reinitialize() override
Initialize the service.
StatusCode clearStore() override
Remove all data objects in the data store.
StatusCode finalize() override
Finalize the service.
void setEventTime(const Gaudi::Time &time) override
Set the new event time.
Gaudi::Property< bool > m_usePersistency
SmartIF< IAddressCreator > m_addrCreator
Address Creator to be used.
Gaudi::Property< bool > m_allowLoadInRunning
Gaudi::Property< std::string > m_persistencySvcName
StatusCode loadObject(IConversionSvc *pLoader, IRegistry *pNode) override final
Invoke Persistency service to create transient object from its persistent representation.
StatusCode updateObject(DataObject *toUpdate) override
Update object.
void handle(const Incident &) override
Inform that a new incident has occured.
const Gaudi::Time & eventTime() const override
Get the event time.
~DetDataSvc() override=default
Standard Destructor.
PropertyBase base class allowing PropertyBase* collections to be "homogeneous".
Implementation of property with value of concrete type.
IAddressCreator interface definition.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Base class for all Incidents (computing events).
Gaudi::StateMachine::State FSMState() const override
SmartIF< ISvcLocator > & serviceLocator() const override
Retrieve pointer to service locator.
const std::string & name() const override
Retrieve name of the service.
Small smart pointer class with automatic reference counting for IInterface.
This class is used for returning status codes from appropriate routines.
constexpr static const auto FAILURE
StatusCode updateObject(IRegistry *pDirectory) override
Update object identified by its directory entry.
virtual StatusCode loadObject(IRegistry *pNode)
Invoke Persistency service to create transient object from its persistent representation.
Base class used to extend a class implementing other interfaces.
Gaudi::tagged_bool< class ImmediatelyInvokeHandler_tag > ImmediatelyInvokeHandler