![]() |
The Gaudi Framework
v27r0
|
#include <DetectorDataSvc/DetDataSvc.h>


Public Member Functions | |
| StatusCode | initialize () override |
| Initialize the service. More... | |
| StatusCode | reinitialize () override |
| Initialize the service. More... | |
| StatusCode | finalize () override |
| Finalize the service. More... | |
| StatusCode | clearStore () override |
| Remove all data objects in the data store. More... | |
| StatusCode | updateObject (DataObject *toUpdate) override |
| Update object. More... | |
| DetDataSvc (const std::string &name, ISvcLocator *svc) | |
| Standard Constructor. More... | |
| ~DetDataSvc () override=default | |
| Standard Destructor. More... | |
| bool | validEventTime () const override |
| Check if the event time has been set. More... | |
| const Gaudi::Time & | eventTime () const override |
| Get the event time. More... | |
| void | setEventTime (const Gaudi::Time &time) override |
| Set the new event time. More... | |
| void | handle (const Incident &) override |
| Inform that a new incident has occured. More... | |
Public Member Functions inherited from extends< BASE, Interfaces > | |
| void * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. More... | |
| StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. More... | |
| std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. More... | |
| ~extends () override=default | |
| Virtual destructor. More... | |
| void * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. More... | |
| StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. More... | |
| std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. More... | |
| ~extends () override=default | |
| Virtual destructor. More... | |
Public Member Functions inherited from extend_interfaces< Interfaces...> | |
| ~extend_interfaces () override=default | |
| Virtual destructor. More... | |
| ~extend_interfaces () override=default | |
| Virtual destructor. More... | |
Private Member Functions | |
| StatusCode | setupDetectorDescription () |
| Deal with Detector Description initialization. More... | |
Private Attributes | |
| int | m_detStorageType = XML_StorageType |
| Detector Data Persistency Storage type. More... | |
| std::string | m_detDbLocation = "empty" |
| Location of detector Db (filename,URL) More... | |
| std::string | m_detDbRootName = "dd" |
| Name of the root node of the detector. More... | |
| std::string | m_persistencySvcName = "DetectorPersistencySvc" |
| Name of the persistency service. More... | |
| bool | m_usePersistency = false |
| Flag to control if the persistency is required. More... | |
| Gaudi::Time | m_eventTime = 0 |
| Current event time. More... | |
| SmartIF< IAddressCreator > | m_addrCreator = nullptr |
| Address Creator to be used. More... | |
Additional Inherited Members | |
Public Types inherited from extends< BASE, Interfaces > | |
| using | base_class = extends |
| Typedef to this class. More... | |
| using | extend_interfaces_base = extend_interfaces< Interfaces...> |
| Typedef to the base of this class. More... | |
| using | base_class = extends |
| Typedef to this class. More... | |
| using | extend_interfaces_base = extend_interfaces< Interfaces...> |
| Typedef to the base of this class. More... | |
Public Types inherited from extend_interfaces< Interfaces...> | |
| using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
| take union of the ext_iids of all Interfaces... More... | |
| using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
| take union of the ext_iids of all Interfaces... More... | |
A DataSvc specialized in detector data. Now inherits from TsDataSvc, a thread safe version of the DataSvc, which allows concurrent retrieval of DataObjects.
Definition at line 28 of file DetDataSvc.h.
| DetDataSvc::DetDataSvc | ( | const std::string & | name, |
| ISvcLocator * | svc | ||
| ) |
Standard Constructor.
Definition at line 183 of file DetDataSvc.cpp.
|
overridedefault |
Standard Destructor.
|
override |
Remove all data objects in the data store.
Definition at line 150 of file DetDataSvc.cpp.
|
override |
|
override |
Finalize the service.
Definition at line 131 of file DetDataSvc.cpp.
|
override |
Inform that a new incident has occured.
Inform that a new incident has occurred.
Definition at line 211 of file DetDataSvc.cpp.
|
override |
Initialize the service.
Definition at line 27 of file DetDataSvc.cpp.
|
override |
|
override |
Set the new event time.
Definition at line 195 of file DetDataSvc.cpp.
|
private |
Deal with Detector Description initialization.
Definition at line 55 of file DetDataSvc.cpp.
|
override |
Update object.
Definition at line 221 of file DetDataSvc.cpp.
|
override |
Check if the event time has been set.
Kept for backward compatibility, returns always true.
Definition at line 201 of file DetDataSvc.cpp.
|
private |
Address Creator to be used.
Definition at line 105 of file DetDataSvc.h.
|
private |
Location of detector Db (filename,URL)
Definition at line 90 of file DetDataSvc.h.
|
private |
Name of the root node of the detector.
Definition at line 93 of file DetDataSvc.h.
|
private |
Detector Data Persistency Storage type.
Definition at line 87 of file DetDataSvc.h.
|
private |
Current event time.
Definition at line 102 of file DetDataSvc.h.
|
private |
Name of the persistency service.
Definition at line 96 of file DetDataSvc.h.
|
private |
Flag to control if the persistency is required.
Definition at line 99 of file DetDataSvc.h.