Mantid
Loading...
Searching...
No Matches
TimeAtSampleStrategyElastic.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 "MantidKernel/V3D.h"
11#include <memory>
12
13namespace Mantid {
14
15namespace API {
16class MatrixWorkspace;
17class SpectrumInfo;
18} // namespace API
19namespace Algorithms {
20
24public:
25 TimeAtSampleStrategyElastic(std::shared_ptr<const Mantid::API::MatrixWorkspace> ws);
26 Correction calculate(const size_t &workspace_index) const override;
27
28private:
29 std::shared_ptr<const Mantid::API::MatrixWorkspace> m_ws;
32};
33
34} // namespace Algorithms
35} // namespace Mantid
API::SpectrumInfo is an intermediate step towards a SpectrumInfo that is part of Instrument-2....
Definition: SpectrumInfo.h:53
TimeAtSampleStrategyElastic : Time at sample stragegy for elastic scattering.
std::shared_ptr< const Mantid::API::MatrixWorkspace > m_ws
TimeAtSampleStrategy : Strategy (technique dependent) for determining Time At Sample.
Class for 3D vectors.
Definition: V3D.h:34
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...