Ticket #1605 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

EventList: track the detector IDs within an event list

Reported by: Janik Zikovsky Owned by: Janik Zikovsky
Priority: major Milestone: Iteration 25
Component: Mantid Keywords:
Cc: pf9@… Blocked By:
Blocking: Tester: Vickie Lynch

Description

Have a std::set<> of detectorIDs for each EventList.

Will make sumSpectra, DiffractionFocussing and Plus more straightforward.

Change History

comment:1 Changed 10 years ago by Janik Zikovsky

  • Status changed from new to accepted

comment:2 Changed 10 years ago by Janik Zikovsky

(In [6100]) Refs #1605 and #1595 in a way. Made spectrum numbers and workspace indices match (simple 1:1 map) for EventWorkspaces. Added tracking of detector ID in EVentList. Operators (+) do a union of detector IDs set. SpectraDetectorMap is generated from the EventList detector IDs. Renamed functions to clarify getEventList and getEventListAtWorkspaceIndex. New functions for finalizing the creation of EventWorkspaces. Fixed DiffractionFocussing and ConjoinWorkspaces to use the new functionality - code is made a lot clearer. This work supports Refs #1513 and #1581.

comment:3 Changed 10 years ago by Janik Zikovsky

  • Status changed from accepted to verify
  • Resolution set to fixed

From the work in MergeRuns, and Plus, this functionality seems to be going well. Conceptually clear and cleaned up the code thanks to it.

comment:4 Changed 10 years ago by Vickie Lynch

  • Status changed from verify to verifying
  • Component set to Mantid
  • Tester set to Vickie Lynch

comment:5 Changed 10 years ago by Vickie Lynch

  • Status changed from verifying to closed

Works for SNAP events

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2452

Note: See TracTickets for help on using tickets.