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: *fuw.edu.pl
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,
Dima
 
Read Message
Read Message
Previous Topic: trunk doesnt compile
Next Topic: Problems compiling CADConverter on Ubuntu 9.04
Goto Forum:
  


Current Time: Mon Nov 29 06:23:54 CET 2021

Total time taken to generate the page: 0.01886 seconds