ATLAS Offline Software
xAODContainerMaker.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
13 #ifndef EFTRACKING_FPGA_INTEGRATION__XAOD_CONTAINER_MAKER_H
14 #define EFTRACKING_FPGA_INTEGRATION__XAOD_CONTAINER_MAKER_H
15 
17 #include "EFTrackingDataFormats.h"
23 
25  : public extends<AthAlgTool, IEFTrackingFPGAIntegrationTool> {
26  public:
27  using extends::extends;
28 
29  StatusCode initialize() override;
30 
36  const int numClusters,
39  const EventContext &ctx) const;
40 
46  const int numClusters,
49  const EventContext &ctx) const;
50 
56  const int numPixelSpacePoints,
58  const std::vector<std::vector<const xAOD::UncalibratedMeasurement *>>
59  pixelsp_meas,
60  const EventContext &ctx) const;
61 
67  const int numStripSpacePoints,
69  const std::vector<std::vector<const xAOD::UncalibratedMeasurement *>>
70  stripsp_meas,
71  const EventContext &ctx) const;
72 
73  private:
75  this, "OutputPixelName", "fpgaPixelClusters",
76  "Output container name"};
78  this, "OutputStripName", "fpgaStripClusters",
79  "Output container name"};
81  this, "OutputPixelSpacePointName", "fpgaPixelSpacePoints",
82  "Output container name"};
84  this, "OutputStripSpacePointName", "fpgaStripSpacePoints",
85  "Output container name"};
86 };
87 
88 #endif // FTRACKING_FPGA_INTEGRATION__XAOD_CONTAINER_MAKER_H
EFTrackingDataFormats::StripClusterAuxInput
The StripClusterAuxInput struct is used to simplify the creaction of the xAOD::StripClusterContainer.
Definition: EFTrackingDataFormats.h:186
xAODContainerMaker::makeStripSpacePointContainer
StatusCode makeStripSpacePointContainer(const int numStripSpacePoints, const EFTrackingDataFormats::SpacePointAuxInput &sspAux, const std::vector< std::vector< const xAOD::UncalibratedMeasurement * >> stripsp_meas, const EventContext &ctx) const
Create xAOD::SpacePointContainer by creating xAOD::SpacePoint for Strip SpacePoint objects one by one...
Definition: xAODContainerMaker.cxx:201
EFTrackingDataFormats::PixelClusterAuxInput
The PixelClusterAuxInput struct is used to simplify the creaction of the xAOD::PixelClusterContainer.
Definition: EFTrackingDataFormats.h:200
EFTrackingDataFormats::SpacePointAuxInput
The SpacePointAuxInput struct is used to simplify the creaction of the xAOD::SpacePointContainer.
Definition: EFTrackingDataFormats.h:229
xAODContainerMaker::m_stripSpacePointsKey
SG::WriteHandleKey< xAOD::SpacePointContainer > m_stripSpacePointsKey
Key for the Strip SpacePoint container.
Definition: xAODContainerMaker.h:83
xAODContainerMaker::m_pixelSpacePointsKey
SG::WriteHandleKey< xAOD::SpacePointContainer > m_pixelSpacePointsKey
Key for the Pixel SpacePoint container.
Definition: xAODContainerMaker.h:80
xAODContainerMaker::m_stripClustersKey
SG::WriteHandleKey< xAOD::StripClusterContainer > m_stripClustersKey
Key for the strip cluster container.
Definition: xAODContainerMaker.h:77
EFTrackingDataFormats::Metadata
The structure of the Metadata containing data after clusterization.
Definition: EFTrackingDataFormats.h:102
xAODContainerMaker::makePixelClusterContainer
StatusCode makePixelClusterContainer(const int numClusters, const EFTrackingDataFormats::PixelClusterAuxInput &pxAux, const EFTrackingDataFormats::Metadata *meta, const EventContext &ctx) const
Create xAOD::PixelClusterContainer by creating xAOD::PixelCluster objects one by one.
Definition: xAODContainerMaker.cxx:83
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
xAODContainerMaker::makeStripClusterContainer
StatusCode makeStripClusterContainer(const int numClusters, const EFTrackingDataFormats::StripClusterAuxInput &scAux, const EFTrackingDataFormats::Metadata *meta, const EventContext &ctx) const
Create xAOD::StripClusterContainer by creating xAOD::StripCluster objects one by one.
Definition: xAODContainerMaker.cxx:31
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PixelClusterContainer.h
AthAlgTool.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
xAODContainerMaker::makePixelSpacePointContainer
StatusCode makePixelSpacePointContainer(const int numPixelSpacePoints, const EFTrackingDataFormats::SpacePointAuxInput &psAux, const std::vector< std::vector< const xAOD::UncalibratedMeasurement * >> pixelsp_meas, const EventContext &ctx) const
Create xAOD::SpacePointContainer by creating xAOD::SpacePoint for Pixel SpacePoint objects one by one...
Definition: xAODContainerMaker.cxx:163
xAODContainerMaker::initialize
StatusCode initialize() override
Definition: xAODContainerMaker.cxx:20
SpacePointContainer.h
StripClusterContainer.h
IEFTrackingFPGAIntegrationTool.h
xAODContainerMaker::m_pixelClustersKey
SG::WriteHandleKey< xAOD::PixelClusterContainer > m_pixelClustersKey
Key for the pixel cluster container.
Definition: xAODContainerMaker.h:74
xAODContainerMaker
Definition: xAODContainerMaker.h:25
EFTrackingDataFormats.h