Getting information from Geant4 objects