|
Mantid
|
#include <BankCalibration.h>
Public Member Functions | |
| BankCalibrationFactory (const std::map< detid_t, double > &calibration_map, const std::map< detid_t, double > &scale_at_sample, const std::map< size_t, std::set< detid_t > > &grouping, const std::set< detid_t > &mask, const std::map< size_t, std::set< detid_t > > &bank_detids) | |
| std::vector< BankCalibration > | getCalibrations (const double time_conversion, const size_t bank_index) const |
| Select which detector ids go into the output group. | |
Private Attributes | |
| const std::map< size_t, std::set< detid_t > > & | m_bank_detids |
| const std::map< detid_t, double > & | m_calibration_map |
| detid: difc/difc_focussed | |
| const std::map< size_t, std::set< detid_t > > & | m_grouping |
| detector ids for output workspace index | |
| const std::set< detid_t > & | m_mask |
| const std::map< detid_t, double > & | m_scale_at_sample |
| multiplicative 0<value<1 to move neutron TOF at sample | |
Definition at line 49 of file BankCalibration.h.
| Mantid::DataHandling::AlignAndFocusPowderSlim::BankCalibrationFactory::BankCalibrationFactory | ( | const std::map< detid_t, double > & | calibration_map, |
| const std::map< detid_t, double > & | scale_at_sample, | ||
| const std::map< size_t, std::set< detid_t > > & | grouping, | ||
| const std::set< detid_t > & | mask, | ||
| const std::map< size_t, std::set< detid_t > > & | bank_detids | ||
| ) |
Definition at line 116 of file BankCalibration.cpp.
| std::vector< BankCalibration > Mantid::DataHandling::AlignAndFocusPowderSlim::BankCalibrationFactory::getCalibrations | ( | const double | time_conversion, |
| const size_t | bank_index | ||
| ) | const |
Select which detector ids go into the output group.
This resets the internal state of the BankCalibration.
| time_conversion | Value to bundle into the calibration constant to account for converting the time-of-flight into microseconds. Applying it here is effectively the same as applying it to each event time-of-flight. |
| bank_index | Output group for finding grouping information. |
Definition at line 124 of file BankCalibration.cpp.
References m_bank_detids, and m_grouping.
Referenced by Mantid::DataHandling::AlignAndFocusPowderSlim::ProcessBankTaskBase::getCalibrations().
|
private |
Definition at line 69 of file BankCalibration.h.
Referenced by getCalibrations().
|
private |
detid: difc/difc_focussed
Definition at line 65 of file BankCalibration.h.
|
private |
detector ids for output workspace index
Definition at line 67 of file BankCalibration.h.
Referenced by getCalibrations().
|
private |
Definition at line 68 of file BankCalibration.h.
|
private |
multiplicative 0<value<1 to move neutron TOF at sample
Definition at line 66 of file BankCalibration.h.