GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: Error in the PndFastSim
items: Re: Error in the PndFastSim

Error in the PndFastSim
type: item
description: Hello All, I was trying out this FastSim for electron in the Momentum range 0.01 - 5 GeV. I am using the current version from the trunk I get the foolowing Error CbmMCApplication::GeneratePrimaries() -I CbmPrimaryGenerator: 1 primary tracks from vertex (0, 0, 0)Event Time = 0(ns) 0 0.0001 0.0001 0.0001 Program received signal SIGFPE, Arithmetic exception. [Switching to Thread 0xb6c7c6c0 (LWP 13953)] 0xb30b65b4 in PndFastSim::sumResponse (this=0x876c100, respList=@0xbf88d808) at /home/vanni/fairsoft/pandaroot/fsim/PndFastSim.cxx:860 860 if (fabs (val = resp->dV().Z()) > 1e-11) dVz += 1/(val*val); Current language: auto; currently c++ Can anybody help me with this? Regards, Vanni
creator: Vanniarajan Suyam Jothi
date: 2009-02-05T08:27:05-00:00

Re: Error in the PndFastSim
type: item
description: Hi, located bug... the following parameters were not initializated double dVx; (line 810) double dVy; double dVz; Later on these parameters are incremented with "dVx += <something>", but nowhere assigned! Rev4509: fixed it by initializing these to zero. I guess this is ok with Klaus G..... Greetings, Johan.
creator: Johan Messchendorp
date: 2009-02-05T13:57:50-00:00