Skip to content

Commit

Permalink
Improved comments identifying columns in SoA
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcano committed Sep 29, 2021
1 parent ee1e370 commit 84694d2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/cudadev/CUDADataFormats/SiPixelDigisCUDA.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ class SiPixelDigisCUDA {
SoA_FundamentalTypeColumn(uint16_t, xx), /* local coordinates of each pixel */
SoA_FundamentalTypeColumn(uint16_t, yy), /* */
SoA_FundamentalTypeColumn(uint16_t, moduleInd), /* module id of each pixel */

/* These are for CPU output; should we (eventually) place them to a */
/* separate product? */
/* These are also transferred to host (see HostDataView) */
SoA_FundamentalTypeColumn(uint16_t, adc), /* ADC of each pixel */
SoA_FundamentalTypeColumn(int32_t, clus), /* cluster id of each pixel */
/* These are for CPU output; should we (eventually) place them to a */
/* separate product? */
SoA_FundamentalTypeColumn(uint32_t, pdigi), /* packed digi (row, col, adc) of each pixel */
SoA_FundamentalTypeColumn(uint32_t, rawIdArr) /* DetId of each pixel */
);
Expand All @@ -36,6 +36,8 @@ class SiPixelDigisCUDA {
declare_SoA_template(HostDataView,
SoA_FundamentalTypeColumn(uint16_t, adc), /* ADC of each pixel */
SoA_FundamentalTypeColumn(int32_t, clus), /* cluster id of each pixel */
/* These are for CPU output; should we (eventually) place them to a */
/* separate product? */
SoA_FundamentalTypeColumn(uint32_t, pdigi), /* packed digi (row, col, adc) of each pixel */
SoA_FundamentalTypeColumn(uint32_t, rawIdArr) /* DetId of each pixel */
);
Expand Down

0 comments on commit 84694d2

Please sign in to comment.