GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Abandonware
Re: Abandonware [message #4963 is a reply to message #4962] Thu, 23 August 2007 16:47 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Hi,
I will check the first one.

For the second one I think the problem is that you are not comparing a pointer, but a number.

Indeed in the expression:

(pTrack->GetParamLast()->GetTx()) != NULL


pTrack is a pointer to a CbmSttTrack,
pTrack->GetParamLast() is a pointer to a CbmTrackParam,
but pTrack->GetParamLast()->GetTx() is a double so a number! Maybe you should remove GetTx or something else, to clean that condition.

P.S. I removed the headers in tof code
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: just for fun...
Next Topic: Separation of elastic and inelastic scatterings
Goto Forum:
  


Current Time: Sat Apr 27 22:17:19 CEST 2024

Total time taken to generate the page: 0.01030 seconds