ATLAS Offline Software
Public Member Functions | List of all members
ICaloClusterGPUOutputTransformer Class Referenceabstract

Base class for tools that convert event information from the GPU-friendly format used in CaloGPUHybridClusterProcessor to the Athena structures. More...

#include <CaloClusterGPUTransformers.h>

Inheritance diagram for ICaloClusterGPUOutputTransformer:
Collaboration diagram for ICaloClusterGPUOutputTransformer:

Public Member Functions

virtual StatusCode convert (const EventContext &ctx, const CaloRecGPU::ConstantDataHolder &constant_data, CaloRecGPU::EventDataHolder &event_data, xAOD::CaloClusterContainer *cluster_collection) const =0
 Fill the @xAODCaloClusterContainer with the relevant information. More...
 
 DeclareInterfaceID (ICaloClusterGPUOutputTransformer, 1, 0)
 

Detailed Description

Base class for tools that convert event information from the GPU-friendly format used in CaloGPUHybridClusterProcessor to the Athena structures.

Author
Nuno Fernandes nuno..nosp@m.dos..nosp@m.santo.nosp@m.s.fe.nosp@m.rnand.nosp@m.es@c.nosp@m.ern.c.nosp@m.h
Date
27 May 2022 This class defines a convert method that takes as an argument a EventContext, a CaloRecGPU::ConstantDataHolder, a CaloRecGPU::EventDataHolder and a @xAODCaloClusterContainer.

Definition at line 93 of file CaloClusterGPUTransformers.h.

Member Function Documentation

◆ convert()

virtual StatusCode ICaloClusterGPUOutputTransformer::convert ( const EventContext &  ctx,
const CaloRecGPU::ConstantDataHolder constant_data,
CaloRecGPU::EventDataHolder event_data,
xAOD::CaloClusterContainer cluster_collection 
) const
pure virtual

Fill the @xAODCaloClusterContainer with the relevant information.

Parameters
ctxThe event context.
constant_dataData held in GPU memory that is common to all events (cell noise and geometry).
event_dataData held in GPU memory that is specific to this event (including the description of the clusters themselves).
cluster_collectionThe cluster collection, in the standard Athena structures.

Implemented in GPUToAthenaImporterWithMoments, and BasicGPUToAthenaImporter.

◆ DeclareInterfaceID()

ICaloClusterGPUOutputTransformer::DeclareInterfaceID ( ICaloClusterGPUOutputTransformer  ,
,
 
)

The documentation for this class was generated from the following file: