GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Meetings » Minutes PandaRoot Meeting 10/24/2007
Re: Minutes PandaRoot Meeting 10/24/2007 [message #5339 is a reply to message #5338] Tue, 30 October 2007 17:15 Go to previous messageGo to previous message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Dear Soeren,

I have two comments on your minutes (by the way I think minutes are important for a meeting!):

1) You listed all the "reco hits" and for the Mvd you have written MvdRecoHit. We have to be very careful here not to mix up things because the MvdRecoHit is not the outcome of the hit reconstruction but the input in the tracking and therefore MvdRecoHit is derived from AbsRecoHit. The correct class is the MvdHit which is derived from CbmHit.

2) You wrote that (almost) all these classes have a TVector3 for the hit information and therefore we could get rid of the CbmHit dependency and just use the TVector3 with a fixed nomenclatur.

I do not think that this is a good idea. Wherever you have common concepts within different subdetectors one should use common base classes and derive from them. This is one of the fundamental concepts of object oriented programming.
For example I have written a simple Event Display which takes a CbmHit* as an input. If you derive your hit class from CbmHit you can immediately use the Event Display without changing a single line of code. This does not work if you have your independent classes.

Ciao,

Tobias
 
Read Message icon1.gif
Read Message
Read Message
Previous Topic: PandaRoot EVO Meeting, Oct 24, 2007, 14:00-16:00
Next Topic: PandaRoot EVO meeting, WED Nov 14, 14:00-16:00
Goto Forum:
  


Current Time: Fri Oct 04 17:28:58 CEST 2024

Total time taken to generate the page: 0.00825 seconds