Re: Few questions

From: Ivana Hrivnacova <ihrivnac_at_mail.cern.ch>
Date: Thu, 21 Jul 2005 15:42:30 +0200 (CEST)

 Hi Kirill,

 Find below completed Andrei's answer together  with answers to your other questions.

> > Hello
> > I'm looking for the possibility to draw tracks just after or during
> > transport using VMC. I guess i need to take some actions in StepManager to
> > do that. I only know how to do that if TGeoManager is active. So the
> > question is which methods of TVirtualMC are useful to do the task?

On Thu, 30 Jun 2005, Andrei Gheata wrote:
> For the first part: as far as I know, the option is available only with TGeo:
> you have to gompile G3 with -DCOLLECT_TRACKS, then you will have all tracks
> collected by TGeoManager.

 Drawing tracks is not interfaced via VMC;  in case of Geant3, you can use directly TGeo as Andrei explained above;  in case of Geant4 you can use Geant4 visualization.  Recently, the demonstration of drawing tracks has been added to  the E02 VMC example.

> > Next, it would be nice to have somewhere preferably in TVirtualMC itself the
> > description of the meaning of all flags like IsTrackStop()

 I agree.
 Currently the detailed documentation is provided in the implementation  files (*.cxx) for each MC and so it is not so easy to find.  I had already the same idea but I haven't found time to do it ...  

> > And the last how to check which physics process killed the track?
> >

 TVirtualMC::StepProcess() function fills the integer array  with all physics process that happened during the particle  step; if particle was stopped the last process in the array should  be that responsible of stopping the particle.

 Best regards,

 Ivana

-- 
==============================================================
e-mail:  Ivana.Hrivnacova_at_cern.ch
address: Institut Physique Nucleaire, 91406 Orsay, France
phone:   (33) 01 69 15 65 94
==============================================================
Received on Thu Jul 21 2005 - 15:42:35 MEST

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