Mantid
Loading...
Searching...
No Matches
Framework
Algorithms
inc
MantidAlgorithms
ExtractSpectra2.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2017 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/Algorithm.h
"
10
#include "MantidAlgorithms/DllConfig.h"
11
12
namespace
Mantid
{
13
namespace
Algorithms {
14
22
class
MANTID_ALGORITHMS_DLL
ExtractSpectra2
:
public
API::Algorithm
{
23
public
:
24
const
std::string
name
()
const override
;
25
int
version()
const override
;
26
const
std::string category()
const override
;
27
const
std::string summary()
const override
;
28
29
private
:
30
void
init()
override
;
31
void
exec()
override
;
32
template
<
class
T>
void
exec
(
const
T &inputWS,
const
Indexing::SpectrumIndexSet &indexSet);
33
};
34
35
}
// namespace Algorithms
36
}
// namespace Mantid
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::ExtractSpectra2
Extracts specified spectra from a workspace and places them in a new workspace.
Definition
ExtractSpectra2.h:22
Mantid::Algorithms::ExtractSpectra2::exec
void exec(const T &inputWS, const Indexing::SpectrumIndexSet &indexSet)
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition
AbsorptionCorrection.h:18
Generated by
1.9.8