#include <BestCands.h>
Public Member Functions | |
__device__ bool | better (int icand_fst, int fst, int icand_snd, int snd) |
__device__ void | copy_node (int icand_fst, int fst, int icand_snd, int snd) |
__device__ int | count_valid_cands (int itrack) |
__device__ void | get_cand_info (const int tid, const int cid, int &my_trkIdx, int &my_hitIdx, int &my_nhits, float &my_chi2) |
__device__ int | get_nhits (const int tid, const int cid) |
__device__ void | heap_sort (int icand, int heap_size) |
__device__ void | heapify (int itrack, int idx, int heap_size) |
__device__ int | left (int idx) |
__device__ void | merge_cands_for_seed (int iseed, int icand) |
__device__ void | print_heap (const int tid) |
__device__ void | reset (int itrack) |
__device__ int | right (int idx) |
__device__ void | swap_nodes (int icand_fst, int fst, int icand_snd, int snd) |
__device__ void | update (int itrack, int cand_trIdx, int cand_hitIdx, int cand_nhits, float cand_chi2) |
Public Attributes | |
float | chi2 [MaxCandsPerSeed][BlockSize] |
int | hitIdx [MaxCandsPerSeed][BlockSize] |
int | nhits [MaxCandsPerSeed][BlockSize] |
int | trkIdx [MaxCandsPerSeed][BlockSize] |
Definition at line 24 of file BestCands.h.
__device__ bool CandsGPU::BestCands< M, B >::better | ( | int | icand_fst, |
int | fst, | ||
int | icand_snd, | ||
int | snd | ||
) |
Definition at line 101 of file BestCands.h.
References nano_mu_local_reco_cff::chi2, and TrackingDataMCValidation_Standalone_cff::nhits.
__device__ void CandsGPU::BestCands< M, B >::copy_node | ( | int | icand_fst, |
int | fst, | ||
int | icand_snd, | ||
int | snd | ||
) |
Definition at line 115 of file BestCands.h.
References nano_mu_local_reco_cff::chi2, and TrackingDataMCValidation_Standalone_cff::nhits.
__device__ int CandsGPU::BestCands< M, B >::count_valid_cands | ( | int | itrack | ) |
Definition at line 222 of file BestCands.h.
References submitPVResolutionJobs::count, mps_fire::i, and CandsGPU::trkIdx_sentinel.
__device__ void CandsGPU::BestCands< MaxCandsPerSeed, BlockSize >::get_cand_info | ( | const int | tid, |
const int | cid, | ||
int & | my_trkIdx, | ||
int & | my_hitIdx, | ||
int & | my_nhits, | ||
float & | my_chi2 | ||
) |
Definition at line 211 of file BestCands.h.
References ecaldqm::BlockSize, nano_mu_local_reco_cff::chi2, and TrackingDataMCValidation_Standalone_cff::nhits.
|
inline |
Definition at line 49 of file BestCands.h.
References CandsGPU::BestCands< MaxCandsPerSeed, BlockSize >::nhits.
__device__ void CandsGPU::BestCands< M, B >::heap_sort | ( | int | icand, |
int | heap_size | ||
) |
Definition at line 201 of file BestCands.h.
References mps_fire::i.
__device__ void CandsGPU::BestCands< M, B >::heapify | ( | int | itrack, |
int | idx, | ||
int | heap_size | ||
) |
Definition at line 123 of file BestCands.h.
References heavyIonCSV_trainingSettings::idx.
__device__ int CandsGPU::BestCands< M, B >::left | ( | int | idx | ) |
Definition at line 91 of file BestCands.h.
References heavyIonCSV_trainingSettings::idx.
Referenced by svgfig.Curve.Samples::__len__().
__device__ void CandsGPU::BestCands< M, B >::merge_cands_for_seed | ( | int | iseed, |
int | icand | ||
) |
Definition at line 145 of file BestCands.h.
References cms::cudacompat::__syncthreads(), B, mps_fire::i, iseed, and dqmiolumiharvest::j.
__device__ void CandsGPU::BestCands< M, B >::print_heap | ( | const int | tid | ) |
Definition at line 79 of file BestCands.h.
References nano_mu_local_reco_cff::chi2, and TrackingDataMCValidation_Standalone_cff::nhits.
__device__ void CandsGPU::BestCands< M, B >::reset | ( | int | itrack | ) |
Definition at line 55 of file BestCands.h.
References nano_mu_local_reco_cff::chi2, CandsGPU::chi2_sentinel, CandsGPU::hitIdx_sentinel, dqmiolumiharvest::j, TrackingDataMCValidation_Standalone_cff::nhits, CandsGPU::nhits_sentinel, and CandsGPU::trkIdx_sentinel.
__device__ int CandsGPU::BestCands< M, B >::right | ( | int | idx | ) |
__device__ void CandsGPU::BestCands< M, B >::swap_nodes | ( | int | icand_fst, |
int | fst, | ||
int | icand_snd, | ||
int | snd | ||
) |
Definition at line 107 of file BestCands.h.
References nano_mu_local_reco_cff::chi2, TrackingDataMCValidation_Standalone_cff::nhits, and CandsGPU::swap_values().
__device__ void CandsGPU::BestCands< M, B >::update | ( | int | itrack, |
int | cand_trIdx, | ||
int | cand_hitIdx, | ||
int | cand_nhits, | ||
float | cand_chi2 | ||
) |
Definition at line 65 of file BestCands.h.
References nano_mu_local_reco_cff::chi2, and TrackingDataMCValidation_Standalone_cff::nhits.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
float CandsGPU::BestCands< MaxCandsPerSeed, BlockSize >::chi2[MaxCandsPerSeed][BlockSize] |
Definition at line 29 of file BestCands.h.
int CandsGPU::BestCands< MaxCandsPerSeed, BlockSize >::hitIdx[MaxCandsPerSeed][BlockSize] |
Definition at line 27 of file BestCands.h.
Referenced by ntupleDataFormat._RecoHitAdaptor::_hits().
int CandsGPU::BestCands< MaxCandsPerSeed, BlockSize >::nhits[MaxCandsPerSeed][BlockSize] |
Definition at line 28 of file BestCands.h.
Referenced by CandsGPU::BestCands< MaxCandsPerSeed, BlockSize >::get_nhits().
int CandsGPU::BestCands< MaxCandsPerSeed, BlockSize >::trkIdx[MaxCandsPerSeed][BlockSize] |
Definition at line 26 of file BestCands.h.