CMS 3D CMS Logo

SiStripClustersSOA.cc
Go to the documentation of this file.
2 
3 SiStripClustersSOA::SiStripClustersSOA(uint32_t maxClusters, uint32_t maxStripsPerCluster) {
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_
SiStripClustersSOA()=default
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_