[gate-users] Re: How to input a history file

David Guez dguez at cea.fr
Tue Aug 2 10:21:33 CEST 2005


GUEZ David wrote:

> Hi,
> the class GateGeneralParticleSource, and more precisely, its 
> GeneratePrimaryVertex method is the concrete descendent of the
> G4VPrimaryGenerator GEANT4 class which is the class to derive to the 
> particle generation. It may be the point where to implement a parser 
> from external generator and Geant4. I think that one should implement 
> a new GateExternalXXXGenerator which derive from G4VPrimaryGenerator 
> and which shoould be implemented, following the user request, instead 
> of the GateGeneralParticleSource.
>
> I hope this will helps,
>
>    David
>
>

oups, I read again the Ross' message and realize that I misunderstood 
your comment. I think we agree that an external generator have to 
produce hits which will be import to the G4 particle gun (according to 
what you said). I never worked with the GateGeneralParticleSource class, 
do you think that it's the good place to commit the changes ?

By

-- 
*****************************************************************
*****************************************************************
**  David GUEZ                                                 **
**  ^^^^^^^^^^                                                 **
**                                                             **
**  Service de Physique Nucléaire |                            **
**  CEA Saclay                    | mail :dguez at cea.fr         **
**  DSM/DAPNIA/SPHN               | tel : (+33) 1 69 08 33 68  **
**  91191 Gif sur Yvette Cedex    | fax : (+33) 1 69 08 75 84  **
**  Bat. 703/p. 104               |                            **
**                                                             **
*****************************************************************
*****************************************************************




More information about the Gate-users mailing list