[VMC] VMC: Hadron generation

From: Paolo MAESTRO (paolo.maestro@pi.infn.it)
Date: Mon Oct 27 2003 - 21:57:46 MET


Hi,
in a previous mail I asked which is the default hadronic package
used by geant3 and this was the answer:

Rene Brun wrote:
> Hi Paolo
> I will answer your geant3 related questions:
> the default hadronic package is defined by guhadr in the guser
> subdirectory. This routine calls Gheisha. you can redefine this routine
> to call Fluka instead. For example in the gexam4 example, we have
>  SUBROUTINE GUHADR
> #include <gcphys.h>
> C
> C
> C   GHEISHA only if IHADR<3 (default)
>
> IF(IHADR.NE.4) THEN
>  CALL GHEISH
> ELSE
>   CALL FLUFIN
> ENDIF
> END

This is clear to me if I use fortran code or I run geant3 from ROOT.
But if I use VMC how can I call Fluka?
Is there some option I can set to switch from Gheisha to 
Fluka (for instance: IHADR=4 has already this effect?) 
or this requires to 
modify some code in the BuildPhysics method of TVirtualMC?

I would have also another question: does the method TrackTime() of 
TVirtualMC class give the time of a certain track calculated in the 
laboratory frame and starting from t=0 corresponding to the primary
particle generation?
Thanks.
Best regards

		Paolo



This archive was generated by hypermail 2b29 : Fri Jan 02 2004 - 02:46:51 MET