|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "GaudiKernel/IDataProviderSvc.h"
7 #include "GaudiKernel/SmartDataPtr.h"
39 ATH_MSG_INFO(
"Creating TBDetDescrManager in DetectorStore" );
47 std::vector<TBElement>
vec;
62 ATH_MSG_ERROR(
"failed to register TBDetDescrManager in Detector Store" );
78 if (
sc != StatusCode::SUCCESS) {
79 ATH_MSG_INFO(
"unable to fill address for " << (*addr->par())
80 <<
" with CLID " << addr->clID()
81 <<
" and storage type " << addr->svcType()
82 <<
" to detector store " );
85 unsigned int st = addr->svcType();
87 <<
" with CLID " << addr->clID()
88 <<
" and storage type " << st
89 <<
" to detector store " );
95 ATH_MSG_INFO(
"Retrieving TBDetDescrManager from DetectorStore" );
99 ATH_MSG_ERROR(
"Unable to retrieve TBDetDescrManager from DetectorStore" );
102 return StatusCode::RECOVERABLE;
108 return StatusCode::SUCCESS;
145 ATH_MSG_FATAL(
"failed to register the TBElementContainer" );
146 return StatusCode::FAILURE;
177 return StatusCode::SUCCESS;
183 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
TBDetDescrLoader(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::vector< size_t > vec
TBDetDescrManager * m_TBDDM
const TBDetDescrManager * c_TBDDM
void initialize(const std::vector< TBElement > &vec)
void getAll(TBElementContainer *pTBElementContainer) const
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
void print(MsgStream &log) const
virtual StatusCode execute() override
typename vecDetail::vec_typedef< T, N >::type vec
Define a nice alias for the vectorized type.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode initialize() override
::StatusCode StatusCode
StatusCode definition for legacy code.
Default, invalid implementation of ClassID_traits.
std::string m_TBDetDescrManager
std::string m_TBElementContainer
virtual ~TBDetDescrLoader()
virtual StatusCode finalize() override