37 const int nSeedStripsNC = clust_data.nClusters();
38 const auto clusterSize = clust_data.clusterSize().get();
39 const auto clusterADCs = clust_data.clusterADCs().get();
40 const auto detIDs = clust_data.clusterDetId().get();
41 const auto stripIDs = clust_data.firstStrip().get();
42 const auto trueCluster = clust_data.trueCluster().get();
44 const unsigned int initSeedStripsSize = 15000;
48 output->reserve(initSeedStripsSize, nSeedStripsNC);
50 std::vector<uint8_t> adcs;
52 for (
int i = 0;
i < nSeedStripsNC;) {
64 for (uint32_t
j = 0;
j <
size; ++
j) {
65 adcs.push_back(clusterADCs[
i +
j * nSeedStripsNC]);
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
void produce(edm::Event &ev, const edm::EventSetup &es) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< SiStripClustersCUDAHost > inputToken_
#define DEFINE_FWK_MODULE(type)
edm::EDPutTokenT< edmNew::DetSetVector< SiStripCluster > > outputToken_
SiStripClustersFromSOA(const edm::ParameterSet &conf)