Bug 1014 - Truth image file contains only the last capture regardless of schedule
Summary: Truth image file contains only the last capture regardless of schedule
Status: RESOLVED FIXED
Alias: None
Product: DIRSIG4
Classification: Unclassified
Component: Truth Data (show other bugs)
Version: 4.5.0-release
Hardware: Other Other
: P5 normal
Assignee: Scott D. Brown
URL:
Depends on:
Blocks:
 
Reported: 2013-03-20 23:37 EDT by Scott D. Brown
Modified: 2013-03-29 11:00 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott D. Brown 2013-03-20 23:37:05 EDT
To reproduce:
* Create a focal plane with truth collection with the default "file per simulation" schedule.
* Run a simulation that will perform multiple captures
* Notice that the truth image is only the size of a single frame (not multiple frames) and only contains truth from the last capture.
Comment 1 Scott D. Brown 2013-03-22 09:03:49 EDT
The CDFocalPlane::generateEvents() routine is in charge of scheduling open/close events for all the truth collectors associated with that focal plane.  The logic only considered the capture method file schedule and didn't look at the schedule from each truth collector.