#include <TrackingRecHit2DHeterogeneous.h>
Public Types | |
using | PhiBinner = TrackingRecHit2DSOAView::PhiBinner |
enum | Storage16 { Storage16::kDetId = 0, Storage16::kPhi = 1, Storage16::kXSize = 2, Storage16::kYSize = 3 } |
enum | Storage32 { Storage32::kXLocal = 0, Storage32::kYLocal = 1, Storage32::kXerror = 2, Storage32::kYerror = 3, Storage32::kCharge = 4, Storage32::kXGlobal = 5, Storage32::kYGlobal = 6, Storage32::kZGlobal = 7, Storage32::kRGlobal = 8, Storage32::kPhiStorage = 9, Storage32::kLayers = 10 } |
template<typename T > | |
using | unique_ptr = typename Traits::template unique_ptr< T > |
Private Attributes | |
unique_ptr< TrackingRecHit2DSOAView::AverageGeometry > | m_AverageGeometryStore |
uint32_t * | m_hitsLayerStart |
uint32_t const * | m_hitsModuleStart |
int16_t * | m_iphi |
uint32_t | m_nHits |
uint32_t | m_nMaxModules |
int32_t | m_offsetBPIX2 |
PhiBinner * | m_phiBinner |
PhiBinner::index_type * | m_phiBinnerStorage |
unique_ptr< TrackingRecHit2DSOAView::PhiBinner > | m_PhiBinnerStore |
unique_ptr< uint16_t[]> | m_store16 |
unique_ptr< float[]> | m_store32 |
unique_ptr< TrackingRecHit2DSOAView > | m_view |
Static Private Attributes | |
static constexpr uint32_t | n16 = 4 |
static constexpr uint32_t | n32 = 10 |
Definition at line 9 of file TrackingRecHit2DHeterogeneous.h.
using TrackingRecHit2DHeterogeneous< Traits >::PhiBinner = TrackingRecHit2DSOAView::PhiBinner |
Definition at line 35 of file TrackingRecHit2DHeterogeneous.h.
using TrackingRecHit2DHeterogeneous< Traits >::unique_ptr = typename Traits::template unique_ptr<T> |
Definition at line 33 of file TrackingRecHit2DHeterogeneous.h.
|
strong |
Enumerator | |
---|---|
kDetId | |
kPhi | |
kXSize | |
kYSize |
Definition at line 25 of file TrackingRecHit2DHeterogeneous.h.
|
strong |
Enumerator | |
---|---|
kXLocal | |
kYLocal | |
kXerror | |
kYerror | |
kCharge | |
kXGlobal | |
kYGlobal | |
kZGlobal | |
kRGlobal | |
kPhiStorage | |
kLayers |
Definition at line 11 of file TrackingRecHit2DHeterogeneous.h.
|
default |
|
explicit |
Definition at line 114 of file TrackingRecHit2DHeterogeneous.h.
References cms::cuda::assert(), cms::cuda::copyAsync(), TrackingRecHit2DHeterogeneous< Traits >::copyFromGPU(), TrackingRecHit2DHeterogeneous< Traits >::hitsModuleStart(), mps_fire::i, input, HLT_2022v12_cff::isPhase2, TrackingRecHit2DHeterogeneous< Traits >::kCharge, TrackingRecHit2DHeterogeneous< Traits >::kDetId, TrackingRecHit2DHeterogeneous< Traits >::kLayers, TrackingRecHit2DHeterogeneous< Traits >::kPhi, TrackingRecHit2DHeterogeneous< Traits >::kPhiStorage, TrackingRecHit2DHeterogeneous< Traits >::kRGlobal, TrackingRecHit2DHeterogeneous< Traits >::kXerror, TrackingRecHit2DHeterogeneous< Traits >::kXGlobal, TrackingRecHit2DHeterogeneous< Traits >::kXLocal, TrackingRecHit2DHeterogeneous< Traits >::kXSize, TrackingRecHit2DHeterogeneous< Traits >::kYerror, TrackingRecHit2DHeterogeneous< Traits >::kYGlobal, TrackingRecHit2DHeterogeneous< Traits >::kYLocal, TrackingRecHit2DHeterogeneous< Traits >::kYSize, TrackingRecHit2DHeterogeneous< Traits >::kZGlobal, TrackingRecHit2DSOAView::m_averageGeometry, TrackingRecHit2DHeterogeneous< Traits >::m_AverageGeometryStore, TrackingRecHit2DSOAView::m_chargeAndStatus, TrackingRecHit2DSOAView::m_cpeParams, TrackingRecHit2DSOAView::m_detInd, TrackingRecHit2DHeterogeneous< Traits >::m_hitsLayerStart, TrackingRecHit2DSOAView::m_hitsLayerStart, TrackingRecHit2DSOAView::m_hitsModuleStart, TrackingRecHit2DSOAView::m_iphi, TrackingRecHit2DHeterogeneous< Traits >::m_iphi, TrackingRecHit2DSOAView::m_nHits, TrackingRecHit2DHeterogeneous< Traits >::m_nMaxModules, TrackingRecHit2DSOAView::m_nMaxModules, TrackingRecHit2DHeterogeneous< Traits >::m_phiBinner, TrackingRecHit2DSOAView::m_phiBinner, TrackingRecHit2DHeterogeneous< Traits >::m_phiBinnerStorage, TrackingRecHit2DSOAView::m_phiBinnerStorage, TrackingRecHit2DHeterogeneous< Traits >::m_PhiBinnerStore, TrackingRecHit2DSOAView::m_rg, TrackingRecHit2DHeterogeneous< Traits >::m_store16, TrackingRecHit2DHeterogeneous< Traits >::m_store32, TrackingRecHit2DHeterogeneous< Traits >::m_view, TrackingRecHit2DSOAView::m_xerr, TrackingRecHit2DSOAView::m_xg, TrackingRecHit2DSOAView::m_xl, TrackingRecHit2DSOAView::m_xsize, TrackingRecHit2DSOAView::m_yerr, TrackingRecHit2DSOAView::m_yg, TrackingRecHit2DSOAView::m_yl, TrackingRecHit2DSOAView::m_ysize, TrackingRecHit2DSOAView::m_zg, TrackingRecHit2DHeterogeneous< Traits >::n16, TrackingRecHit2DHeterogeneous< Traits >::n32, TrackingRecHit2DHeterogeneous< Traits >::nHits(), phase1PixelTopology::numberOfLayers, phase2PixelTopology::numberOfLayers, phase1PixelTopology::numberOfModules, phase2PixelTopology::numberOfModules, cms::cuda::stream, svgfig::template(), and TrackingRecHit2DHeterogeneous< Traits >::view().
|
explicit |
Definition at line 209 of file TrackingRecHit2DHeterogeneous.h.
References filterCSVwithJSON::copy, cms::cuda::copyAsync(), mps_fire::i, TrackingRecHit2DHeterogeneous< Traits >::kCharge, TrackingRecHit2DHeterogeneous< Traits >::kDetId, TrackingRecHit2DHeterogeneous< Traits >::kPhi, TrackingRecHit2DHeterogeneous< Traits >::kPhiStorage, TrackingRecHit2DHeterogeneous< Traits >::kRGlobal, TrackingRecHit2DHeterogeneous< Traits >::kXerror, TrackingRecHit2DHeterogeneous< Traits >::kXGlobal, TrackingRecHit2DHeterogeneous< Traits >::kXLocal, TrackingRecHit2DHeterogeneous< Traits >::kXSize, TrackingRecHit2DHeterogeneous< Traits >::kYerror, TrackingRecHit2DHeterogeneous< Traits >::kYGlobal, TrackingRecHit2DHeterogeneous< Traits >::kYLocal, TrackingRecHit2DHeterogeneous< Traits >::kYSize, TrackingRecHit2DHeterogeneous< Traits >::kZGlobal, TrackingRecHit2DSOAView::m_averageGeometry, TrackingRecHit2DHeterogeneous< Traits >::m_AverageGeometryStore, TrackingRecHit2DSOAView::m_chargeAndStatus, TrackingRecHit2DSOAView::m_detInd, TrackingRecHit2DHeterogeneous< Traits >::m_hitsModuleStart, TrackingRecHit2DSOAView::m_hitsModuleStart, TrackingRecHit2DSOAView::m_iphi, TrackingRecHit2DHeterogeneous< Traits >::m_iphi, TrackingRecHit2DSOAView::m_nHits, TrackingRecHit2DHeterogeneous< Traits >::m_phiBinner, TrackingRecHit2DSOAView::m_phiBinner, TrackingRecHit2DHeterogeneous< Traits >::m_phiBinnerStorage, TrackingRecHit2DSOAView::m_phiBinnerStorage, TrackingRecHit2DHeterogeneous< Traits >::m_PhiBinnerStore, TrackingRecHit2DSOAView::m_rg, TrackingRecHit2DHeterogeneous< Traits >::m_store16, TrackingRecHit2DHeterogeneous< Traits >::m_store32, TrackingRecHit2DHeterogeneous< Traits >::m_view, TrackingRecHit2DSOAView::m_xerr, TrackingRecHit2DSOAView::m_xg, TrackingRecHit2DSOAView::m_xl, TrackingRecHit2DSOAView::m_xsize, TrackingRecHit2DSOAView::m_yerr, TrackingRecHit2DSOAView::m_yg, TrackingRecHit2DSOAView::m_yl, TrackingRecHit2DSOAView::m_ysize, TrackingRecHit2DSOAView::m_zg, eostools::move(), TrackingRecHit2DHeterogeneous< Traits >::n16, TrackingRecHit2DHeterogeneous< Traits >::n32, TrackingRecHit2DHeterogeneous< Traits >::nHits(), cms::cuda::stream, svgfig::template(), and TrackingRecHit2DHeterogeneous< Traits >::view().
|
default |
|
delete |
|
default |
void TrackingRecHit2DHeterogeneous< Traits >::copyFromGPU | ( | TrackingRecHit2DHeterogeneous< cms::cudacompat::GPUTraits > const * | input, |
cudaStream_t | stream | ||
) |
|
inline |
Definition at line 65 of file TrackingRecHit2DHeterogeneous.h.
References TrackingRecHit2DHeterogeneous< Traits >::m_hitsLayerStart.
|
inline |
Definition at line 64 of file TrackingRecHit2DHeterogeneous.h.
References TrackingRecHit2DHeterogeneous< Traits >::m_hitsModuleStart.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::TrackingRecHit2DHeterogeneous().
cms::cuda::host::unique_ptr< uint32_t[]> TrackingRecHit2DGPU::hitsModuleStartToHostAsync | ( | cudaStream_t | stream | ) | const |
Definition at line 29 of file TrackingRecHit2DHeterogeneous.cc.
References cudaCheck, TrackingRecHit2DHeterogeneous< Traits >::m_hitsModuleStart, TrackingRecHit2DHeterogeneous< Traits >::nMaxModules(), runTheMatrix::ret, and cms::cuda::stream.
|
inline |
Definition at line 68 of file TrackingRecHit2DHeterogeneous.h.
References TrackingRecHit2DHeterogeneous< Traits >::m_iphi.
cms::cuda::host::unique_ptr< float[]> TrackingRecHit2DGPU::localCoordToHostAsync | ( | cudaStream_t | stream | ) | const |
Definition at line 8 of file TrackingRecHit2DHeterogeneous.cc.
References cms::cuda::copyAsync(), TrackingRecHit2DHeterogeneous< Traits >::m_store32, TrackingRecHit2DHeterogeneous< Traits >::nHits(), runTheMatrix::ret, and cms::cuda::stream.
|
inline |
Definition at line 60 of file TrackingRecHit2DHeterogeneous.h.
References TrackingRecHit2DHeterogeneous< Traits >::m_nHits.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::localCoordToHostAsync(), CAHitNtupletGeneratorOnGPU::makeTuples(), CAHitNtupletGeneratorOnGPU::makeTuplesAsync(), TrackingRecHit2DHeterogeneous< Traits >::store16ToHostAsync(), TrackingRecHit2DHeterogeneous< Traits >::store32ToHostAsync(), and TrackingRecHit2DHeterogeneous< Traits >::TrackingRecHit2DHeterogeneous().
|
inline |
Definition at line 61 of file TrackingRecHit2DHeterogeneous.h.
References TrackingRecHit2DHeterogeneous< Traits >::m_nMaxModules.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::hitsModuleStartToHostAsync().
|
inline |
Definition at line 62 of file TrackingRecHit2DHeterogeneous.h.
References TrackingRecHit2DHeterogeneous< Traits >::m_offsetBPIX2.
|
delete |
|
default |
|
inline |
Definition at line 66 of file TrackingRecHit2DHeterogeneous.h.
References TrackingRecHit2DHeterogeneous< Traits >::m_phiBinner.
|
inline |
Definition at line 67 of file TrackingRecHit2DHeterogeneous.h.
References TrackingRecHit2DHeterogeneous< Traits >::m_phiBinnerStorage.
cms::cuda::host::unique_ptr< uint16_t[]> TrackingRecHit2DGPU::store16ToHostAsync | ( | cudaStream_t | stream | ) | const |
Definition at line 22 of file TrackingRecHit2DHeterogeneous.cc.
References cms::cuda::copyAsync(), TrackingRecHit2DHeterogeneous< Traits >::m_store16, TrackingRecHit2DHeterogeneous< Traits >::n16, TrackingRecHit2DHeterogeneous< Traits >::nHits(), runTheMatrix::ret, and cms::cuda::stream.
cms::cuda::host::unique_ptr< float[]> TrackingRecHit2DGPU::store32ToHostAsync | ( | cudaStream_t | stream | ) | const |
Definition at line 15 of file TrackingRecHit2DHeterogeneous.cc.
References cms::cuda::copyAsync(), TrackingRecHit2DHeterogeneous< Traits >::m_store32, TrackingRecHit2DHeterogeneous< Traits >::n32, TrackingRecHit2DHeterogeneous< Traits >::nHits(), runTheMatrix::ret, and cms::cuda::stream.
|
inline |
Definition at line 57 of file TrackingRecHit2DHeterogeneous.h.
References TrackingRecHit2DHeterogeneous< Traits >::m_view.
Referenced by CAHitNtupletGeneratorOnGPU::makeTuples(), CAHitNtupletGeneratorOnGPU::makeTuplesAsync(), and TrackingRecHit2DHeterogeneous< Traits >::TrackingRecHit2DHeterogeneous().
|
inline |
Definition at line 58 of file TrackingRecHit2DHeterogeneous.h.
References TrackingRecHit2DHeterogeneous< Traits >::m_view.
|
private |
Definition at line 89 of file TrackingRecHit2DHeterogeneous.h.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::TrackingRecHit2DHeterogeneous().
|
private |
Definition at line 102 of file TrackingRecHit2DHeterogeneous.h.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::hitsLayerStart(), and TrackingRecHit2DHeterogeneous< Traits >::TrackingRecHit2DHeterogeneous().
|
private |
|
private |
Definition at line 103 of file TrackingRecHit2DHeterogeneous.h.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::iphi(), and TrackingRecHit2DHeterogeneous< Traits >::TrackingRecHit2DHeterogeneous().
|
private |
Definition at line 93 of file TrackingRecHit2DHeterogeneous.h.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::nHits().
|
private |
Definition at line 98 of file TrackingRecHit2DHeterogeneous.h.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::nMaxModules(), and TrackingRecHit2DHeterogeneous< Traits >::TrackingRecHit2DHeterogeneous().
|
private |
Definition at line 94 of file TrackingRecHit2DHeterogeneous.h.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::offsetBPIX2().
|
private |
Definition at line 100 of file TrackingRecHit2DHeterogeneous.h.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::phiBinner(), and TrackingRecHit2DHeterogeneous< Traits >::TrackingRecHit2DHeterogeneous().
|
private |
Definition at line 101 of file TrackingRecHit2DHeterogeneous.h.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::phiBinnerStorage(), and TrackingRecHit2DHeterogeneous< Traits >::TrackingRecHit2DHeterogeneous().
|
private |
Definition at line 88 of file TrackingRecHit2DHeterogeneous.h.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::TrackingRecHit2DHeterogeneous().
|
private |
Definition at line 83 of file TrackingRecHit2DHeterogeneous.h.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::store16ToHostAsync(), and TrackingRecHit2DHeterogeneous< Traits >::TrackingRecHit2DHeterogeneous().
|
private |
|
private |
Definition at line 91 of file TrackingRecHit2DHeterogeneous.h.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::TrackingRecHit2DHeterogeneous(), and TrackingRecHit2DHeterogeneous< Traits >::view().
|
staticprivate |
Definition at line 81 of file TrackingRecHit2DHeterogeneous.h.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::store16ToHostAsync(), and TrackingRecHit2DHeterogeneous< Traits >::TrackingRecHit2DHeterogeneous().
|
staticprivate |
Definition at line 82 of file TrackingRecHit2DHeterogeneous.h.
Referenced by TrackingRecHit2DHeterogeneous< Traits >::store32ToHostAsync(), and TrackingRecHit2DHeterogeneous< Traits >::TrackingRecHit2DHeterogeneous().