GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Error in the PndFastSim
Error in the PndFastSim [message #7835] Thu, 05 February 2009 09:27 Go to next message
Vanniarajan Suyam Jothi is currently offline  Vanniarajan Suyam Jothi
Messages: 35
Registered: October 2007
Location: Groningen
continuous participant

From: *KVI.nl
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
Re: Error in the PndFastSim [message #7839 is a reply to message #7835] Thu, 05 February 2009 14:57 Go to previous message
Johan Messchendorp is currently offline  Johan Messchendorp
Messages: 693
Registered: April 2007
Location: University of Groningen
first-grade participant

From: *KVI.nl
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.
Previous Topic: Reading of nonexistent objects
Next Topic: Segmentation Violation when simulating events with run_sim1.C
Goto Forum:
  


Current Time: Sat Nov 23 08:41:00 CET 2024

Total time taken to generate the page: 0.00686 seconds