CMS 3D CMS Logo

Classes | Namespaces | Enumerations | Functions | Variables
PixelClustering.h File Reference
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <type_traits>
#include <alpaka/alpaka.hpp>
#include "DataFormats/SiPixelClusterSoA/interface/ClusteringConstants.h"
#include "Geometry/CommonTopologies/interface/SimplePixelTopology.h"
#include "HeterogeneousCore/AlpakaInterface/interface/HistoContainer.h"
#include "HeterogeneousCore/AlpakaInterface/interface/SimpleVector.h"
#include "HeterogeneousCore/AlpakaInterface/interface/config.h"

Go to the source code of this file.

Classes

struct  ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::CountModules< TrackerTraits >
 
struct  ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::FindClus< TrackerTraits >
 

Namespaces

 ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering
 
 ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus
 

Enumerations

enum  ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::Status : uint32_t { ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::kEmpty = 0x00, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::kFound = 0x01, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::kDuplicate = 0x03 }
 

Functions

ALPAKA_FN_ACC ALPAKA_FN_INLINE constexpr uint32_t ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::getIndex (uint16_t x, uint16_t y)
 
ALPAKA_FN_ACC ALPAKA_FN_INLINE constexpr uint32_t ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::getShift (uint16_t x, uint16_t y)
 
ALPAKA_FN_ACC ALPAKA_FN_INLINE constexpr Status ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::getStatus (uint32_t const *__restrict__ status, uint16_t x, uint16_t y)
 
ALPAKA_FN_ACC ALPAKA_FN_INLINE constexpr bool ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::isDuplicate (uint32_t const *__restrict__ status, uint16_t x, uint16_t y)
 
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>>
ALPAKA_FN_ACC ALPAKA_FN_INLINE constexpr void ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::promote (TAcc const &acc, uint32_t *__restrict__ status, const uint16_t x, const uint16_t y)
 

Variables

constexpr uint32_t ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits = 2
 
constexpr uint32_t ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask = (0x01 << bits) - 1
 
constexpr uint32_t ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::pixelSizeX = pixelTopology::Phase1::numRowsInModule
 
constexpr uint32_t ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::pixelSizeY = pixelTopology::Phase1::numColsInModule
 
constexpr uint32_t ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::size = pixelSizeX * pixelSizeY / valuesPerWord
 
constexpr uint32_t ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::valuesPerWord = sizeof(uint32_t) * 8 / bits