AIDASoft / DD4hep

Detector Description Toolkit for High Energy Physics
http://dd4hep.cern.ch
GNU Lesser General Public License v3.0
49 stars 95 forks source link

bug in calorimeter hit positions #223

Closed gaede closed 7 years ago

gaede commented 7 years ago

The global position of calorimeter hits is off by ~half a cell size.

See attached plots that shows the distance in x-y of the global step position as given by Geant4 and the global hit position that we create in Geant4SensitiveAction<Geant4Calorimeter>

ddsim_calo_hits_position.pdf

ddsim_calo_hits_position_logy.pdf

danieljeans commented 7 years ago

I may have an explanation and fix; confirming...

andresailer commented 7 years ago

Fixed by #227 ?

danieljeans commented 7 years ago

yes, this should be fixed