MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000411Hall D OfflineGeneralpublic2014-06-20 08:152014-06-20 08:15
Reporterdavidl 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusnewResolutionopen 
PlatformOSOS Version
Summary0000411: GetCDCWires and GetFDCWires inefficient
DescriptionThe GetCDCWires and GetFDCWires methods of DGeometry will allocate new wire structures every time they are called. This leads to duplication for each thread and possible memory leaks, For example, the wires are needed in the DCDCHit_factory class, but only to get the number of straws for each ring. The wires then have to be deleted one at a time.

The wires should be cached as something like vector<vector<const DCDCWire*> > and the signatures of GetCDCWires changed to use that as well. Similarly for FDC.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2014-06-20 08:15 davidl New Issue


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker