Mantid
Loading...
Searching...
No Matches
Framework
Algorithms
inc
MantidAlgorithms
CreateBootstrapWorkspaces.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2025 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 <random>
10
11
#include "
MantidAPI/Algorithm.h
"
12
#include "MantidAlgorithms/DllConfig.h"
13
#include "MantidHistogramData/HistogramY.h"
14
15
namespace
Mantid::Algorithms
{
16
23
class
MANTID_ALGORITHMS_DLL
CreateBootstrapWorkspaces
:
public
API::Algorithm
{
24
public
:
25
const
std::string
name
()
const override
;
26
int
version()
const override
;
27
const
std::string category()
const override
;
28
const
std::string summary()
const override
;
29
30
static
HistogramData::HistogramY sampleHistogramFromGaussian(
const
HistogramData::HistogramY &dataY,
31
const
HistogramData::HistogramE &dataE,
32
std::mt19937 &gen);
33
34
private
:
35
void
init()
override
;
36
void
exec()
override
;
37
};
38
39
}
// namespace Mantid::Algorithms
name
std::string name
Definition
Run.cpp:60
Algorithm.h
Mantid::API::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition
Algorithm.h:76
Mantid::Algorithms::CreateBootstrapWorkspaces
CreateBootstrapWorkspaces: The algorithm generates several simulated workspaces by sampling randomly ...
Definition
CreateBootstrapWorkspaces.h:23
Mantid::Algorithms
Definition
AbsorptionCorrection.h:28
Generated by
1.9.8