Mantid
Loading...
Searching...
No Matches
TimeAtSampleStrategyDirect.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2015 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
10#include <memory>
11
12namespace Mantid {
13
14namespace API {
15class MatrixWorkspace;
16}
17
18namespace Algorithms {
22class MANTID_ALGORITHMS_DLL TimeAtSampleStrategyDirect : public TimeAtSampleStrategy {
23public:
24 TimeAtSampleStrategyDirect(const std::shared_ptr<const Mantid::API::MatrixWorkspace> &ws, double ei);
25 Correction calculate(const size_t &workspace_index) const override;
26
27private:
30};
31
32} // namespace Algorithms
33} // namespace Mantid
TimeAtSampleStrategyDirect : Determine the Time at Sample corrections for a Direct Geometry instrumen...
double m_constShift
Cached L1, Ei dependent const shift.
TimeAtSampleStrategy : Strategy (technique dependent) for determining Time At Sample.
Helper class which provides the Collimation Length for SANS instruments.
The Correction struct to be applied as factor * TOF + offset offset:: TOF offset in unit of TOF facto...