LoadMappingTable

From MantidProject

Jump to: navigation, search

Contents

Summary

Builds up the mapping between spectrum number and the detector objects in the instrument Geometry.

Properties

Order Name Direction Type Default Description
1 Filename Input string Mandatory The name of the RAW file from which to obtain the mapping information, including its full or relative path.
2 Workspace InOut Workspace Mandatory The name of the input and output workspace on which to perform the algorithm.

Description

Loads the mapping table between spectra and IDetector from a RAW file. It fills the SpectraToDetectorMap object contained in a workspace. This algorithm will fail if the workspace does not already point to a full instrument geometry (which usually means it must be run after LoadInstrument/LoadInstrumentFromRaw).

The association is one to many, i.e. a spectrum can have one or many detectors contributing to it. Alternatively the same spectrum can contribute to different spectra (for example in DAE2 (Data Aquisition Electronic) when a spectra containing electronically focussed data is created simultaneously with individual spectra).

Source Code

Header LoadMappingTable.h

Source LoadMappingTable.cpp

Personal tools
Create a book