GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » Reco hit production with two inputs.
Reco hit production with two inputs. [message #10558] Wed, 21 April 2010 17:29 Go to previous message
Lia Lavezzi
Messages: 291
Registered: May 2007
Location: Torino
first-grade participant

From: *pv.infn.it
Hi Genfitters,
I have a question concerning the reco hit production: is it mandatory to use the GFRecoHitProducer or can I create a PndSttRecoHitProducer, inheriting from GFAbsRecoHitProducer, and use that one?

I ask this because since I started using the STT tube map to access the geometrical information I had to access the parameters from inside the PndSttRecoHit::PndSttRecoHit(PndSttHelixHit *currenthit) and this slows down the code. To speed it up I would do like I do in digi and reco:
1) access the parameters only once per run
2) fill the tubeArray with the objs PndSttTube, which represent the tubes
3) have something like PndSttRecoHit::PndSttRecoHit(PndSttHelixHit *currenthit, TClonesArray *tubeArray) to pass the tubeArray directly to the recohit and avoid accessing the parameters at each hit.

I tried the PndSttRecoHitProducer solution and it seems to me that it works, but I wanted to ask if this is "permitted" before putting it on svn.

Cheers,
Lia.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: GEANE new patch released.
Next Topic: One question about tracking efficiency
Goto Forum:
  


Current Time: Sun Dec 01 02:26:03 CET 2024

Total time taken to generate the page: 0.00902 seconds