ATLAS Offline Software
ITkPixelEncodingTool.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 /*
6 * Author: Ondra Kovanda, ondrej.kovanda at cern.ch
7 * Date: 05/2024
8 * Description: Athena tool wrapper around the ITkPix encoder
9 */
10 
11 #ifndef ITKPIXELBYTESTREAMCNV_ITKPIXELENCODINGTOOL_H
12 #define ITKPIXELBYTESTREAMCNV_ITKPIXELENCODINGTOOL_H
13 
14 #include <vector>
15 #include <memory>
16 #include <cstdint>
18 #include "ITkPixLayout.h"
19 #include "ITkPixV2Encoder.h"
20 
22  public:
23 
25 
26  ITkPixelEncodingTool(const std::string& type,const std::string& name,const IInterface* parent);
27 
29 
30  std::vector<uint32_t> encodeFE(const HitMap & hitMap);
31 
32  private:
33 
34  std::unique_ptr<ITkPixV2Encoder> m_encoder;
35 };
36 
37 
38 #endif
ITkPixelEncodingTool::initialize
StatusCode initialize()
Definition: ITkPixelEncodingTool.cxx:19
ITkPixelEncodingTool
Definition: ITkPixelEncodingTool.h:21
ITkPixLayout.h
ITkPixelEncodingTool::encodeFE
std::vector< uint32_t > encodeFE(const HitMap &hitMap)
Definition: ITkPixelEncodingTool.cxx:29
ITkPixelEncodingTool::ITkPixelEncodingTool
ITkPixelEncodingTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: ITkPixelEncodingTool.cxx:13
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ITkPixV2Encoder.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ITkPixelEncodingTool::m_encoder
std::unique_ptr< ITkPixV2Encoder > m_encoder
Definition: ITkPixelEncodingTool.h:34
ITkPixLayout< uint16_t >
AthAlgTool
Definition: AthAlgTool.h:26
ITkPixelEncodingTool::HitMap
ITkPixLayout< uint16_t > HitMap
Definition: ITkPixelEncodingTool.h:24