Message: Re: Access to the model Name of hadronic processes Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Access to the model Name of hadronic processes  

Forum: Hadronic Processes
Re: Question Access to the model Name of hadronic processes (Lestand Loïc)
Date: 08 Apr, 2009
From: Paul Nicholas Colin Gloster <Paul Nicholas Colin Gloster>

On Wed, 8 Apr 2009, Lestand Loïc wrote:

|-----------------------------------------------------------------------|
|"Hello !                                                               |
|                                                                       |
|I'm working on geant4 and I use hadronic processes in my simulations. I|
|want to know if that is possible to get the name of each model involved|
|during run, and how ? Does it exist any method such as GetModelName()  |
|which could be called step by step ?                                   |
|                                                                       |
|Thanks in advance                                                      |
|                                                                       |
|Best Regards                                                           |
|                                                                       |
|Loïc"                                                                  |
|-----------------------------------------------------------------------|

Hello,

It is not entirely clear to me what was meant by model in the
question, but if it meant process registered to a G4ProcessManager,
then perhaps you could try the two G4ProcessManager methods
G4ProcessVector* GetProcessList()
and
G4bool GetProcessActivation(G4VProcess *)
.

Regards,
Nicholas Paul Collin Gloster

Inline Depth:
 0 0
 1 1
Add message: (add)

None Re: Access to the model Name of hadronic processes   by Christina Zacharatou <Christina Zacharatou>,   08 Apr, 2009
Re: None Re: Access to the model Name of hadronic processes (Paul Nicholas Colin Gloster)
Models are associated with processes in your physics list. That doesn't change at execution time. If you know which process was evoked (and possibly what what the energy of the particle that underwent it), then you can see in your list which model this corresponds to.

CZ

 Add Message Add Message
to: "Re: Access to the model Name of hadronic processes "

 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 ]