18 ISvcLocator* pSvcLocator)
31 return StatusCode::SUCCESS;
43 if (not rdo_container) {
45 return StatusCode::SUCCESS;
53 prd_container_handle.
record(std::make_unique<HGTD_ClusterContainer>(
58 std::unique_ptr<DataPool<HGTD_Cluster>> dataItemsPool =
nullptr;
60 if (!hasExternalCache) {
61 dataItemsPool = std::make_unique<DataPool<HGTD_Cluster>>(ctx);
62 dataItemsPool->reserve(10000);
67 for (
const auto rdo_collection : *rdo_container) {
68 if (rdo_collection->empty()) {
72 std::unique_ptr<HGTD_ClusterCollection> prd_collection =
76 if (prd_collection->empty()) {
80 if (locp_prd_container
81 ->addCollection(prd_collection.release(),identifyHash)
87 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
Trk::PrepRawDataContainer< HGTD_ClusterCollection > HGTD_ClusterContainer
Header file to be included by clients of the Monitored infrastructure.
Handle class for recording to StoreGate.
const ServiceHandle< StoreGateSvc > & detStore() const
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteHandleKey< HGTD_ClusterContainer > m_prd_wh_key
SG::ReadHandleKey< HGTD_RDO_Container > m_rdo_rh_key
virtual StatusCode initialize() override final
virtual StatusCode execute(const EventContext &ctx) const override final
PadClusterizationAlg(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< IHGTD_PadClusterizationTool > m_clusterization_tool
const HGTD_ID * m_hgtd_idhelper
ToolHandle< GenericMonitoringTool > m_monTool
virtual bool hasExternalCache() const override final
This is a "hash" representation of an Identifier.
Group of local monitoring quantities and retain correlation when filling histograms
const_pointer_type cptr()
Dereference the pointer.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
pointer_type ptr()
Dereference the pointer.
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration.