|
ATLAS Offline Software
|
Go to the documentation of this file.
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
87 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
Group
Properties of a chain group.
const_pointer_type cptr()
Dereference the pointer.
ToolHandle< GenericMonitoringTool > m_monTool
virtual StatusCode initialize() override final
PadClusterizationAlg(const std::string &name, ISvcLocator *pSvcLocator)
def timer(name, disabled=False)
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.
virtual bool hasExternalCache() const override final
Handle class for recording to StoreGate.
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration.
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
virtual IdentifierHash identifyHash() const override final
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::ReadHandleKey< HGTD_RDO_Container > m_rdo_rh_key
Header file to be included by clients of the Monitored infrastructure.
size_type wafer_hash_max(void) const
IDC::IDENTIFIABLE * addCollection(const Identifier collId, IDC *idc, const IDHELPER &idHelper, MsgStream &log)
const HGTD_ID * m_hgtd_idhelper
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
#define ATH_MSG_WARNING(x)
ToolHandle< IHGTD_PadClusterizationTool > m_clusterization_tool
SG::WriteHandleKey< HGTD_ClusterContainer > m_prd_wh_key
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
bool empty() const noexcept
Returns true if the collection is empty.
virtual StatusCode execute(const EventContext &ctx) const override final