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 ComponentInfo;
16class DetectorInfo;
17} // namespace Geometry
18namespace API {
19class MatrixWorkspace;
20class SpectrumInfo;
21
26public:
27 TimeAtSampleStrategyIndirect(std::shared_ptr<const Mantid::API::MatrixWorkspace> ws);
28 Correction calculate(const size_t &workspace_index) const override;
29
30private:
31 double getEfixed(const size_t &workspace_index) const;
33 const double m_L1s;
37};
38
39} // namespace API
40} // 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.
ComponentInfo : Provides a component centric view on to the instrument.
Geometry::DetectorInfo is an intermediate step towards a DetectorInfo that is part of Instrument-2....
Class for 3D vectors.
Definition V3D.h:35
Helper class which provides the Collimation Length for SANS instruments.
The Correction struct to be applied as factor * TOF + offset multiplicativeFactor: TOF correction fac...