GSI Helmholtzzentrum für Schwerionenforschung
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
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.