Project
Loading...
Searching...
No Matches
o2::gpu::GPUTPCClusterStatistics Class Reference

#include <GPUTPCClusterStatistics.h>

Public Member Functions

void RunStatistics (const o2::tpc::ClusterNativeAccess *clustersNative, const o2::tpc::CompressedClusters *clustersCompressed, const GPUParam &param)
 
void Finish ()
 

Static Public Attributes

static constexpr uint32_t NSECTORS = GPUCA_NSECTORS
 

Protected Member Functions

template<class T , int32_t I = 0>
void FillStatistic (std::vector< int32_t > &p, const T *ptr, size_t n)
 
template<class T , class S , int32_t I = 0>
void FillStatisticCombined (std::vector< int32_t > &p, const T *ptr1, const S *ptr2, size_t n, int32_t max1)
 
float Analyze (std::vector< int32_t > &p, const char *name, bool count=true)
 

Protected Attributes

TPCClusterDecompressor mDecoder
 
bool mDecodingError = false
 
std::vector< int32_t > mPqTotA = std::vector<int32_t>(P_MAX_QTOT, 0)
 
std::vector< int32_t > mPqMaxA = std::vector<int32_t>(P_MAX_QMAX, 0)
 
std::vector< int32_t > mPflagsA = std::vector<int32_t>(P_MAX_FLAGS, 0)
 
std::vector< int32_t > mProwDiffA = std::vector<int32_t>(GPUCA_ROW_COUNT, 0)
 
std::vector< int32_t > mPsectorLegDiffA = std::vector<int32_t>(GPUCA_NSECTORS * 2, 0)
 
std::vector< int32_t > mPpadResA = std::vector<int32_t>(P_MAX_PAD, 0)
 
std::vector< int32_t > mPtimeResA = std::vector<int32_t>(P_MAX_TIME, 0)
 
std::vector< int32_t > mPsigmaPadA = std::vector<int32_t>(P_MAX_SIGMA, 0)
 
std::vector< int32_t > mPsigmaTimeA = std::vector<int32_t>(P_MAX_SIGMA, 0)
 
std::vector< int32_t > mPqPtA = std::vector<int32_t>(P_MAX_QPT, 0)
 
std::vector< int32_t > mProwA = std::vector<int32_t>(GPUCA_ROW_COUNT, 0)
 
std::vector< int32_t > mPsectorA = std::vector<int32_t>(GPUCA_NSECTORS, 0)
 
std::vector< int32_t > mPtimeA = std::vector<int32_t>(P_MAX_TIME, 0)
 
std::vector< int32_t > mPpadA = std::vector<int32_t>(P_MAX_PAD, 0)
 
std::vector< int32_t > mPqTotU = std::vector<int32_t>(P_MAX_QTOT, 0)
 
std::vector< int32_t > mPqMaxU = std::vector<int32_t>(P_MAX_QMAX, 0)
 
std::vector< int32_t > mPflagsU = std::vector<int32_t>(P_MAX_FLAGS, 0)
 
std::vector< int32_t > mPpadDiffU = std::vector<int32_t>(P_MAX_PAD, 0)
 
std::vector< int32_t > mPtimeDiffU = std::vector<int32_t>(P_MAX_TIME, 0)
 
std::vector< int32_t > mPsigmaPadU = std::vector<int32_t>(P_MAX_SIGMA, 0)
 
std::vector< int32_t > mPsigmaTimeU = std::vector<int32_t>(P_MAX_SIGMA, 0)
 
std::vector< int32_t > mPnTrackClusters
 
std::vector< int32_t > mPnSectorRowClusters
 
std::vector< int32_t > mPsigmaU = std::vector<int32_t>(P_MAX_SIGMA * P_MAX_SIGMA, 0)
 
std::vector< int32_t > mPsigmaA = std::vector<int32_t>(P_MAX_SIGMA * P_MAX_SIGMA, 0)
 
std::vector< int32_t > mPQU = std::vector<int32_t>(P_MAX_QMAX * P_MAX_QTOT, 0)
 
std::vector< int32_t > mPQA = std::vector<int32_t>(P_MAX_QMAX * P_MAX_QTOT, 0)
 
std::vector< int32_t > mProwSectorA = std::vector<int32_t>(GPUCA_ROW_COUNT * GPUCA_NSECTORS * 2, 0)
 
double mEntropy = 0
 
double mHuffman = 0
 
size_t mNTotalClusters = 0
 

Static Protected Attributes

static constexpr uint32_t P_MAX_QMAX = GPUTPCCompression::P_MAX_QMAX
 
static constexpr uint32_t P_MAX_QTOT = GPUTPCCompression::P_MAX_QTOT
 
static constexpr uint32_t P_MAX_TIME = GPUTPCCompression::P_MAX_TIME
 
static constexpr uint32_t P_MAX_PAD = GPUTPCCompression::P_MAX_PAD
 
static constexpr uint32_t P_MAX_SIGMA = GPUTPCCompression::P_MAX_SIGMA
 
static constexpr uint32_t P_MAX_FLAGS = GPUTPCCompression::P_MAX_FLAGS
 
static constexpr uint32_t P_MAX_QPT = GPUTPCCompression::P_MAX_QPT
 

Detailed Description

Definition at line 29 of file GPUTPCClusterStatistics.h.

Member Function Documentation

◆ Analyze()

float GPUTPCClusterStatistics::Analyze ( std::vector< int32_t > &  p,
const char name,
bool  count = true 
)
protected

Definition at line 234 of file GPUTPCClusterStatistics.cxx.

◆ FillStatistic()

template<class T , int32_t I>
void GPUTPCClusterStatistics::FillStatistic ( std::vector< int32_t > &  p,
const T *  ptr,
size_t  n 
)
protected

Definition at line 276 of file GPUTPCClusterStatistics.cxx.

◆ FillStatisticCombined()

template<class T , class S , int32_t I>
void GPUTPCClusterStatistics::FillStatisticCombined ( std::vector< int32_t > &  p,
const T *  ptr1,
const S ptr2,
size_t  n,
int32_t  max1 
)
protected

Definition at line 293 of file GPUTPCClusterStatistics.cxx.

◆ Finish()

void GPUTPCClusterStatistics::Finish ( )

Definition at line 188 of file GPUTPCClusterStatistics.cxx.

◆ RunStatistics()

void GPUTPCClusterStatistics::RunStatistics ( const o2::tpc::ClusterNativeAccess clustersNative,
const o2::tpc::CompressedClusters clustersCompressed,
const GPUParam param 
)

Definition at line 109 of file GPUTPCClusterStatistics.cxx.

Member Data Documentation

◆ mDecoder

TPCClusterDecompressor o2::gpu::GPUTPCClusterStatistics::mDecoder
protected

Definition at line 43 of file GPUTPCClusterStatistics.h.

◆ mDecodingError

bool o2::gpu::GPUTPCClusterStatistics::mDecodingError = false
protected

Definition at line 44 of file GPUTPCClusterStatistics.h.

◆ mEntropy

double o2::gpu::GPUTPCClusterStatistics::mEntropy = 0
protected

Definition at line 83 of file GPUTPCClusterStatistics.h.

◆ mHuffman

double o2::gpu::GPUTPCClusterStatistics::mHuffman = 0
protected

Definition at line 84 of file GPUTPCClusterStatistics.h.

◆ mNTotalClusters

size_t o2::gpu::GPUTPCClusterStatistics::mNTotalClusters = 0
protected

Definition at line 85 of file GPUTPCClusterStatistics.h.

◆ mPflagsA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPflagsA = std::vector<int32_t>(P_MAX_FLAGS, 0)
protected

Definition at line 56 of file GPUTPCClusterStatistics.h.

◆ mPflagsU

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPflagsU = std::vector<int32_t>(P_MAX_FLAGS, 0)
protected

Definition at line 70 of file GPUTPCClusterStatistics.h.

◆ mPnSectorRowClusters

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPnSectorRowClusters
protected

Definition at line 76 of file GPUTPCClusterStatistics.h.

◆ mPnTrackClusters

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPnTrackClusters
protected

Definition at line 75 of file GPUTPCClusterStatistics.h.

◆ mPpadA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPpadA = std::vector<int32_t>(P_MAX_PAD, 0)
protected

Definition at line 67 of file GPUTPCClusterStatistics.h.

◆ mPpadDiffU

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPpadDiffU = std::vector<int32_t>(P_MAX_PAD, 0)
protected

Definition at line 71 of file GPUTPCClusterStatistics.h.

◆ mPpadResA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPpadResA = std::vector<int32_t>(P_MAX_PAD, 0)
protected

Definition at line 59 of file GPUTPCClusterStatistics.h.

◆ mPQA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPQA = std::vector<int32_t>(P_MAX_QMAX * P_MAX_QTOT, 0)
protected

Definition at line 80 of file GPUTPCClusterStatistics.h.

◆ mPqMaxA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPqMaxA = std::vector<int32_t>(P_MAX_QMAX, 0)
protected

Definition at line 55 of file GPUTPCClusterStatistics.h.

◆ mPqMaxU

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPqMaxU = std::vector<int32_t>(P_MAX_QMAX, 0)
protected

Definition at line 69 of file GPUTPCClusterStatistics.h.

◆ mPqPtA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPqPtA = std::vector<int32_t>(P_MAX_QPT, 0)
protected

Definition at line 63 of file GPUTPCClusterStatistics.h.

◆ mPqTotA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPqTotA = std::vector<int32_t>(P_MAX_QTOT, 0)
protected

Definition at line 54 of file GPUTPCClusterStatistics.h.

◆ mPqTotU

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPqTotU = std::vector<int32_t>(P_MAX_QTOT, 0)
protected

Definition at line 68 of file GPUTPCClusterStatistics.h.

◆ mPQU

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPQU = std::vector<int32_t>(P_MAX_QMAX * P_MAX_QTOT, 0)
protected

Definition at line 79 of file GPUTPCClusterStatistics.h.

◆ mProwA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mProwA = std::vector<int32_t>(GPUCA_ROW_COUNT, 0)
protected

Definition at line 64 of file GPUTPCClusterStatistics.h.

◆ mProwDiffA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mProwDiffA = std::vector<int32_t>(GPUCA_ROW_COUNT, 0)
protected

Definition at line 57 of file GPUTPCClusterStatistics.h.

◆ mProwSectorA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mProwSectorA = std::vector<int32_t>(GPUCA_ROW_COUNT * GPUCA_NSECTORS * 2, 0)
protected

Definition at line 81 of file GPUTPCClusterStatistics.h.

◆ mPsectorA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPsectorA = std::vector<int32_t>(GPUCA_NSECTORS, 0)
protected

Definition at line 65 of file GPUTPCClusterStatistics.h.

◆ mPsectorLegDiffA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPsectorLegDiffA = std::vector<int32_t>(GPUCA_NSECTORS * 2, 0)
protected

Definition at line 58 of file GPUTPCClusterStatistics.h.

◆ mPsigmaA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPsigmaA = std::vector<int32_t>(P_MAX_SIGMA * P_MAX_SIGMA, 0)
protected

Definition at line 78 of file GPUTPCClusterStatistics.h.

◆ mPsigmaPadA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPsigmaPadA = std::vector<int32_t>(P_MAX_SIGMA, 0)
protected

Definition at line 61 of file GPUTPCClusterStatistics.h.

◆ mPsigmaPadU

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPsigmaPadU = std::vector<int32_t>(P_MAX_SIGMA, 0)
protected

Definition at line 73 of file GPUTPCClusterStatistics.h.

◆ mPsigmaTimeA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPsigmaTimeA = std::vector<int32_t>(P_MAX_SIGMA, 0)
protected

Definition at line 62 of file GPUTPCClusterStatistics.h.

◆ mPsigmaTimeU

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPsigmaTimeU = std::vector<int32_t>(P_MAX_SIGMA, 0)
protected

Definition at line 74 of file GPUTPCClusterStatistics.h.

◆ mPsigmaU

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPsigmaU = std::vector<int32_t>(P_MAX_SIGMA * P_MAX_SIGMA, 0)
protected

Definition at line 77 of file GPUTPCClusterStatistics.h.

◆ mPtimeA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPtimeA = std::vector<int32_t>(P_MAX_TIME, 0)
protected

Definition at line 66 of file GPUTPCClusterStatistics.h.

◆ mPtimeDiffU

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPtimeDiffU = std::vector<int32_t>(P_MAX_TIME, 0)
protected

Definition at line 72 of file GPUTPCClusterStatistics.h.

◆ mPtimeResA

std::vector<int32_t> o2::gpu::GPUTPCClusterStatistics::mPtimeResA = std::vector<int32_t>(P_MAX_TIME, 0)
protected

Definition at line 60 of file GPUTPCClusterStatistics.h.

◆ NSECTORS

constexpr uint32_t o2::gpu::GPUTPCClusterStatistics::NSECTORS = GPUCA_NSECTORS
staticconstexpr

Definition at line 32 of file GPUTPCClusterStatistics.h.

◆ P_MAX_FLAGS

constexpr uint32_t o2::gpu::GPUTPCClusterStatistics::P_MAX_FLAGS = GPUTPCCompression::P_MAX_FLAGS
staticconstexprprotected

Definition at line 51 of file GPUTPCClusterStatistics.h.

◆ P_MAX_PAD

constexpr uint32_t o2::gpu::GPUTPCClusterStatistics::P_MAX_PAD = GPUTPCCompression::P_MAX_PAD
staticconstexprprotected

Definition at line 49 of file GPUTPCClusterStatistics.h.

◆ P_MAX_QMAX

constexpr uint32_t o2::gpu::GPUTPCClusterStatistics::P_MAX_QMAX = GPUTPCCompression::P_MAX_QMAX
staticconstexprprotected

Definition at line 46 of file GPUTPCClusterStatistics.h.

◆ P_MAX_QPT

constexpr uint32_t o2::gpu::GPUTPCClusterStatistics::P_MAX_QPT = GPUTPCCompression::P_MAX_QPT
staticconstexprprotected

Definition at line 52 of file GPUTPCClusterStatistics.h.

◆ P_MAX_QTOT

constexpr uint32_t o2::gpu::GPUTPCClusterStatistics::P_MAX_QTOT = GPUTPCCompression::P_MAX_QTOT
staticconstexprprotected

Definition at line 47 of file GPUTPCClusterStatistics.h.

◆ P_MAX_SIGMA

constexpr uint32_t o2::gpu::GPUTPCClusterStatistics::P_MAX_SIGMA = GPUTPCCompression::P_MAX_SIGMA
staticconstexprprotected

Definition at line 50 of file GPUTPCClusterStatistics.h.

◆ P_MAX_TIME

constexpr uint32_t o2::gpu::GPUTPCClusterStatistics::P_MAX_TIME = GPUTPCCompression::P_MAX_TIME
staticconstexprprotected

Definition at line 48 of file GPUTPCClusterStatistics.h.


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