CMS 3D CMS Logo

List of all members | Public Member Functions
SiStripClustersSOA Class Reference

#include <SiStripClustersSOA.h>

Inheritance diagram for SiStripClustersSOA:
SiStripClustersSOABase< detail::impl::unique_ptr_default_deleter >

Public Member Functions

SiStripClustersSOAoperator= (const SiStripClustersSOA &)=delete
 
SiStripClustersSOAoperator= (SiStripClustersSOA &&)=default
 
 SiStripClustersSOA ()=default
 
 SiStripClustersSOA (uint32_t maxClusters, uint32_t maxStripsPerCluster)
 
 SiStripClustersSOA (const SiStripClustersSOA &)=delete
 
 SiStripClustersSOA (SiStripClustersSOA &&)=default
 
 ~SiStripClustersSOA () override=default
 
- Public Member Functions inherited from SiStripClustersSOABase< detail::impl::unique_ptr_default_deleter >
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
 

Additional Inherited Members

- Protected Attributes inherited from SiStripClustersSOABase< detail::impl::unique_ptr_default_deleter >
detail::impl::unique_ptr_default_deleter< float[]> barycenter_
 
detail::impl::unique_ptr_default_deleter< float[]> charge_
 
detail::impl::unique_ptr_default_deleter< uint8_t[]> clusterADCs_
 
detail::impl::unique_ptr_default_deleter< stripgpu::detId_t[]> clusterDetId_
 
detail::impl::unique_ptr_default_deleter< uint32_t[]> clusterIndex_
 
detail::impl::unique_ptr_default_deleter< uint32_t[]> clusterSize_
 
detail::impl::unique_ptr_default_deleter< stripgpu::stripId_t[]> firstStrip_
 
uint32_t maxClusterSize_
 
uint32_t nClusters_
 
detail::impl::unique_ptr_default_deleter< bool[]> trueCluster_
 

Detailed Description

Definition at line 15 of file SiStripClustersSOA.h.

Constructor & Destructor Documentation

◆ SiStripClustersSOA() [1/4]

SiStripClustersSOA::SiStripClustersSOA ( )
default

◆ SiStripClustersSOA() [2/4]

SiStripClustersSOA::SiStripClustersSOA ( uint32_t  maxClusters,
uint32_t  maxStripsPerCluster 
)
explicit

Definition at line 3 of file SiStripClustersSOA.cc.

References SiStripClustersSOABase< detail::impl::unique_ptr_default_deleter >::barycenter_, SiStripClustersSOABase< detail::impl::unique_ptr_default_deleter >::charge_, SiStripClustersSOABase< detail::impl::unique_ptr_default_deleter >::clusterADCs_, SiStripClustersSOABase< detail::impl::unique_ptr_default_deleter >::clusterDetId_, SiStripClustersSOABase< detail::impl::unique_ptr_default_deleter >::clusterIndex_, SiStripClustersSOABase< detail::impl::unique_ptr_default_deleter >::clusterSize_, SiStripClustersSOABase< detail::impl::unique_ptr_default_deleter >::firstStrip_, beam_dqm_sourceclient-live_cfg::maxClusters, SiStripClustersSOABase< detail::impl::unique_ptr_default_deleter >::maxClusterSize_, and SiStripClustersSOABase< detail::impl::unique_ptr_default_deleter >::trueCluster_.

3  {
4  clusterIndex_ = std::make_unique<uint32_t[]>(maxClusters);
5  clusterSize_ = std::make_unique<uint32_t[]>(maxClusters);
6  clusterADCs_ = std::make_unique<uint8_t[]>(maxClusters * maxStripsPerCluster);
7  clusterDetId_ = std::make_unique<stripgpu::detId_t[]>(maxClusters);
8  firstStrip_ = std::make_unique<stripgpu::stripId_t[]>(maxClusters);
9  trueCluster_ = std::make_unique<bool[]>(maxClusters);
10  barycenter_ = std::make_unique<float[]>(maxClusters);
11  charge_ = std::make_unique<float[]>(maxClusters);
12  maxClusterSize_ = maxStripsPerCluster;
13 }
detail::impl::unique_ptr_default_deleter< uint8_t[]> clusterADCs_
detail::impl::unique_ptr_default_deleter< uint32_t[]> clusterSize_
detail::impl::unique_ptr_default_deleter< float[]> charge_
detail::impl::unique_ptr_default_deleter< stripgpu::detId_t[]> clusterDetId_
detail::impl::unique_ptr_default_deleter< float[]> barycenter_
detail::impl::unique_ptr_default_deleter< uint32_t[]> clusterIndex_
detail::impl::unique_ptr_default_deleter< bool[]> trueCluster_
detail::impl::unique_ptr_default_deleter< stripgpu::stripId_t[]> firstStrip_

◆ ~SiStripClustersSOA()

SiStripClustersSOA::~SiStripClustersSOA ( )
overridedefault

◆ SiStripClustersSOA() [3/4]

SiStripClustersSOA::SiStripClustersSOA ( const SiStripClustersSOA )
delete

◆ SiStripClustersSOA() [4/4]

SiStripClustersSOA::SiStripClustersSOA ( SiStripClustersSOA &&  )
default

Member Function Documentation

◆ operator=() [1/2]

SiStripClustersSOA& SiStripClustersSOA::operator= ( const SiStripClustersSOA )
delete

◆ operator=() [2/2]

SiStripClustersSOA& SiStripClustersSOA::operator= ( SiStripClustersSOA &&  )
default