Skip to content

Commit

Permalink
Converting also cluster position into mm
Browse files Browse the repository at this point in the history
  • Loading branch information
kjvbrt committed Apr 4, 2024
1 parent 99973b8 commit 7725992
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion RecFCCeeCalorimeter/src/components/CaloTopoClusterFCCee.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ StatusCode CaloTopoClusterFCCee::execute() {
info() << "Problem in erasing cell ID from map." << endmsg;
}
cluster.setEnergy(energy);
cluster.setPosition(edm4hep::Vector3f{posX / energy, posY / energy, posZ / energy});
cluster.setPosition(edm4hep::Vector3f{(posX / energy) / dd4hep::mm,
(posY / energy) / dd4hep::mm,
(posZ / energy) / dd4hep::mm});
// store deltaR of cluster in time for the moment..
sumPhi = sumPhi / energy;
sumTheta = sumTheta / energy;
Expand Down

0 comments on commit 7725992

Please sign in to comment.