Mantid
Loading...
Searching...
No Matches
TimeAtSampleStrategyIndirect.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 {
14namespace Geometry {
15class ParameterMap;
16}
17namespace API {
18class MatrixWorkspace;
19class SpectrumInfo;
20
25public:
26 TimeAtSampleStrategyIndirect(std::shared_ptr<const Mantid::API::MatrixWorkspace> ws);
27 Correction calculate(const size_t &workspace_index) const override;
28
29private:
30 double getEfixed(const size_t &workspace_index) const;
32 const double m_L1s;
35};
36
37} // namespace API
38} // namespace Mantid
API::SpectrumInfo is an intermediate step towards a SpectrumInfo that is part of Instrument-2....
TimeAtSampleStrategyIndirect : Determine Time At Sample for an indirect instrument setup.
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 multiplicativeFactor: TOF correction fac...