ATLAS Offline Software
Macros
GPUToAthenaImporterWithMoments.cxx File Reference
#include "GPUToAthenaImporterWithMoments.h"
#include "CaloRecGPU/CUDAFriendlyClasses.h"
#include "AthenaKernel/errorcheck.h"
#include <vector>
#include <algorithm>
#include <memory>
#include "xAODCaloEvent/CaloClusterKineHelper.h"
#include "CaloDetDescr/CaloDetDescrManager.h"
#include "boost/chrono/chrono.hpp"
#include "boost/chrono/thread_clock.hpp"
#include "MacroHelpers.h"

Go to the source code of this file.

Macros

#define CALORECGPU_MOMENTS_CONVERSION_HELPER(MOMENT_ENUM, MOMENT_ARRAY)
 
#define CALORECGPU_MOMENTS_CONVERSION_INVALID(MOMENT_ENUM)
 

Macro Definition Documentation

◆ CALORECGPU_MOMENTS_CONVERSION_HELPER

#define CALORECGPU_MOMENTS_CONVERSION_HELPER (   MOMENT_ENUM,
  MOMENT_ARRAY 
)
Value:
if (m_momentsToDo[xAOD::CaloCluster:: MOMENT_ENUM ] ) \
{ \
cluster->insertMoment(xAOD::CaloCluster:: MOMENT_ENUM , ed.m_moments-> MOMENT_ARRAY [cluster_index]); \
}

◆ CALORECGPU_MOMENTS_CONVERSION_INVALID

#define CALORECGPU_MOMENTS_CONVERSION_INVALID (   MOMENT_ENUM)
Value:
if (m_momentsToDo[xAOD::CaloCluster:: MOMENT_ENUM ] ) \
{ \
ATH_MSG_WARNING("Moment '" << # MOMENT_ENUM << \
"' given as a calculated moment, but not yet supported on the GPU side..."); \
}