MantisBT - Hall D Offline | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000411 | Hall D Offline | General | public | 2014-06-20 08:15 | 2014-06-20 08:15 |
Reporter | davidl | ||||
Assigned To | |||||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Platform | OS | OS Version | |||
Summary | 0000411: GetCDCWires and GetFDCWires inefficient | ||||
Description | The 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. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-06-20 08:15 | davidl | New Issue |
There are no notes attached to this issue. |