Message: Re: How to use G4IonPhysics? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to use G4IonPhysics? 

Forum: Physics List
Re: Question How to use G4IonPhysics? (George)
Date: 08 Jun, 2015
From: Robert Hatcher <Robert Hatcher>

George,

G4IonPhysics is not a complete G4VModularPhysicsList, but rather one a constructor that builds the part to handle ions.  The physics list factory only knows about building full lists.  For what it can currently construct see today's reply in:  http://hypernews.slac.stanford.edu/HyperNews/geant4/get/phys-list/890/1.html

By my accounting G4IonPhysics is registered as part of the following lists by default:

FTFP_BERT
FTFP_BERT_HP
FTFP_BERT_TRV
FTF_BIC
NuBeam
QBBC
QGSP_BERT
QGSP_BERT_HP
QGSP_BIC
QGSP_BIC_HP
QGSP_FTFP_BERT
QGS_BIC

-robert

Robert W. Hatcher  
FNAL CS/SCD/SCS/PDS  | WH9NW
PO Box 500 MS 234, Batavia IL 60510
rhatcher@fnal.gov


On Jun 8, 2015, at 3:18 PM, George <geo.scotton@gmail.com> wrote:

> 
> *** Discussion title: Physics List
> 
> I'm interested in using this physicslist to my simulation. I added the
> code:
> 
>  G4String plname = "G4IonPhysics";
> G4PhysListFactory factory;
>   G4VModularPhysicsList* physlist = factory.GetReferencePhysList(plname);
> runManager->SetUserInitialization(physlist);
> 
> to my main and it compiles, but when running we have the following error
> on output:
> 
> G4PhysListFactory::GetReferencePhysList <G4IonPhysics> EMoption= 0 ###
> G4PhysListFactory WARNING: PhysicsList G4IonPhysics is not known
> 
> What should I do?
> 
> Thanks in advanced
> 
> -------------------------------------------------------------
> Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at: 
> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/phys-list/891.html 

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Note: Re: How to use G4IonPhysics?   (George - 08 Jun, 2015)
 Add Message Add Message
to: "Re: How to use G4IonPhysics?"

 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 ]