Go to the documentation of this file.
11 #ifndef DETECTORDATASVC_DETDATASVC_H
12 #define DETECTORDATASVC_DETDATASVC_H
77 error() <<
"Trying to load " << pNode->identifier() <<
" while RUNNING" <<
endmsg;
102 "Detector Data Persistency Storage type" };
104 "location of detector Db (filename,URL)" };
112 "name of the root node of the detector" };
115 "name of the persistency service" };
118 "if set to false, no new object can be loaded while in running state "
119 "(updates are still allowed), this forces preloading of the geometry" };
128 #endif // DETECTORDATASVC_DETDATASVC_H
virtual StatusCode loadObject(IRegistry *pNode)
Invoke Persistency service to create transient object from its persistent representation.
PropertyBase base class allowing PropertyBase* collections to be "homogeneous".
Gaudi::Property< std::string > m_detDbRootName
StatusCode initialize() override
Initialize the service.
StatusCode setProperty(const Gaudi::Details::PropertyBase &p)
Set the property from a property.
SmartIF< IAddressCreator > m_addrCreator
Address Creator to be used.
void setEventTime(const Gaudi::Time &time) override
Set the new event time.
StatusCode updateObject(DataObject *toUpdate) override
Update object.
Gaudi::StateMachine::State FSMState() const override
Gaudi::Property< bool > m_allowLoadInRunning
const std::string & name() const override
Retrieve name of the service
StatusCode loadObject(IConversionSvc *pLoader, IRegistry *pNode) override final
Invoke Persistency service to create transient object from its persistent representation.
Gaudi::Property< bool > m_usePersistency
const long XML_StorageType
bool validEventTime() const override
Check if the event time has been set.
~DetDataSvc() override=default
Standard Destructor.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
DetDataSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
Base class used to extend a class implementing other interfaces.
StatusCode finalize() override
Finalize the service.
Gaudi::Property< std::string > m_persistencySvcName
const StatusCode & ignore() const
Allow discarding a StatusCode without warning.
const Gaudi::Time & eventTime() const override
Get the event time.
StatusCode setupDetectorDescription()
Deal with Detector Description initialization.
Gaudi::Property< std::string > m_detDbLocation
StatusCode updateObject(IRegistry *pDirectory) override
Update object identified by its directory entry.
StatusCode reinitialize() override
Initialize the service.
StatusCode clearStore() override
Remove all data objects in the data store.
void handle(const Incident &) override
Inform that a new incident has occured.
Gaudi::Property< int > m_detStorageType
constexpr static const auto FAILURE
Gaudi::Time m_eventTime
Current event time.
SmartIF< ISvcLocator > & serviceLocator() const override
Retrieve pointer to service locator