Clean up reader and associated classes
Context
The Reader
classes contained old methods and attributes that are no longer used in the new system. Some attributes needed to be accessed differently.
Summary
The code that was changed was mainly code that was not used anywhere in the system. Two changes to functionality are regarding the ReaderFactory
and the "trigger time".
- The
ReaderFactory
now returns aReader
instead of aReaderIterator
. The RunManager can use the reader to update the values fornumBinsBaseline
,ampMax
andampMin
if they have been modified when aReader
was created. To check if they have been modified, use the methodyLimitsKnown()
fromReader
. - Each channel now stores the "trigger time" for the Event. Anywhere in the old system that used
getTriggerTime()
from theReader
can now access this through theChannel
instead.
How was this tested?
The compiled code runs as it did before.