|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include "GaudiKernel/IConversionSvc.h"
13 #include "GaudiKernel/IConverter.h"
14 #include "GaudiKernel/IDataSelector.h"
15 #include "GaudiKernel/IOpaqueAddress.h"
16 #include "GaudiKernel/ISvcLocator.h"
27 m_detStore(
"DetectorStore",
name)
105 return StatusCode::SUCCESS;
114 const std::string * ,
115 const unsigned long * ,
116 IOpaqueAddress *&refpAddress) {
117 refpAddress =
nullptr;
118 return StatusCode::FAILURE;
124 const std::string &refAddress,
125 IOpaqueAddress *&refpAddress) {
133 return StatusCode::FAILURE;
135 if (ddAddr->
fromString(refAddress).isFailure()) {
137 log <<
MSG::FATAL <<
"Could not assign address " << refAddress
139 return StatusCode::FAILURE;
144 return (refpAddress != 0) ? StatusCode::SUCCESS : StatusCode::FAILURE;
150 std::string &refAddress) {
154 return StatusCode::FAILURE;
161 const std::string &
name)
const {
170 ATH_MSG_INFO(
" filling address for " << (*addr->par()) <<
" with CLID "
171 << addr->clID() <<
" and storage type "
173 <<
" to detector store ");
174 return StatusCode::SUCCESS;
StatusCode toString(std::string &refString) const
write technology-specific part of address to string
ServiceHandle< StoreGateSvc > m_detStore
virtual StatusCode initialize()
Initialize the service.
BooleanProperty m_hasSTGC
virtual StatusCode convertAddress(const IOpaqueAddress *pAddress, std::string &refAddress)
Convert address to string form.
BooleanProperty m_hasCSC
Switch on/off the muon detectors.
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.
AthROOTErrorHandlerSvc * svc
virtual ~DetDescrCnvSvc()
Standard Destructor.
uint32_t CLID
The Class ID type.
virtual StatusCode createAddress(long svc_type, const CLID &clid, const std::string *par, const unsigned long *ip, IOpaqueAddress *&refpAddress)
Basic create address.
DetDescrCnvSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
constexpr long DetDescr_StorageType
virtual StatusCode addToDetStore(const CLID &clid, const std::string &name) const
Add new address to the Detector Store.
StatusCode fromString(const std::string &stringifiedIOA)
initialize technology-specific part of IOA from stringifiedIOA