|
ATLAS Offline Software
|
Go to the documentation of this file.
14 ISvcLocator* pSvcLocator) :
16 m_robDataProvider (
"ROBDataProviderSvc",
name ),
17 m_rawDataTool (
"TRTRawDataProviderTool",this ),
18 m_CablingSvc (
"TRT_CablingSvc",
name ),
59 return StatusCode::SUCCESS;
74 rdoContainer = std::make_unique<TRT_RDO_Container>(updateh.
ptr());
79 std::unique_ptr<TRT_BSErrContainer> bsErrCont=std::make_unique<TRT_BSErrContainer>();
81 std::vector<uint32_t> listOfRobs;
94 for (; roi!=roiE; ++roi) {
99 std::vector<const ROBFragment*> listOfRobf;
102 ATH_MSG_DEBUG(
"Number of ROB fragments " << listOfRobf.size() );
106 std::unique_ptr<DataPool<TRT_LoLumRawData>> dataItemsPool =
nullptr;
107 if (!hasExternalCache) {
108 dataItemsPool = std::make_unique<DataPool<TRT_LoLumRawData>>(ctx);
109 dataItemsPool->reserve(100000);
111 dataItemsPool = std::make_unique<DataPool<TRT_LoLumRawData>>(ctx);
115 if (
m_rawDataTool->convert(listOfRobf,&(*rdoContainer),bsErrCont.get(), dataItemsPool.get(), ctx).isFailure()){
124 ATH_CHECK(bsErrContHdl.record(std::move(bsErrCont)));
128 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
Const iterator class for DataVector/DataList.
SG::WriteHandleKey< TRT_RDO_Container > m_rdoContainerKey
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual StatusCode initialize()
Initialize.
SG::UpdateHandleKey< TRT_RDO_Cache > m_rdoCacheKey
TRTRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
nope - should be used for standalone also, perhaps need to protect the class def bits #ifndef XAOD_AN...
bool empty() const
Test if the key is blank.
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
pointer_type ptr()
Dereference the pointer.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
An algorithm that can be simultaneously executed in multiple threads.
ServiceHandle< ITRT_CablingSvc > m_CablingSvc
virtual StatusCode execute(const EventContext &ctx) const
Execute.
virtual bool hasExternalCache() const override final
virtual size_t numberOfCollections() const override final
return number of collections
void push_back(const IRoiDescriptor *roi)
add a RoiDescriptor
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual bool isValid() override final
Can the handle be successfully dereferenced?
eformat::ROBFragment< PointerType > ROBFragment
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
size_type straw_hash_max(void) const
#define ATH_MSG_WARNING(x)
ToolHandle< IRegSelTool > m_regionSelector
void setComposite(bool b=true)
SG::WriteHandleKey< TRT_BSErrContainer > m_bsErrContKey
Gaudi::Property< bool > m_useDataPoolWithCache
bool manageConstituents() const
always manage constituents ???
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
ToolHandle< ITRTRawDataProviderTool > m_rawDataTool
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.