43 prd_container_handle.
record(std::make_unique<HGTD_ClusterContainer>(
48 std::unique_ptr<DataPool<HGTD_Cluster>> dataItemsPool =
nullptr;
56 if (not rdo_container) {
58 return StatusCode::SUCCESS;
62 if (!hasExternalCache) {
63 dataItemsPool = std::make_unique<DataPool<HGTD_Cluster>>(ctx);
64 dataItemsPool->reserve(10000);
68 for (
const auto rdo_collection : *rdo_container) {
69 if (rdo_collection->empty()) {
73 std::unique_ptr<HGTD_ClusterCollection> prd_collection =
77 if (prd_collection->empty()) {
81 if (locp_prd_container
82 ->addCollection(prd_collection.release(),identifyHash)
93 if (not rdo_container) {
95 return StatusCode::SUCCESS;
99 if (!hasExternalCache) {
100 dataItemsPool = std::make_unique<DataPool<HGTD_Cluster>>(ctx);
101 dataItemsPool->reserve(10000);
106 for (
const auto rdo_collection : *rdo_container) {
107 if (rdo_collection->empty()) {
111 std::unique_ptr<HGTD_ClusterCollection> prd_collection =
115 if (prd_collection->empty()) {
118 const IdentifierHash identifyHash{prd_collection->identifyHash()};
119 if (locp_prd_container
120 ->addCollection(prd_collection.release(),identifyHash)
127 return StatusCode::SUCCESS;