Hi again,
How are property units supposed to be treated in VMC?
I got a bit of a surprise when I tried to define the ABSLENGTH property for a material. I was defining the lengths w/in CLHEP'S SystemOfUnits. When I asked G4 to dump what it received the lengths had all gained an extra factor of 10.
I'm setting the property via gMC->SetMaterialProperty() and I found this code in the definition of that method:
if ( G4String(propertyName) == "ABSLENGTH" ||
G4String(propertyName) == "MIEHG" )
val2[i] = val2[i]*TG4G3Units::Length();
Other lengths such as RAYLEIGH or WLSABSLENGTH seem to pass unmolested into G4.
-Brett.
This archive was generated by hypermail 2.2.0 : Fri May 04 2012 - 05:25:01 CEST