Project

General

Profile

Bug #1745

Memory clean up in MC

Added by Rogers, Chris almost 8 years ago. Updated almost 8 years ago.

Status:
Open
Priority:
Normal
Assignee:
Category:
Simulation
Target version:
Start date:
04 September 2015
Due date:
% Done:

0%

Estimated time:
Workflow:
New Issue

Description

I found two memory issues in the MC:

  • SpecialVirtual detectors were not properly deleting allocated memory at the end of the simulation.
  • Virtual detectors were not properly deleting Virtual hits at the end of the simulation. Also VirtualHits copy constructor did not properly copy any existing Virtual hits.

This probably only effects things if user is reinitialising reconstruction a lot. But worth fixing

Also available in: Atom PDF