Hi Paolo,
The VMC takes by default the defaults of geant3;
this is eg. for hadronic processes the flag HADR=1.
You can change this default setting in
your configuration macro, by call to:
gMC->SetProcess("HADR", 4)
Best regards,
Ivana
==============================================================
e-mail: Ivana.Hrivnacova@cern.ch
address: Institut Physique Nucleaire, 91406 Orsay, France
phone: (33) 01 69 15 65 94
==============================================================
On Tue, 28 Oct 2003, Rene Brun wrote:
> Hi Paolo,
>
> The VMC does not provide a general interface to decide between Fluka or Gheisha
> models. When using the Geant3 implementation, you have to provide
> functions guhadr/guphad to make this choice.
>
> TrackTime returns the time in the lab frame since the primary interaction
> defined by the primary vertex.
>
> Rene Brun
>
> Paolo MAESTRO wrote:
> >
> > 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