Message: Re: HP Physics List Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: HP Physics List 

Keywords: HP Physics list, neutrons
Forum: Physics List
Re: Question HP Physics List (James)
Date: 06 Jul, 2006
From: Dennis H. Wright <Dennis H. Wright>


    Have you built the physics list package that comes with your Geant4
distribution?   If you have, you'll see a list of libXXXX.a files in
    If you haven't, you need to build them following the instructions
in geant4/physics_lists/hadronic/README.   Then you will not need to
worry about which files you need because they will be automatically
    It is then easy to use the physics list you want:  in your main(),
just add the line 
  #include "LHEP_PRECO_HP.hh"
and then add the line

   runManager->SetUserInitialization(new LHEP_PRECO_HP);

after you have instatiated the runManager.   Make sure after doing this
that you do not also have other physics lists registered with the 
run manager.


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

1 Question: Re: HP Physics List   (James - 07 Jul, 2006)
(_ None: Re: HP Physics List   (Dennis H. Wright - 07 Jul, 2006)
(_ None: Re: HP Physics List   (James - 10 Jul, 2006)
(_ None: Re: HP Physics List   (Dennis H. Wright - 15 Jul, 2006)
 Add Message Add Message
to: "Re: HP Physics List"

 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 ]