Message: Re: Which physics list to use for 0-200 MeV protons and 0-50 MeV electrons? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Which physics list to use for 0-200 MeV protons and 0-50 MeV electrons? 

Forum: Physics List
Re: Question Which physics list to use for 0-200 MeV protons and 0-50 MeV electrons? (Athreya Shankar)
Date: 28 Aug, 2011
From: Tom Roberts <Tom Roberts>

Unfortunately, the section of the Users Guide on this is rather old, and does not mention what has become the best method to select a physics list, G4PhysListFactory. You can omit that entire file and in your detector construction just do:

    G4PhysListFactory *physListFactory = new G4PhysListFactory();
    G4VUserPhysicsList *physicsList = 
            physListFactory->GetReferencePhysList("GQSP_BERT");
    runManager->SetUserInitialization(physicsList);

For many purposes, including yours, QGSP_BERT is an appropriate physics list. There are many others, just change the name above to use any one of them. See this URL for descriptions (though it, too, is rather old): http://geant4.web.cern.ch/geant4/support/physicsLists/index.shtml

You can get a vector of all known physics lists, just print them:

    const std::vector<G4String> v = physListFactory->AvailablePhysLists();

(I have suggested they update the Users Guide to discuss this, problem 1241.)

 Add Message Add Message
to: "Re: Which physics list to use for 0-200 MeV protons and 0-50 MeV electrons?"

 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 ]