Do I need to release memory of UserTrackInformation UserPrimaryTrackInformation by myself?

Hi all,
I need to run a M.C.and it cannot release the memory until exit the program. I’m not sure if the memory used nu MyUserTrackInformation(public G4VUserTrackInformation) and My UserPrimaryTrackInformation(public G4VUserTrackInformation) is release correctly.

  1. Do I need to write release the Info memory by hand?
  2. If it is down automatically Does the memory of MyUserTrackInformation release when the track is ended or at the end of event.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.