gMC->Gstpar crash

From: Filimon Roukoutakis <Filimon.Roukoutakis_at_cern.ch>
Date: Wed, 20 Apr 2011 20:50:49 +0200


Hi, I am trying to enable Birk's attenuation under G3 through VMC. The simplest way as far as I know would be to do

   gMC->Gstpar(3, "BIRK1", 1);
   gMC->Gstpar(3, "BIRK2", 0.013);
   gMC->Gstpar(3, "BIRK3", 9.6e-6);

I suppose then that GBIRK is going to be called appropriately in the step manager and the value gMC->Edep() is going to be the attenuated one in principle right? (please verify) I would happily check this if the crash below would not exist. The simulation seems to work ok if these statements are not involved. Any ideas? Medium 3 is the expected one as far as I can tell (but I am open to some suggestion to really verify this also if needed). Thanks,
filimon



#10 0xb5f03098 in g3stpar_ (itmed=0xbff12824, chpar=0xa43917c,
parval=0xbff1280c, __g77_length_chpar=5) at gcons/gstpar.F:63
#11 0xb60db5a2 in TGeant3::Gstpar (this=0xa36ee88, itmed=3,
param=0xa43917c "BIRK2", parval=0.012999999999999999) at TGeant3/TGeant3.cxx:3641

Received on Wed Apr 20 2011 - 20:50:53 CEST

This archive was generated by hypermail 2.2.0 : Thu Apr 21 2011 - 11:25:01 CEST