Hi Ivana,
thank you so much! It works perfectly!
Best regards, Dmitry
Ivana Hrivnacova wrote:
> 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
>
>
>
Received on Thu Apr 28 2005 - 08:09:47 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:55:21 MET