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 {
27 public:
28  using extends::extends;
29 
30  StatusCode initialize() override;
31 
39  const EventContext &ctx) const;
40 
48  const EventContext &ctx) const;
49 
56  const std::vector<std::vector<const xAOD::UncalibratedMeasurement *>>
57  pixelsp_meas,
59  const EventContext &ctx) const;
60 
67  const std::vector<std::vector<const xAOD::UncalibratedMeasurement *>>
68  stripsp_meas,
70  const EventContext &ctx) const;
71 
72 private:
74  this, "OutputPixelName", "fpgaPixelClusters",
75  "Output container name"};
77  this, "OutputStripName", "fpgaStripClusters",
78  "Output container name"};
80  this, "OutputPixelSpacePointName", "fpgaPixelSpacePoints",
81  "Output container name"};
83  this, "OutputStripSpacePointName", "fpgaStripSpacePoints",
84  "Output container name"};
85 };
86 
87 #endif // FTRACKING_FPGA_INTEGRATION__XAOD_CONTAINER_MAKER_H
xAODContainerMaker::makeStripClusterContainer
StatusCode makeStripClusterContainer(const EFTrackingDataFormats::StripClusterAuxInput &scAux, const EFTrackingDataFormats::Metadata *metadata, const EventContext &ctx) const
Create xAOD::StripClusterContainer by creating xAOD::StripCluster objects one by one.
Definition: xAODContainerMaker.cxx:31
EFTrackingDataFormats::StripClusterAuxInput
The StripClusterAuxInput struct is used to simplify the creaction of the xAOD::StripClusterContainer.
Definition: EFTrackingDataFormats.h:186
xAODContainerMaker::makePixelClusterContainer
StatusCode makePixelClusterContainer(const EFTrackingDataFormats::PixelClusterAuxInput &pxAux, const EFTrackingDataFormats::Metadata *metadata, const EventContext &ctx) const
Create xAOD::PixelClusterContainer by creating xAOD::PixelCluster objects one by one.
Definition: xAODContainerMaker.cxx:82
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:82
python.checkMetadata.metadata
metadata
Definition: checkMetadata.py:175
xAODContainerMaker::m_pixelSpacePointsKey
SG::WriteHandleKey< xAOD::SpacePointContainer > m_pixelSpacePointsKey
Key for the Pixel SpacePoint container.
Definition: xAODContainerMaker.h:79
xAODContainerMaker::m_stripClustersKey
SG::WriteHandleKey< xAOD::StripClusterContainer > m_stripClustersKey
Key for the strip cluster container.
Definition: xAODContainerMaker.h:76
EFTrackingDataFormats::Metadata
The structure of the Metadata containing data after clusterization.
Definition: EFTrackingDataFormats.h:102
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
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::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:73
xAODContainerMaker
Definition: xAODContainerMaker.h:26
xAODContainerMaker::makePixelSpacePointContainer
StatusCode makePixelSpacePointContainer(const EFTrackingDataFormats::SpacePointAuxInput &psAux, const std::vector< std::vector< const xAOD::UncalibratedMeasurement * >> pixelsp_meas, const EFTrackingDataFormats::Metadata *metadata, const EventContext &ctx) const
Create xAOD::SpacePointContainer by creating xAOD::SpacePoint for Pixel SpacePoint objects one by one...
Definition: xAODContainerMaker.cxx:161
EFTrackingDataFormats.h
xAODContainerMaker::makeStripSpacePointContainer
StatusCode makeStripSpacePointContainer(const EFTrackingDataFormats::SpacePointAuxInput &sspAux, const std::vector< std::vector< const xAOD::UncalibratedMeasurement * >> stripsp_meas, const EFTrackingDataFormats::Metadata *metadata, const EventContext &ctx) const
Create xAOD::SpacePointContainer by creating xAOD::SpacePoint for Strip SpacePoint objects one by one...
Definition: xAODContainerMaker.cxx:199