Skip to content

Commit

Permalink
Update ClusterTPAssociationHeterogeneous following cms-sw#26304
Browse files Browse the repository at this point in the history
Adapt ClusterTPAssociationHeterogeneous following the change of interface in ClusterTPAssociation introduced by cms-sw#26304.
  • Loading branch information
fwyzard committed May 21, 2019
1 parent b63d066 commit 435c1e6
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -7,7 +7,6 @@
#include "CUDADataFormats/Common/interface/CUDAProduct.h"
#include "CUDADataFormats/SiPixelDigi/interface/SiPixelDigisCUDA.h"
#include "CUDADataFormats/TrackingRecHit/interface/TrackingRecHit2DCUDA.h"

#include "DataFormats/Common/interface/DetSetVector.h"
#include "DataFormats/Common/interface/DetSetVectorNew.h"
#include "DataFormats/Common/interface/Handle.h"
Expand Down Expand Up @@ -295,6 +294,7 @@ std::unique_ptr<ClusterTPAssociationHeterogeneous::CPUProduct> ClusterTPAssociat

if (foundPixelClusters) {
// Pixel Clusters
clusterTPList.addKeyID(pixelClusters.id());
for (edmNew::DetSetVector<SiPixelCluster>::const_iterator iter = pixelClusters->begin();
iter != pixelClusters->end();
++iter) {
Expand Down Expand Up @@ -331,6 +331,7 @@ std::unique_ptr<ClusterTPAssociationHeterogeneous::CPUProduct> ClusterTPAssociat

if (foundStripClusters) {
// Strip Clusters
clusterTPList.addKeyID(stripClusters.id());
for (edmNew::DetSetVector<SiStripCluster>::const_iterator iter = stripClusters->begin(false),
eter = stripClusters->end(false);
iter != eter;
Expand Down Expand Up @@ -370,6 +371,7 @@ std::unique_ptr<ClusterTPAssociationHeterogeneous::CPUProduct> ClusterTPAssociat

if (foundPhase2OTClusters) {
// Phase2 Clusters
clusterTPList.addKeyID(phase2OTClusters.id());
if (phase2OTClusters.isValid()) {
for (edmNew::DetSetVector<Phase2TrackerCluster1D>::const_iterator iter = phase2OTClusters->begin(false),
eter = phase2OTClusters->end(false);
Expand Down

0 comments on commit 435c1e6

Please sign in to comment.