Re: (no subject)

From: Dmitry Naumov <naumov_at_nusun.jinr.ru>
Date: Fri, 03 Jun 2005 13:48:28 +0200


Dear Ivana,

thank you for your message. I will send you offline my code if you find it usefull for other users of VMC.

Best regards,

    Dmitry

Ivana Hrivnacova wrote:

> Dear Dimitry,
>
> With the last update of the VMC examples,
> there was added visualization of tracks via TGeo;
> however this is demonstarted only on Geant3.
>
> In case of Geant3, collecting track points
> for visualization is already implemented in TGeant3
> package; you need only to recompile geant3 library
> with a special flag (COLLECT_TRACKS) set.
> You should use the latest geant3 version (1.2)
> as it includes some fixes for this.
>
> Your approach is more general, as using only VMC,
> you get the code working with also with other MCs.
> It may be interesting also for other users
> to extend some VMC example with your code.
> To avoid searching of the track and speed up
> you can keep the pointer of the created TGeoTrack
> and use it later for filling the points.
> These are just implementation details, that we can
> discuss offline.
>
>
>
>
>>1. G4 places and traces all tracks sequentially: 1,2,3,4,...N
>> G3 seems not to follow this rule and it tracks them like:
>>
>>
>1,5,12,2,25...
>
> This is due to different use of the VMC stack in Geant3 and Geant4.
> See more details at:
> http://root.cern.ch/root/vmc/Geant4VMC.html
> In case of Geant4, the secondary track is put in the VMC stack
> when it starts tracking, that's why their order in the stack
> corresponds to the order in tracking. However this is not true
> for primaries. They are stacked in front of the stack but
> go to tracking in the inversed order.
>
>
>
>
>>(in g4config.in /mcPhysics/setHadron 1 if I am not mistaken here) it
>>
>>
>takes quite
>
>
>>a lot of time
>>to remove all tracks from gGeoManager. Is it an expected behaviour?
>>
>>
>
> The Geant4 default cuts are lower than those in Geant3 so when including
> hadronics physics the number of created tracks can be significantly
> higher than in case of Geant3. It could be the reason.
>
> Best regards,
>
> Ivana
>
>
>
Received on Fri Jun 03 2005 - 13:48:03 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:55:21 MET