[Gate-users] GateSourcePencilBeam using obsolete particleTable->GetIon procedure

Alex Vergara Gil alexvergaragil at gmail.com
Mon Jan 19 17:26:42 CET 2015


Hello Developers

I've found that the current Gate develop Gate version is using an
obsolete function in the file
./source/physics/src/GateSourcePencilBeam.cc line 294

particle_definition=  particleTable->GetIon( mAtomicNumber,
mAtomicMass, mIonExciteEnergy);

when new releases of geant4 starting 10.0 recommends

particle_definition=  particleTable->GetIonTable->FindIon(
mAtomicNumber, mAtomicMass, mIonExciteEnergy);

since the GetIon procedure is no longer available for particleTable objects.

Regards
Alex


More information about the Gate-users mailing list