Skip to content

Commit

Permalink
Remove cluster-HitContributions as in edm4hep (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvolkl authored Jun 10, 2022
1 parent 13e9fbb commit ad688f2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/ClueGaudiAlgorithmWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,11 @@ void ClueGaudiAlgorithmWrapper::fillFinalClusters(const std::map<int, std::vecto
if( EB_calo_coll->size() != 0){
if( index < EB_calo_coll->size() ) {
cluster.addToHits(EB_calo_coll->at(index));
cluster.addToHitContributions(1.0);
} else {
cluster.addToHits(EE_calo_coll->at(index - EB_calo_coll->size()));
cluster.addToHitContributions(1.0);
}
} else {
cluster.addToHits(EE_calo_coll->at(index));
cluster.addToHitContributions(1.0);
}

if (clue_hit_coll.vect.at(index).getEnergy() > maxEnergyValue) {
Expand Down

0 comments on commit ad688f2

Please sign in to comment.