GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » [FIXED] PndTrkTracking2 statusflag array is not initialised (bug in tracking code)
[FIXED] PndTrkTracking2 statusflag array is not initialised [message #16819] Mon, 23 June 2014 17:07 Go to next message
Alaa Dbeyssi is currently offline  Alaa Dbeyssi
Messages: 16
Registered: June 2012
occasional visitor
From: *kph.uni-mainz.de
Dear all,
I experienced some problems with the efficiency of full reconstruction using the HIMSTER cluster of MAINZ:
1-The efficiency for the single particle reconstruction (electron in the present case) is about 10 % smaller that what I obtained in my previous simulations on my personal PC.
2-This efficiency obtained on HIMSTER changes by repeating the reconstruction step and using the same input from the event generator and the digitisation.

I used the scrut14 version of PANDAROOT compiled april13 external package.

After some debating with Anastasia, we realised the difference in the efficiency comes from pattern recognition step. This problem was difficult to debug, since it appears only in simulation at HIMster and we could not provide any test macros for external debugging. Therefore we went more deeply in the PndTrkTracking2 code by ourselves.
Among many other arrays which are defined, but not initialised, there is one which called statusflag. The values of this array is used during track search procedure. But since it is not initialised one can observe random or unstable behaviour. We would like kindly ask developers have a look at the code and fix it, please. As a temporary solution we initialised elements of the array by value 1. But we are not sure if this solution is correct one, because we don't know exactly the meaning of this array in the code.


Best regards,
Alaa & Anastasia.

[Updated on: Wed, 10 September 2014 14:48] by Moderator

Report message to a moderator

Re: PndTrkTracking2 statusflag array is not initialised [message #16825 is a reply to message #16819] Tue, 24 June 2014 13:57 Go to previous messageGo to next message
Gianluigi Boca is currently offline  Gianluigi Boca
Messages: 177
Registered: March 2004
first-grade participant
From: *pv.infn.it
Hi Alaa,
yes indeed statusflag was a "remnant" forgot in the code for historical reasons.

Please find a new version of
PndTrkTracking2.cxx
in the trunk.

Please let me know if you still have problems
cheers
Gianluigi


Alaa Dbeyssi wrote on Mon, 23 June 2014 17:07
Dear all,
I experienced some problems with the efficiency of full reconstruction using the HIMSTER cluster of MAINZ:
1-The efficiency for the single particle reconstruction (electron in the present case) is about 10 % smaller that what I obtained in my previous simulations on my personal PC.
2-This efficiency obtained on HIMSTER changes by repeating the reconstruction step and using the same input from the event generator and the digitisation.

I used the scrut14 version of PANDAROOT compiled april13 external package.

After some debating with Anastasia, we realised the difference in the efficiency comes from pattern recognition step. This problem was difficult to debug, since it appears only in simulation at HIMster and we could not provide any test macros for external debugging. Therefore we went more deeply in the PndTrkTracking2 code by ourselves.
Among many other arrays which are defined, but not initialised, there is one which called statusflag. The values of this array is used during track search procedure. But since it is not initialised one can observe random or unstable behaviour. We would like kindly ask developers have a look at the code and fix it, please. As a temporary solution we initialised elements of the array by value 1. But we are not sure if this solution is correct one, because we don't know exactly the meaning of this array in the code.


Best regards,
Alaa & Anastasia.

Re: PndTrkTracking2 statusflag array is not initialised [message #16833 is a reply to message #16825] Wed, 25 June 2014 11:54 Go to previous messageGo to next message
Alaa Dbeyssi is currently offline  Alaa Dbeyssi
Messages: 16
Registered: June 2012
occasional visitor
From: *kph.uni-mainz.de
Dear Gianluigi,

thank you very much for fixing the problem. Now the results seem ok:
Simulations with the same seed (same MC events and digitization), on HIMster and on my personal PC, give same values of the reconstruction efficiency.
Best regards,

Alaa
Re: PndTrkTracking2 statusflag array is not initialised [message #16834 is a reply to message #16833] Wed, 25 June 2014 11:55 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
One problem less?
Previous Topic: RhoError class in pandaroot
Next Topic: double tracks in offline Pattern Recognition
Goto Forum:
  


Current Time: Tue Dec 10 17:49:28 CET 2024

Total time taken to generate the page: 0.00676 seconds