ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
EFTracking
EFTrackingFPGAIntegration
EFTrackingFPGAPipeline
EFTrackingFPGAPipeline
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
10
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
11
#include "
EFTrackingFPGAUtility/FPGADataFormatTool.h
"
12
#include "
InDetRawData/PixelRDO_Container.h
"
13
#include "
InDetRawData/SCT_RDO_Container.h
"
14
#include "GaudiKernel/ServiceHandle.h"
15
#include <
TrigSteeringEvent/TrigRoiDescriptorCollection.h
>
16
#include <
IRegionSelector/IRegSelTool.h
>
17
18
// STL include
19
#include <string>
20
#include <vector>
21
26
namespace
EFTrackingFPGAIntegration
27
{
28
class
F100DataEncodingAlg
:
public
AthReentrantAlgorithm
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
47
SG::ReadHandleKey<TrigRoiDescriptorCollection>
m_roiCollectionKey
{
this
,
"RoIs"
,
""
,
"RoIs to read in"
};
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
AthReentrantAlgorithm.h
FPGADataFormatTool.h
IRegSelTool.h
PixelRDO_Container.h
SCT_RDO_Container.h
TrigRoiDescriptorCollection.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
EFTrackingFPGAIntegration::F100DataEncodingAlg
Definition
F100DataEncodingAlg.h:29
EFTrackingFPGAIntegration::F100DataEncodingAlg::initialize
virtual StatusCode initialize() override
Definition
F100DataEncodingAlg.cxx:10
EFTrackingFPGAIntegration::F100DataEncodingAlg::m_roiSeeded
Gaudi::Property< bool > m_roiSeeded
Definition
F100DataEncodingAlg.h:48
EFTrackingFPGAIntegration::F100DataEncodingAlg::m_FPGAStripRDOSize
SG::WriteHandleKey< int > m_FPGAStripRDOSize
Definition
F100DataEncodingAlg.h:54
EFTrackingFPGAIntegration::F100DataEncodingAlg::m_FPGAStripRDO
SG::WriteHandleKey< std::vector< uint64_t > > m_FPGAStripRDO
Definition
F100DataEncodingAlg.h:51
EFTrackingFPGAIntegration::F100DataEncodingAlg::execute
virtual StatusCode execute(const EventContext &ctx) const
Definition
F100DataEncodingAlg.cxx:33
EFTrackingFPGAIntegration::F100DataEncodingAlg::m_FPGAPixelRDO
SG::WriteHandleKey< std::vector< uint64_t > > m_FPGAPixelRDO
Definition
F100DataEncodingAlg.h:50
EFTrackingFPGAIntegration::F100DataEncodingAlg::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
Definition
F100DataEncodingAlg.h:47
EFTrackingFPGAIntegration::F100DataEncodingAlg::m_stripRDOKey
SG::ReadHandleKey< SCT_RDO_Container > m_stripRDOKey
Definition
F100DataEncodingAlg.h:41
EFTrackingFPGAIntegration::F100DataEncodingAlg::m_regionPixelSelector
ToolHandle< IRegSelTool > m_regionPixelSelector
Definition
F100DataEncodingAlg.h:44
EFTrackingFPGAIntegration::F100DataEncodingAlg::m_regionStripSelector
ToolHandle< IRegSelTool > m_regionStripSelector
Definition
F100DataEncodingAlg.h:45
EFTrackingFPGAIntegration::F100DataEncodingAlg::m_pixelRDOKey
SG::ReadHandleKey< PixelRDO_Container > m_pixelRDOKey
Definition
F100DataEncodingAlg.h:40
EFTrackingFPGAIntegration::F100DataEncodingAlg::m_FPGAPixelRDOSize
SG::WriteHandleKey< int > m_FPGAPixelRDOSize
Definition
F100DataEncodingAlg.h:53
EFTrackingFPGAIntegration::F100DataEncodingAlg::m_FPGADataFormatTool
ToolHandle< FPGADataFormatTool > m_FPGADataFormatTool
Tool for formatting FPGA data.
Definition
F100DataEncodingAlg.h:39
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
EFTrackingFPGAIntegration
The class for enconding RDO to FPGA format.
Definition
F100DataEncodingAlg.h:27
Generated on
for ATLAS Offline Software by
1.17.0