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
22public:
23 TimeAtSampleStrategyElastic(std::shared_ptr<const Mantid::API::MatrixWorkspace> ws);
24 Correction calculate(const size_t &workspace_index) const override;
25
26private:
28 const double m_L1s;
30};
31
32} // namespace API
33} // namespace Mantid
API::SpectrumInfo is an intermediate step towards a SpectrumInfo that is part of Instrument-2....
TimeAtSampleStrategyElastic : Time at sample stragegy for elastic scattering.
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...