CMS 3D CMS Logo

PixelVertexWorkSpaceLayout.h
Go to the documentation of this file.
1 #ifndef RecoVertex_PixelVertexFinding_interface_PixelVertexWorkSpaceLayout_h
2 #define RecoVertex_PixelVertexFinding_interface_PixelVertexWorkSpaceLayout_h
3 
4 #include <alpaka/alpaka.hpp>
5 
7 
8 // Intermediate data used in the vertex reco algos
9 // For internal use only
10 namespace vertexFinder {
11 
13  SOA_COLUMN(uint16_t, itrk), // index of original track
14  SOA_COLUMN(float, zt), // input track z at bs
15  SOA_COLUMN(float, ezt2), // input error^2 on the above
16  SOA_COLUMN(float, ptt2), // input pt^2 on the above
17  SOA_COLUMN(uint8_t, izt), // interized z-position of input tracks
18  SOA_COLUMN(int32_t, iv), // vertex index for each associated track
19  SOA_SCALAR(uint32_t, ntrks), // number of "selected tracks"
20  SOA_SCALAR(uint32_t, nvIntermediate)) // the number of vertices after splitting pruning etc.
21 
25 
26  ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE void init(PixelVertexWorkSpaceSoAView& workspace_view) {
27  workspace_view.ntrks() = 0;
28  workspace_view.nvIntermediate() = 0;
29  }
30 
31 } // namespace vertexFinder
32 
33 #endif // RecoVertex_PixelVertexFinding_interface_PixelVertexWorkSpaceLayout_h
PixelVertexWSSoALayout<>::ConstView PixelVertexWorkSpaceSoAConstView
#define GENERATE_SOA_LAYOUT(CLASS,...)
Definition: SoALayout.h:431
#define SOA_SCALAR(TYPE, NAME)
Definition: SoACommon.h:563
PixelVertexWSSoALayout<>::View PixelVertexWorkSpaceSoAView
Definition: init.py:1
float const *__restrict__ ptt2
Definition: gpuSortByPt2.h:22
#define SOA_COLUMN(TYPE, NAME)
Definition: SoACommon.h:564