CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
SiStripClustersSOABase< T > Class Template Reference

#include <SiStripClustersSOABase.h>

Public Member Functions

const auto & barycenter () const
 
auto & barycenter ()
 
const auto & charge () const
 
auto & charge ()
 
const auto & clusterADCs () const
 
auto & clusterADCs ()
 
const auto & clusterDetId () const
 
auto & clusterDetId ()
 
const auto & clusterIndex () const
 
auto & clusterIndex ()
 
const auto & clusterSize () const
 
auto & clusterSize ()
 
const auto & firstStrip () const
 
auto & firstStrip ()
 
uint32_t maxClusterSize () const
 
uint32_t nClusters () const
 
SiStripClustersSOABaseoperator= (const SiStripClustersSOABase &)=delete
 
SiStripClustersSOABaseoperator= (SiStripClustersSOABase &&)=default
 
void setMaxClusterSize (uint32_t maxClusterSize)
 
void setNClusters (uint32_t nClusters)
 
 SiStripClustersSOABase ()=default
 
 SiStripClustersSOABase (const SiStripClustersSOABase &)=delete
 
 SiStripClustersSOABase (SiStripClustersSOABase &&)=default
 
const auto & trueCluster () const
 
auto & trueCluster ()
 
virtual ~SiStripClustersSOABase ()=default
 

Protected Attributes

T< float[]> barycenter_
 
T< float[]> charge_
 
T< uint8_t[]> clusterADCs_
 
T< stripgpu::detId_t[]> clusterDetId_
 
T< uint32_t[]> clusterIndex_
 
T< uint32_t[]> clusterSize_
 
T< stripgpu::stripId_t[]> firstStrip_
 
uint32_t maxClusterSize_
 
uint32_t nClusters_
 
T< bool[]> trueCluster_
 

Detailed Description

template<template< typename > class T>
class SiStripClustersSOABase< T >

Definition at line 10 of file SiStripClustersSOABase.h.

Constructor & Destructor Documentation

◆ SiStripClustersSOABase() [1/3]

template<template< typename > class T>
SiStripClustersSOABase< T >::SiStripClustersSOABase ( )
default

◆ ~SiStripClustersSOABase()

template<template< typename > class T>
virtual SiStripClustersSOABase< T >::~SiStripClustersSOABase ( )
virtualdefault

◆ SiStripClustersSOABase() [2/3]

template<template< typename > class T>
SiStripClustersSOABase< T >::SiStripClustersSOABase ( const SiStripClustersSOABase< T > &  )
delete

◆ SiStripClustersSOABase() [3/3]

template<template< typename > class T>
SiStripClustersSOABase< T >::SiStripClustersSOABase ( SiStripClustersSOABase< T > &&  )
default

Member Function Documentation

◆ barycenter() [1/2]

template<template< typename > class T>
const auto& SiStripClustersSOABase< T >::barycenter ( ) const
inline

◆ barycenter() [2/2]

template<template< typename > class T>
auto& SiStripClustersSOABase< T >::barycenter ( )
inline

Definition at line 44 of file SiStripClustersSOABase.h.

44 { return barycenter_; }

◆ charge() [1/2]

template<template< typename > class T>
const auto& SiStripClustersSOABase< T >::charge ( ) const
inline

Definition at line 36 of file SiStripClustersSOABase.h.

Referenced by SiStripClustersCUDAHost::SiStripClustersCUDAHost().

36 { return charge_; }

◆ charge() [2/2]

template<template< typename > class T>
auto& SiStripClustersSOABase< T >::charge ( )
inline

Definition at line 45 of file SiStripClustersSOABase.h.

45 { return charge_; }

◆ clusterADCs() [1/2]

template<template< typename > class T>
const auto& SiStripClustersSOABase< T >::clusterADCs ( ) const
inline

Definition at line 31 of file SiStripClustersSOABase.h.

Referenced by SiStripClustersCUDAHost::SiStripClustersCUDAHost().

31 { return clusterADCs_; }

◆ clusterADCs() [2/2]

template<template< typename > class T>
auto& SiStripClustersSOABase< T >::clusterADCs ( )
inline

Definition at line 40 of file SiStripClustersSOABase.h.

40 { return clusterADCs_; }

◆ clusterDetId() [1/2]

template<template< typename > class T>
const auto& SiStripClustersSOABase< T >::clusterDetId ( ) const
inline

Definition at line 32 of file SiStripClustersSOABase.h.

Referenced by SiStripClustersCUDAHost::SiStripClustersCUDAHost().

32 { return clusterDetId_; }
T< stripgpu::detId_t[]> clusterDetId_

◆ clusterDetId() [2/2]

template<template< typename > class T>
auto& SiStripClustersSOABase< T >::clusterDetId ( )
inline

Definition at line 41 of file SiStripClustersSOABase.h.

41 { return clusterDetId_; }
T< stripgpu::detId_t[]> clusterDetId_

◆ clusterIndex() [1/2]

template<template< typename > class T>
const auto& SiStripClustersSOABase< T >::clusterIndex ( ) const
inline

Definition at line 29 of file SiStripClustersSOABase.h.

Referenced by SiStripClustersCUDAHost::SiStripClustersCUDAHost().

29 { return clusterIndex_; }

◆ clusterIndex() [2/2]

template<template< typename > class T>
auto& SiStripClustersSOABase< T >::clusterIndex ( )
inline

Definition at line 38 of file SiStripClustersSOABase.h.

38 { return clusterIndex_; }

◆ clusterSize() [1/2]

template<template< typename > class T>
const auto& SiStripClustersSOABase< T >::clusterSize ( ) const
inline

Definition at line 30 of file SiStripClustersSOABase.h.

Referenced by SiStripClustersCUDAHost::SiStripClustersCUDAHost().

30 { return clusterSize_; }

◆ clusterSize() [2/2]

template<template< typename > class T>
auto& SiStripClustersSOABase< T >::clusterSize ( )
inline

Definition at line 39 of file SiStripClustersSOABase.h.

39 { return clusterSize_; }

◆ firstStrip() [1/2]

template<template< typename > class T>
const auto& SiStripClustersSOABase< T >::firstStrip ( ) const
inline

Definition at line 33 of file SiStripClustersSOABase.h.

Referenced by SiStripClustersCUDAHost::SiStripClustersCUDAHost().

33 { return firstStrip_; }
T< stripgpu::stripId_t[]> firstStrip_

◆ firstStrip() [2/2]

template<template< typename > class T>
auto& SiStripClustersSOABase< T >::firstStrip ( )
inline

Definition at line 42 of file SiStripClustersSOABase.h.

42 { return firstStrip_; }
T< stripgpu::stripId_t[]> firstStrip_

◆ maxClusterSize()

template<template< typename > class T>
uint32_t SiStripClustersSOABase< T >::maxClusterSize ( ) const
inline

◆ nClusters()

template<template< typename > class T>
uint32_t SiStripClustersSOABase< T >::nClusters ( ) const
inline

◆ operator=() [1/2]

template<template< typename > class T>
SiStripClustersSOABase& SiStripClustersSOABase< T >::operator= ( const SiStripClustersSOABase< T > &  )
delete

◆ operator=() [2/2]

template<template< typename > class T>
SiStripClustersSOABase& SiStripClustersSOABase< T >::operator= ( SiStripClustersSOABase< T > &&  )
default

◆ setMaxClusterSize()

template<template< typename > class T>
void SiStripClustersSOABase< T >::setMaxClusterSize ( uint32_t  maxClusterSize)
inline

Definition at line 26 of file SiStripClustersSOABase.h.

◆ setNClusters()

template<template< typename > class T>
void SiStripClustersSOABase< T >::setNClusters ( uint32_t  nClusters)
inline

Definition at line 23 of file SiStripClustersSOABase.h.

◆ trueCluster() [1/2]

template<template< typename > class T>
const auto& SiStripClustersSOABase< T >::trueCluster ( ) const
inline

◆ trueCluster() [2/2]

template<template< typename > class T>
auto& SiStripClustersSOABase< T >::trueCluster ( )
inline

Definition at line 43 of file SiStripClustersSOABase.h.

43 { return trueCluster_; }

Member Data Documentation

◆ barycenter_

template<template< typename > class T>
T<float[]> SiStripClustersSOABase< T >::barycenter_
protected

◆ charge_

template<template< typename > class T>
T<float[]> SiStripClustersSOABase< T >::charge_
protected

◆ clusterADCs_

template<template< typename > class T>
T<uint8_t[]> SiStripClustersSOABase< T >::clusterADCs_
protected

◆ clusterDetId_

template<template< typename > class T>
T<stripgpu::detId_t[]> SiStripClustersSOABase< T >::clusterDetId_
protected

◆ clusterIndex_

template<template< typename > class T>
T<uint32_t[]> SiStripClustersSOABase< T >::clusterIndex_
protected

◆ clusterSize_

template<template< typename > class T>
T<uint32_t[]> SiStripClustersSOABase< T >::clusterSize_
protected

◆ firstStrip_

template<template< typename > class T>
T<stripgpu::stripId_t[]> SiStripClustersSOABase< T >::firstStrip_
protected

◆ maxClusterSize_

template<template< typename > class T>
uint32_t SiStripClustersSOABase< T >::maxClusterSize_
protected

◆ nClusters_

template<template< typename > class T>
uint32_t SiStripClustersSOABase< T >::nClusters_
protected

◆ trueCluster_

template<template< typename > class T>
T<bool[]> SiStripClustersSOABase< T >::trueCluster_
protected