Hi,
I forward this issue to Ivana (the main VMC author) and here is the answer:
Hi Mohammad,
It is not so straightforward.
Users can extend Geant4 VMC user action classes, eg TG4SteppingAction and access directly Geant4 classes (G4Step) which provide this information. However this mode is not in regular testing so getting this work may require some debugging.
The simplest way how to provide this information would be to add
a dedicated function for NIEL Edep in TVirtualMC interface;
the user would need to wait when this update (Root && VMC packages) is
available in tagged packages.
I have progressed with sensitive detectors, which will also require modifications in Root vmc core library, so this addition may be added with these changes. Let me know.
Please, pass my reply to your user, or to your forum, as you wish.
Cheers,
Ivana