|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef CALORECGPU_BASICGPUCLUSTERINFOCALCULATOR_H
9 #define CALORECGPU_BASICGPUCLUSTERINFOCALCULATOR_H
19 #include "GaudiKernel/ServiceHandle.h"
23 #include "CLHEP/Units/SystemOfUnits.h"
53 void * temporary_buffer)
const override;
78 Gaudi::Property<bool>
m_preserveClusterMoments {
this,
"PreserveClusterMoments",
false,
"Do not use cluster moments array as temporary storage"};
84 Gaudi::Property<bool>
m_cutClustersInAbsE {
this,
"ClusterCutsInAbsEt",
true,
"Do cluster cuts in Abs Et instead of Et"};
100 #endif //CALORECGPU_TOPOAUTOMATONCLUSTERING_H
ServiceHandle< IGPUKernelSizeOptimizerSvc > m_kernelSizeOptimizer
Handle to the CUDA kernel block and grid size optimization service.
Gaudi::Property< float > m_clusterETThreshold
cut on the clusters.
Base class for GPU-accelerated cluster processing tools to be called from CaloGPUHybridClusterProcess...
BasicGPUClusterInfoCalculator(const std::string &type, const std::string &name, const IInterface *parent)
virtual ~BasicGPUClusterInfoCalculator()=default
virtual StatusCode initialize_non_CUDA() override
Initialization that does not invoke CUDA functions.
Base class to provide some basic common infrastructure for timing measurements...
virtual StatusCode initialize()
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode execute(const EventContext &ctx, const CaloRecGPU::ConstantDataHolder &constant_data, CaloRecGPU::EventDataHolder &event_data, void *temporary_buffer) const override
Process the clusters on GPU.
Base class to provide some basic common infrastructure for initializing CUDA only at the right place ...
virtual StatusCode initialize_CUDA() override
Initialization that invokes CUDA functions.
Standard tool to calculate cluster info (energy, transverse energy, pseudo-rapidity and azimuthal ang...
virtual size_t size_of_temporaries() const override
The size (in bytes) of the temporary object(s) that the algorithm will use.
virtual StatusCode finalize() override
virtual StatusCode initialize() override
Define macros for attributes used to control the static checker.
Gaudi::Property< bool > m_cutClustersInAbsE
if set to true cluster cuts are on , if false on .
Gaudi::Property< bool > m_preserveClusterMoments
If set to true, allocates a temporary array to store some temporary intermediate results instead of u...