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
20class MANTID_API_DLL TimeAtSampleStrategyDirect : public TimeAtSampleStrategy {
21public:
22 TimeAtSampleStrategyDirect(const std::shared_ptr<const Mantid::API::MatrixWorkspace> &ws, double ei);
23 Correction calculate(const size_t &workspace_index) const override;
24
25private:
28};
29
30} // namespace API
31} // 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 multiplicativeFactor: TOF correction fac...