Skip to content

Commit

Permalink
Reset at the end of produce
Browse files Browse the repository at this point in the history
  • Loading branch information
felicepantaleo committed Jul 17, 2020
1 parent 59d5d8f commit 0845af3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ void HGCalLayerClusterProducer::produce(edm::Event& evt, const edm::EventSetup&
clusters_sharing(new std::vector<reco::BasicCluster>);
auto density = std::make_unique<Density>();

algo->reset();

algo->getEventSetup(es);

//make a map detid-rechit
Expand Down Expand Up @@ -246,6 +244,7 @@ void HGCalLayerClusterProducer::produce(edm::Event& evt, const edm::EventSetup&
clusterPtrsSharing.push_back(ptr);
}
}
algo->reset();
}

#endif

0 comments on commit 0845af3

Please sign in to comment.