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

Base class for tools that convert constant information to the GPU-friendly format used in CaloGPUHybridClusterProcessor. More...

#include <CaloClusterGPUTransformers.h>

Inheritance diagram for ICaloClusterGPUConstantTransformer:
Collaboration diagram for ICaloClusterGPUConstantTransformer:

Public Member Functions

virtual StatusCode convert (CaloRecGPU::ConstantDataHolder &constant_data, const bool override_keep_CPU_info) const =0
 Fill the @ConstantDataHolder with the relevant information. More...
 
virtual StatusCode convert (const EventContext &, CaloRecGPU::ConstantDataHolder &constant_data, const bool override_keep_CPU_info) const
 Fill the @CaloRecGPU::ConstantDataHolder with the relevant information at the first event. More...
 
 DeclareInterfaceID (ICaloClusterGPUConstantTransformer, 1, 0)
 

Detailed Description

Base class for tools that convert constant information to the GPU-friendly format used in CaloGPUHybridClusterProcessor.

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 CaloRecGPU::ConstantDataHolder.

Definition at line 26 of file CaloClusterGPUTransformers.h.

Member Function Documentation

◆ convert() [1/2]

virtual StatusCode ICaloClusterGPUConstantTransformer::convert ( CaloRecGPU::ConstantDataHolder constant_data,
const bool  override_keep_CPU_info 
) const
pure virtual

Fill the @ConstantDataHolder with the relevant information.

Parameters
constant_dataData held in GPU memory that is common to all events (cell noise and geometry).
override_keep_CPU_infoIf true, keep CPU info regardless of the default behaviour of the tool.

Implemented in BasicConstantGPUDataExporter.

◆ convert() [2/2]

virtual StatusCode ICaloClusterGPUConstantTransformer::convert ( const EventContext &  ,
CaloRecGPU::ConstantDataHolder constant_data,
const bool  override_keep_CPU_info 
) const
inlinevirtual

Fill the @CaloRecGPU::ConstantDataHolder with the relevant information at the first event.

Parameters
ctxThe event context.
constant_dataData held in GPU memory that is common to all events (cell noise and geometry).
override_keep_CPU_infoIf true, keep CPU info regardless of the default behaviour of the tool.

Unless otherwise specified by the tool, this does exactly the same as convert(constant_data)

Reimplemented in BasicConstantGPUDataExporter.

Definition at line 45 of file CaloClusterGPUTransformers.h.

46  {
47  return this->convert(constant_data, override_keep_CPU_info);
48  }

◆ DeclareInterfaceID()

ICaloClusterGPUConstantTransformer::DeclareInterfaceID ( ICaloClusterGPUConstantTransformer  ,
,
 
)

The documentation for this class was generated from the following file:
ICaloClusterGPUConstantTransformer::convert
virtual StatusCode convert(CaloRecGPU::ConstantDataHolder &constant_data, const bool override_keep_CPU_info) const =0
Fill the @ConstantDataHolder with the relevant information.