1 #ifndef DETECTORDATASVC_DETDATASVC_H 2 #define DETECTORDATASVC_DETDATASVC_H 70 error() <<
"Trying to load " << pNode->identifier() <<
" while RUNNING" <<
endmsg;
95 "Detector Data Persistency Storage type"};
97 "location of detector Db (filename,URL)"};
101 "name of the persistency service"};
104 "if set to false, no new object can be loaded while in running state " 105 "(updates are still allowed), this forces preloading of the geometry"};
114 #endif // DETECTORDATASVC_DETDATASVC_H constexpr static const auto FAILURE
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
const std::string & name() const override
Retrieve name of the service.
Implementation of property with value of concrete type.
void handle(const Incident &) override
Inform that a new incident has occured.
bool validEventTime() const override
Check if the event time has been set.
StatusCode updateObject(IRegistry *pDirectory) override
Update object identified by its directory entry.
StatusCode updateObject(DataObject *toUpdate) override
Update object.
IAddressCreator interface definition.
Gaudi::Property< std::string > m_detDbRootName
~DetDataSvc() override=default
Standard Destructor.
Gaudi::Property< std::string > m_detDbLocation
const Gaudi::Time & eventTime() const override
Get the event time.
Gaudi::Property< bool > m_usePersistency
StatusCode setupDetectorDescription()
Deal with Detector Description initialization.
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
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.
DetDataSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
StatusCode reinitialize() override
Initialize the service.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
StatusCode finalize() override
Finalize the service.
StatusCode loadObject(IConversionSvc *pLoader, IRegistry *pNode) override final
Invoke Persistency service to create transient object from its persistent representation.
StatusCode initialize() override
Initialize the service.
const long XML_StorageType
Gaudi::Property< std::string > m_persistencySvcName
Gaudi::Time m_eventTime
Current event time.
Base class used to extend a class implementing other interfaces.
Base class for all Incidents (computing events).
Gaudi::StateMachine::State FSMState() const override
Gaudi::Property< int > m_detStorageType
void setEventTime(const Gaudi::Time &time) override
Set the new event time.
Gaudi::Property< bool > m_allowLoadInRunning
A DataObject is the base class of any identifiable object on any data store.
SmartIF< ISvcLocator > & serviceLocator() const override
Retrieve pointer to service locator.
virtual StatusCode loadObject(IRegistry *pNode)
Invoke Persistency service to create transient object from its persistent representation.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.