Hi Dmitry,
You have to remove the following lines
fImedAr = gGeoManager->GetMedium("ArgonGas")->GetId();
fImedAl = gGeoManager->GetMedium("Aluminium")->GetId();
fImedPb = gGeoManager->GetMedium("Lead")->GetId();
from your Ex01MCApplication::InitGeometry().
As you have no such materials defined in your geometry, gGeoManager->GetMedium("ArgonGas") returns 0 and causes break.
Best regards,
Ivana
-- ============================================================== e-mail: Ivana.Hrivnacova_at_cern.ch address: Institut Physique Nucleaire, 91406 Orsay, France phone: (33) 01 69 15 65 94 ============================================================== On Tue, 26 Apr 2005, Dmitry Naumov wrote:Received on Wed Apr 27 2005 - 09:28:51 MEST
> Hi Ivana,
>
> thank you for your prompt reply.
> I use:
> root 4.03/02
> VMC 1.6
> VGM 2.03
>
> With my modification all examples run perfectly!...
> Exclamation for you, (...) - for me.
>
> I attach to this letter E01.tgz with in fact two lines modified
> and nuclon_geometry.root with the geometry I try to substitute.
>
> Bets regards, Dmitry
>
>
> Ivana Hrivnacova wrote:
>
> > Hi Dmitry,
> >
> > I will need more info to be able to guess what can
> > get wrong here.
> > Does the E01 example without your modifications run ok?
> > Which versions of geant4_vmc, VGM and Root do you use?
> >
> > Ivana
>
>
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:55:21 MET