GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » FTF stand-alone
FTF stand-alone [message #20970] Wed, 10 May 2017 10:50 Go to next message
Klaus Götzen is currently offline  Klaus Götzen
Messages: 293
Registered: June 2006
Location: GSI
first-grade participant
From: *gsi.de
Hi,


I just tried to run the stand-alone FTF generator with release feb17p1 (FAIRROOT=16.06b, FAIRSOFT=may15), in build/bin with
FTFGen PbarP.mac

where the .mac file was copied from pgenerators/FtfEvtGen/ and looks like

//---------------------------------------
//        Macro file for FTF test
//--------------------------------------- 
// verbose=0 no event listing, verbose#0 =1 event listing with stop after each event
#verbose
0
//#initrand
//initial.conf
//#saverand
//             what event to print?
#print
10
//
//     proton  pi-  pi+  kaon+  kaon-  anti_proton  anti_deuteron  anti_alpha
#particle
anti_proton
//
#material
G4_H
#targetA
1
//
//             ftfp  ftfb  qgsp  qgsb  bertini  binary
#generator
ftfp
//
#events
10                               
//
//             Plab for proj. hadron, or per nucleon for AA-collisions
#Plab(GeV/c)
3.5
#run
#exit


I immediately get the error message

========================================================
======              FTF Test Start              ========
========================================================

-------- EEEE ------- G4Exception-START -------- EEEE -------

*** ExceptionHandler is not defined ***
*** G4Exception : PART70000
      issued by : G4NuclideTable
G4ENSDFSTATEDATA environment variable must be set
*** Fatal Exception ***
-------- EEEE -------- G4Exception-END --------- EEEE -------


Maybe that's a trivial error, but I didn't find something about it in the pgenerators/FtfEvtGen/README.txt. Can somebody help me?


Best regards,
Klaus

Re: FTF stand-alone [message #20972 is a reply to message #20970] Wed, 10 May 2017 11:30 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
You have to run the config.sh before, to set the environment of geant4.
Re: FTF stand-alone [message #20974 is a reply to message #20972] Wed, 10 May 2017 11:44 Go to previous message
Klaus Götzen is currently offline  Klaus Götzen
Messages: 293
Registered: June 2006
Location: GSI
first-grade participant
From: *gsi.de
Thanks Stefano, I knew it was trivial ... Wink
Previous Topic: Problems with FTF/DPM with Geant4
Next Topic: DPM generator : Bug in DPM fortran code?
Goto Forum:
  


Current Time: Fri Oct 04 19:04:49 CEST 2024

Total time taken to generate the page: 0.00600 seconds