Mantid
Loading...
Searching...
No Matches
BoxControllerSettingsAlgorithm.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2011 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
12#include "MantidKernel/System.h"
13
14namespace Mantid {
15namespace API {
16
26public:
27protected:
29 void initBoxControllerProps(const std::string &SplitInto = "5", int SplitThreshold = 1000, int MaxRecursionDepth = 5);
30
32 void setBoxController(const Mantid::API::BoxController_sptr &bc,
34
36 void setBoxController(const Mantid::API::BoxController_sptr &bc);
37
38 std::string getBoxSettingsGroupName() { return "Box Splitting Settings"; }
40 void takeDefaultsFromInstrument(const Mantid::Geometry::Instrument_const_sptr &instrument, const size_t ndims);
41
42protected:
44
45private:
46};
47
48} // namespace API
49} // namespace Mantid
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Definition: System.h:53
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
An abstract algorithm sub-class for algorithms that define properties for BoxController settings.
std::shared_ptr< BoxController > BoxController_sptr
Shared ptr to BoxController.
std::shared_ptr< const Instrument > Instrument_const_sptr
Shared pointer to an const instrument object.
Helper class which provides the Collimation Length for SANS instruments.