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

Feedback Re: RegisterProcess to Physics List QGSP_BERT_EMZ 

Forum: Physics List
Re: None RegisterProcess to Physics List QGSP_BERT_EMZ (Stefan E. Mueller)
Re: Idea Re: RegisterProcess to Physics List QGSP_BERT_EMZ (Vladimir Ivanchenko)
Re: Question Re: RegisterProcess to Physics List QGSP_BERT_EMZ (Stefan E. Mueller)
Date: 19 Mar, 2014
From: Andrea Dotti <Andrea Dotti>

Hello, as Vladimir explained QGSP_BERT_EMZ follows the "modular physics lists" approach. You can add any additional physics in the main of your code via (pseudocode):

pl = new QGSP_BERT_EMZ; pl->RegisterPhysics( new myAdditionalPhysics );

myAdditionalPhysics is a class that inherits from G4VPhysicsConstructor. If you are confused by Hadr02 example you can copy the code of G4EmExtraPhysics classes, change the names and add instantiation of processes following what is already there.

As explained by Vladimir it is very important that the type is set to unknown.

Andrea

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

1 Question: Re: RegisterProcess to Physics List QGSP_BERT_EMZ   (Stefan E. Mueller - 20 Mar, 2014)
(_ Question: Re: RegisterProcess to Physics List QGSP_BERT_EMZ   (Stefan E. Mueller - 25 Mar, 2014)
(_ Idea: Re: RegisterProcess to Physics List QGSP_BERT_EMZ   (Andrea Dotti - 25 Mar, 2014)
(_ Ok: Re: RegisterProcess to Physics List QGSP_BERT_EMZ   (Stefan E. Mueller - 26 Mar, 2014)
 Add Message Add Message
to: "Re: RegisterProcess to Physics List QGSP_BERT_EMZ"

 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 ]