ATLAS Offline Software
Loading...
Searching...
No Matches
ITkPixelEncodingAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ITKPIXEL_ENCODINGALG_H
6#define ITKPIXEL_ENCODINGALG_H
7
12#include "GaudiKernel/ToolHandle.h"
13#include "ITkPixelCnvTool.h"
15
16
18{
19 public:
20
21 ITkPixelEncodingAlg(const std::string &name, ISvcLocator *pSvcLocator);
22
23 virtual StatusCode initialize() override;
24 virtual StatusCode execute(const EventContext& ctx) const override;
25
26 private:
27
28 typedef std::vector< std::vector<uint32_t >> ITkPacketCollection;
29
30 SG::ReadHandleKey<PixelRDO_Container> m_pixelRDOKey{this, "PixelRDOKey", "ITkPixelRDOs", "StoreGate Key of Pixel RDOs"};
31
32 ToolHandle<ITkPixelCnvTool> m_cnvTool{this, "PixelConversionTool", "ITkPixelCnvTool", "The conversion tool"};
33
34};
35#endif
36
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode execute(const EventContext &ctx) const override
Convert PixelRDO_Container into bytestream.
std::vector< std::vector< uint32_t > > ITkPacketCollection
SG::ReadHandleKey< PixelRDO_Container > m_pixelRDOKey
ToolHandle< ITkPixelCnvTool > m_cnvTool
virtual StatusCode initialize() override
ITkPixelEncodingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Property holding a SG store/key/clid from which a ReadHandle is made.