CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ChannelLocsView Class Reference

#include <ChannelLocsGPU.h>

Public Member Functions

__device__ stripgpu::detId_t detID (uint32_t index) const
 
__device__ stripgpu::fedCh_t fedCh (uint32_t index) const
 
__device__ stripgpu::fedId_t fedID (uint32_t index) const
 
void fill (const ChannelLocsGPU &c)
 
__device__ size_t inoff (uint32_t index) const
 
__device__ const uint8_t * input (uint32_t index) const
 
__device__ uint16_t length (uint32_t index) const
 
__device__ size_t offset (uint32_t index) const
 
__device__ size_t size () const
 

Private Attributes

stripgpu::detId_tdetID_
 
stripgpu::fedCh_tfedCh_
 
stripgpu::fedId_tfedID_
 
size_t * inoff_
 
const uint8_t *const * input_
 
uint16_t * length_
 
size_t * offset_
 
size_t size_
 

Detailed Description

Definition at line 92 of file ChannelLocsGPU.h.

Member Function Documentation

◆ detID()

__device__ stripgpu::detId_t ChannelLocsView::detID ( uint32_t  index) const
inline

Definition at line 104 of file ChannelLocsGPU.h.

References detID_.

104 { return detID_[index]; }
stripgpu::detId_t * detID_

◆ fedCh()

__device__ stripgpu::fedCh_t ChannelLocsView::fedCh ( uint32_t  index) const
inline

Definition at line 103 of file ChannelLocsGPU.h.

References fedCh_.

103 { return fedCh_[index]; }
stripgpu::fedCh_t * fedCh_

◆ fedID()

__device__ stripgpu::fedId_t ChannelLocsView::fedID ( uint32_t  index) const
inline

Definition at line 102 of file ChannelLocsGPU.h.

References fedID_.

102 { return fedID_[index]; }
stripgpu::fedId_t * fedID_

◆ fill()

void ChannelLocsView::fill ( const ChannelLocsGPU c)

Definition at line 21 of file ChannelLocsGPU.cc.

References HltBtagPostValidation_cff::c, detID_, fedCh_, fedID_, inoff_, input_, length_, offset_, and size_.

Referenced by ChannelLocsGPU::ChannelLocsGPU().

21  {
22  input_ = c.input();
23  inoff_ = c.inoff();
24  offset_ = c.offset();
25  length_ = c.length();
26  fedID_ = c.fedID();
27  fedCh_ = c.fedCh();
28  detID_ = c.detID();
29  size_ = c.size();
30 }
stripgpu::detId_t * detID_
stripgpu::fedCh_t * fedCh_
stripgpu::fedId_t * fedID_
const uint8_t *const * input_
uint16_t * length_

◆ inoff()

__device__ size_t ChannelLocsView::inoff ( uint32_t  index) const
inline

Definition at line 99 of file ChannelLocsGPU.h.

References inoff_.

◆ input()

__device__ const uint8_t* ChannelLocsView::input ( uint32_t  index) const
inline

Definition at line 98 of file ChannelLocsGPU.h.

References input_.

98 { return input_[index]; }
const uint8_t *const * input_

◆ length()

__device__ uint16_t ChannelLocsView::length ( uint32_t  index) const
inline

Definition at line 101 of file ChannelLocsGPU.h.

References length_.

◆ offset()

__device__ size_t ChannelLocsView::offset ( uint32_t  index) const
inline

Definition at line 100 of file ChannelLocsGPU.h.

References offset_.

◆ size()

__device__ size_t ChannelLocsView::size ( void  ) const
inline

Definition at line 96 of file ChannelLocsGPU.h.

References size_.

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

96 { return size_; }

Member Data Documentation

◆ detID_

stripgpu::detId_t* ChannelLocsView::detID_
private

Definition at line 113 of file ChannelLocsGPU.h.

Referenced by detID(), and fill().

◆ fedCh_

stripgpu::fedCh_t* ChannelLocsView::fedCh_
private

Definition at line 112 of file ChannelLocsGPU.h.

Referenced by fedCh(), and fill().

◆ fedID_

stripgpu::fedId_t* ChannelLocsView::fedID_
private

Definition at line 111 of file ChannelLocsGPU.h.

Referenced by fedID(), and fill().

◆ inoff_

size_t* ChannelLocsView::inoff_
private

Definition at line 108 of file ChannelLocsGPU.h.

Referenced by fill(), and inoff().

◆ input_

const uint8_t* const* ChannelLocsView::input_
private

Definition at line 107 of file ChannelLocsGPU.h.

Referenced by fill(), and input().

◆ length_

uint16_t* ChannelLocsView::length_
private

Definition at line 110 of file ChannelLocsGPU.h.

Referenced by fill(), and length().

◆ offset_

size_t* ChannelLocsView::offset_
private

Definition at line 109 of file ChannelLocsGPU.h.

Referenced by fill(), and offset().

◆ size_

size_t ChannelLocsView::size_
private

Definition at line 114 of file ChannelLocsGPU.h.

Referenced by fill(), and size().