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

Question How to use G4IonPhysics? 

Forum: Physics List
Date: 08 Jun, 2015
From: George <George>

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

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

1 None: Re: How to use G4IonPhysics?   (Robert W Hatcher - 08 Jun, 2015)
(_ Note: Re: How to use G4IonPhysics?   (George - 08 Jun, 2015)
 Add Message Add Message
to: "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 ]