ATLAS Offline Software
Loading...
Searching...
No Matches
F100DataEncodingAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6#ifndef EFTRACKING_FPGA_DATAENCODING_H
7#define EFTRACKING_FPGA_DATAENCODING_H
8
9// Athena include
14#include "GaudiKernel/ServiceHandle.h"
17
18// STL include
19#include <string>
20#include <vector>
21
27{
29 {
30 public:
31 using AthReentrantAlgorithm::AthReentrantAlgorithm;
32
33 virtual StatusCode initialize() override;
34
35 virtual StatusCode execute(const EventContext &ctx) const;
36
37
38 protected:
39 ToolHandle<FPGADataFormatTool> m_FPGADataFormatTool{this, "FPGADataFormatTool", "FPGADataFormatTool", "Tool for formatting FPGA data"};
40 SG::ReadHandleKey<PixelRDO_Container> m_pixelRDOKey{this, "PixelRDO", "ITkPixelRDOs"};
41 SG::ReadHandleKey<SCT_RDO_Container> m_stripRDOKey{this, "StripRDO", "ITkStripRDOs"};
42
43 // For ROI running
44 ToolHandle<IRegSelTool> m_regionPixelSelector {this, "RegPixelSelTool", "", "Pixel Region selector tool"};
45 ToolHandle<IRegSelTool> m_regionStripSelector {this, "RegStripSelTool", "", "Strip Region selector tool"};
46
48 Gaudi::Property<bool> m_roiSeeded{this, "isRoI_Seeded", false, "Use RoI"};
49
50 SG::WriteHandleKey<std::vector<uint64_t>> m_FPGAPixelRDO{this, "FPGAEncodedPixelKey", "FPGAEncodedPixelRDOs", "Pixel RDO converted to FPGA format"};
51 SG::WriteHandleKey<std::vector<uint64_t>> m_FPGAStripRDO{this, "FPGAEncodedStripKey", "FPGAEncodedStripRDOs", "Strip RDO converted to FPGA format"};
52
53 SG::WriteHandleKey<int> m_FPGAPixelRDOSize{this, "FPGAEncodedPixelSizeKey", "FPGAEncodedPixelSizeRDOs", "Size of the Pixel RDO converted to FPGA format"};
54 SG::WriteHandleKey<int> m_FPGAStripRDOSize{this, "FPGAEncodedStripSizeKey", "FPGAEncodedStripSizeRDOs", "Size of the Strip RDO converted to FPGA format"};
55
56
57 };
58}
59
60#endif // EFTRACKING_FPGA_DATAENCODING_H
61
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteHandleKey< std::vector< uint64_t > > m_FPGAStripRDO
virtual StatusCode execute(const EventContext &ctx) const
SG::WriteHandleKey< std::vector< uint64_t > > m_FPGAPixelRDO
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
SG::ReadHandleKey< SCT_RDO_Container > m_stripRDOKey
SG::ReadHandleKey< PixelRDO_Container > m_pixelRDOKey
ToolHandle< FPGADataFormatTool > m_FPGADataFormatTool
Tool for formatting FPGA data.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
The class for enconding RDO to FPGA format.