GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Bug in PndEmcMapper class: neighbour lists of PndEmcTwoCoordIndex wrong
Re: Bug in PndEmcMapper class: neighbour lists of PndEmcTwoCoordIndex wrong [message #8861 is a reply to message #8830] Fri, 12 June 2009 18:12 Go to previous message
Dima Melnychuk is currently offline  Dima Melnychuk
Messages: 213
Registered: April 2004
Location: National Centre for Nucle...
first-grade participant
From: *
Hi Elwin,
I have corrected PndEmcMapper according to what you proposed.
It was indeed a bug.

However it didn't affect significantly emc digitization/reconstruction procedure.

At the begin I wanted to use PndEmcTwoCoordIndex::GetNeighbours() to check if two elements are neighbors for clustering in PndEmcMakeCluster, i.e. if one PndEmcTwoCoordIndex is in list ofneighbors of second PndEmcTwoCoordIndex they are neighbors. However what is implemented now in PndEmcTwoCoordIndex::IsNeighbour() works faster.

PndEmcTwoCoordIndex::GetNeighbours() was used so far in emc digitization in PndEmcHitsToWaveform.cxx, where Waveforms are generated not only for the crystals containing hits but also for their neighbors.

But anyway it was a bug and it is corrected now.

Best regards,
Read Message
Read Message
Previous Topic: trunk doesnt compile
Next Topic: Problems compiling CADConverter on Ubuntu 9.04
Goto Forum:

Current Time: Tue Jun 25 11:52:42 CEST 2024

Total time taken to generate the page: 0.01228 seconds