ATLAS Offline Software
Loading...
Searching...
No Matches
ITkPixelEncodingAlg.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
7
8ITkPixelEncodingAlg::ITkPixelEncodingAlg(const std::string& name, ISvcLocator* pSvcLocator) :
9 AthReentrantAlgorithm(name, pSvcLocator)
10{
11
12}
13
14
16
17 ATH_CHECK(m_pixelRDOKey.initialize());
18
19 ATH_CHECK(m_cnvTool.retrieve());
20
21 return StatusCode::SUCCESS;
22}
23
27
28StatusCode ITkPixelEncodingAlg::execute(const EventContext& ctx) const {
29
31
32 ATH_CHECK(m_cnvTool->convertToByteStream(rdoContainer.get()));
33
34 return StatusCode::SUCCESS;
35}
#define ATH_CHECK
Evaluate an expression and check for errors.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode execute(const EventContext &ctx) const override
Convert PixelRDO_Container into bytestream.
SG::ReadHandleKey< PixelRDO_Container > m_pixelRDOKey
ToolHandle< ITkPixelCnvTool > m_cnvTool
virtual StatusCode initialize() override
ITkPixelEncodingAlg(const std::string &name, ISvcLocator *pSvcLocator)
const_pointer_type get() const
Dereference the pointer, but don't cache anything.