1 #ifndef DETECTORDATASVC_DETDATASVC_H 2 #define DETECTORDATASVC_DETDATASVC_H 68 error() <<
"Trying to load " << pNode->identifier() <<
" while RUNNING" <<
endmsg;
93 "Detector Data Persistency Storage type"};
95 "location of detector Db (filename,URL)"};
103 "name of the root node of the detector"};
106 "name of the persistency service"};
109 "if set to false, no new object can be loaded while in running state " 110 "(updates are still allowed), this forces preloading of the geometry"};
119 #endif // DETECTORDATASVC_DETDATASVC_H
bool validEventTime() const override
Check if the event time has been set.
SmartIF< ISvcLocator > & serviceLocator() const override
Retrieve pointer to service locator.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Implementation of property with value of concrete type.
Gaudi::StateMachine::State FSMState() const override
StatusCode setProperty(const Gaudi::Details::PropertyBase &p) override
set the property form another property
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.
Gaudi::tagged_bool< class ImmediatelyInvokeHandler_tag > ImmediatelyInvokeHandler
IAddressCreator interface definition.
Gaudi::Property< std::string > m_detDbRootName
~DetDataSvc() override=default
Standard Destructor.
Gaudi::Property< std::string > m_detDbLocation
Gaudi::Property< bool > m_usePersistency
StatusCode setupDetectorDescription()
Deal with Detector Description initialization.
const std::string & name() const override
Retrieve name of the service.
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
A DataSvc specialized in detector data.
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.
PropertyBase base class allowing PropertyBase* collections to be "homogeneous".
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
const StatusCode & ignore() const
Ignore/check StatusCode.
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).
constexpr static const auto FAILURE
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.
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.