Skip to content

Commit

Permalink
Ports comments from CUDA version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcano committed Feb 13, 2024
1 parent 93f14ae commit a8ca539
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions DataFormats/VertexSoA/interface/ZVertexSoA.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
namespace reco {

GENERATE_SOA_LAYOUT(ZVertexLayout,
SOA_COLUMN(int16_t, idv),
SOA_COLUMN(float, zv),
SOA_COLUMN(float, wv),
SOA_COLUMN(float, chi2),
SOA_COLUMN(float, ptv2),
SOA_COLUMN(int32_t, ndof),
SOA_COLUMN(uint16_t, sortInd),
SOA_SCALAR(uint32_t, nvFinal))
SOA_COLUMN(int16_t, idv), // vertex index for each associated (original) track (-1 == not associate
SOA_COLUMN(float, zv), // output z-posistion of found vertices
SOA_COLUMN(float, wv), // output weight (1/error^2) on the above
SOA_COLUMN(float, chi2), // vertices chi2
SOA_COLUMN(float, ptv2), // vertices pt^2
SOA_COLUMN(int32_t, ndof), // vertices number of dof (reused as workspace for the number of nearest neighbours FIXME)
SOA_COLUMN(uint16_t, sortInd), // sorted index (by pt2) ascending
SOA_SCALAR(uint32_t, nvFinal)) // the number of vertices

// Common types for both Host and Device code
using ZVertexSoA = ZVertexLayout<>;
Expand Down

0 comments on commit a8ca539

Please sign in to comment.