Message: Re: Problem whith PhysicsHasBeenModified and neutron HP Processes Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problem whith PhysicsHasBeenModified and neutron HP Processes 

Forum: Hadronic Processes
Re: Sad Problem whith PhysicsHasBeenModified and neutron HP Processes (Quentin Cherel)
Re: None Re: Problem whith PhysicsHasBeenModified and neutron HP Processes (Dennis H. Wright)
Date: 24 Feb, 2010
From: Quentin Cherel <Quentin Cherel>

Hi Dennis

My application runs perfectly fine when I don't change the material. The material used is a simple Ar gas.
Yes the problem occurs when using an neutron HP list only.


You can try by yourself on the Testem7, the same thing happens.


I comment the line 97 of RunAction.cc wich is not important in our case.

97 //G4double stepMax = physics->GetStepMaxProcess()->GetMaxStep();

and in the main, I choose a ready to use HP physics list

74 QGSP_BIC_HP* theQGSP=new QGSP_BIC_HP;
75 runManager->SetUserInitialization(theQGSP);
76 //phys=new PhysicsList;
77 //runManager->SetUserInitialization(phys = new PhysicsList);


then a simple

/run/initialize
/run/beamOn 1
/testem/det/setMat G4_He
/run/beamOn 1

and a segmetation fault occurs.
 Note that if you try with G4_Ar , Air or Water which are materials defined in DetectorConstruction, there is no segmentation fault,

Thanks

Quentin

 Add Message Add Message
to: "Re: Problem whith PhysicsHasBeenModified and neutron HP Processes"

 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 ]