Message: Re: How to use a subset of a physics List? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to use a subset of a physics List?  

Forum: Physics List
Re: Question How to use a subset of a physics List? (dewasseige Gwenhael)
Date: 16 Dec, 2014
From: michel maire <michel maire>

On Mon, 15 Dec 2014 18:14:01 GMT, dewasseige Gwenhael wrote:
> Hello Geant4 - experts!
> 
> I am simulating p-p interactions in the solar atmosphere but I am only
> interested in the hadronic processes of the secondaries. I would like to
> use the HadronPhysicsQGSP_BERT_HP (or HadronPhysicsQGSP_BIC_HP or even
> HadronPhysicsFTFP_BERT_HP) rather than the full QGSP_BERT_HP. How do I
> have to do ? May you help me please?
> 
> I tried with a physics list like this:
> 
> #include "T2PhysicsList.hh"
> 
> #include "G4SystemOfUnits.hh"
> #include "G4UnitsTable.hh"
> 
> #include "G4HadronPhysicsQGSP_BERT_HP.hh"
> 
> #include "G4VUserPhysicsList.hh"
> #include "G4ProcessManager.hh"
> 
> #include "globals.hh"
> 
> T2PhysicsList::T2PhysicsList()
> : G4VModularPhysicsList(){
>   G4int verb = 1;
>   SetVerboseLevel(verb);
>   RegisterPhysics( new G4HadronPhysicsQGSP_BERT_HP(verb));
> 
> T2PhysicsList::~T2PhysicsList() { }
> 
> void T2PhysicsList::SetCuts()
> {
>   G4VUserPhysicsList::SetCuts();
> }
> 
> but it did not work!
> 
> THANKS A LOT IN ADVANCE!!!
> 
> Gwen
> 

 In this T2physicsList, I do not see constructParticle()
 Are you sure that particles are there ?

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

1 None: Re: How to use a subset of a physics List?   (dewasseige Gwenhael - 18 Dec, 2014)
(_ None: Re: How to use a subset of a physics List?   (michel maire - 18 Dec, 2014)
 Add Message Add Message
to: "Re: How to use a subset of a 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 ]