Mantid
Loading...
Searching...
No Matches
Framework
Algorithms
inc
MantidAlgorithms
SANSCollimationLengthEstimator.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
9
#include "
MantidAPI/MatrixWorkspace_fwd.h
"
10
#include "MantidAlgorithms/DllConfig.h"
11
#include "
MantidKernel/Property.h
"
14
namespace
Mantid
{
15
namespace
Algorithms {
16
class
MANTID_ALGORITHMS_DLL
SANSCollimationLengthEstimator
{
17
public
:
18
double
provideCollimationLength(
const
Mantid::API::MatrixWorkspace_sptr
&
workspace
);
19
20
private
:
21
double
getCollimationLengthWithGuides(
const
Mantid::API::MatrixWorkspace_sptr
&inOutWS,
const
double
L1,
22
const
double
collimationLengthCorrection)
const
;
23
double
getGuideValue(
const
Mantid::Kernel::Property
*prop)
const
;
24
};
25
}
// namespace Algorithms
26
}
// namespace Mantid
workspace
IPeaksWorkspace_sptr workspace
Definition
IndexPeaks.cpp:116
MatrixWorkspace_fwd.h
Property.h
Mantid::Algorithms::SANSCollimationLengthEstimator
Definition
SANSCollimationLengthEstimator.h:16
Mantid::Kernel::Property
Base class for properties.
Definition
Property.h:94
Mantid::API::MatrixWorkspace_sptr
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Definition
MatrixWorkspace.h:585
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition
AbsorptionCorrection.h:18
Generated by
1.9.8