Message: Re: segmentation fault from (G4HadronCrossSections::Instance())->GetInelasticCrossSection(...) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: segmentation fault from (G4HadronCrossSections::Instance())->GetInelasticCrossSection(...) 

Forum: Hadronic Processes
Re: Question segmentation fault from (G4HadronCrossSections::Instance())->GetInelasticCrossSection(...) (Jonas)
Re: Ok Re: segmentation fault from (G4HadronCrossSections::Instance())->GetInelasticCrossSection(...) (Jonas)
Date: 16 Oct, 2016
From: Vladimir Ivanchenko <Vladimir Ivanchenko>

Hello,

you need initialise Geant4 geometry and physics and after you will be able to access cross sections. The easest way - try to print inside RunAction.
See $G4INSTALL/examples/extended/hadronic/Hadr00

VI 

 Add Message Add Message
to: "Re: segmentation fault from (G4HadronCrossSections::Instance())->GetInelasticCrossSection(...)"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]