GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » How to add new decay model for pbar d collisions
How to add new decay model for pbar d collisions [message #13053] Fri, 10 February 2012 14:03 Go to next message
Albrecht Gillitzer is currently offline  Albrecht Gillitzer
Messages: 49
Registered: March 2004
continuous participant
From: *ikp.kfa-juelich.de
Hi,

I want to add a new decay model for pbar d collisions with spectator proton.
I thought having correctly derived this from existing decay model files, and registered it in EvtModelReg.cc.
When compiling I get the following error message:

[ 20%] Built target DpmEvtGen_exe
[ 23%] Built target Photos
Scanning dependencies of target EvtGen
[ 23%] Building CXX object pgenerators/EvtGen/CMakeFiles/EvtGen.dir/EvtGenModels/EvtModelReg.cc.o
Linking Fortran shared library ../../lib/libEvtGen.so
[ 43%] Built target EvtGen
Linking Fortran executable ../../bin/simpleEvtGen
../../lib/libEvtGen.so.0.0.0: undefined reference to `vtable for EvtDeuteronSpectator'
collect2: ld returned 1 exit status
make[2]: *** [bin/simpleEvtGen] Error 1
make[1]: *** [pgenerators/EvtGen/CMakeFiles/EvtGen_exe_simpleEvtGen.dir/all] Error 2
make: *** [all] Error 2

What does this mean?

Best regards, Albrecht
Re: How to add new decay model for pbar d collisions [message #13054 is a reply to message #13053] Fri, 10 February 2012 14:24 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Have you added the class into EvtGen/CMakeLists.txt?
Re: How to add new decay model for pbar d collisions [message #13055 is a reply to message #13054] Fri, 10 February 2012 15:05 Go to previous message
Albrecht Gillitzer is currently offline  Albrecht Gillitzer
Messages: 49
Registered: March 2004
continuous participant
From: *ikp.kfa-juelich.de
Thank you for the hint. I didn't know that (probably a beginners' mistake).
Now it compiles! If it will work is another question.

Best regards,
Albrecht
Previous Topic: [NOTSUPPORTED] Bug in FairEvtGenGenerator Rev. 12206
Next Topic: m(pi+pi-) invariant mass from 4pion event in DPM generator
Goto Forum:
  


Current Time: Fri Nov 29 00:13:53 CET 2024

Total time taken to generate the page: 0.01353 seconds