Mantid
Loading...
Searching...
No Matches
IntegratePeaksShapeMD.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2026 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
11#include "MantidAPI/Progress.h"
15#include "MantidKernel/Matrix.h"
17
18namespace Mantid {
19namespace MDAlgorithms {
20
29class MANTID_MDALGORITHMS_DLL IntegratePeaksShapeMD final : public API::Algorithm {
30public:
32 const std::string name() const override;
52 int version() const override;
53 const std::vector<std::string> seeAlso() const override {
54 return {"IntegrateEllipsoids", "IntegrateEllipsoidsTwoStep", "IntegratePeaksMD"};
55 }
57 const std::string category() const override;
59 const std::string summary() const override {
60 return "Integrate Single Crystal Diffraction Bragg peaks using the ellipsoidal "
61 "peak shape already stored on each peak.";
62 }
63
64private:
65 void init() override;
66 void exec() override;
67
68 void qListFromHistoWS(Integrate3DEvents &integrator, API::Progress &prog, DataObjects::Workspace2D_sptr &wksp);
69 void qListFromEventWS(Integrate3DEvents &integrator, API::Progress &prog, DataObjects::EventWorkspace_sptr &wksp);
70};
71
72} // namespace MDAlgorithms
73} // namespace Mantid
std::string name
Definition Run.cpp:60
Base class from which all concrete algorithm classes should be derived.
Definition Algorithm.h:76
Helper class for reporting progress from algorithms.
Definition Progress.h:25
This is a low-level class to construct a map with lists of events near each peak Q-vector,...
IntegratePeaksShapeMD integrates single crystal Bragg peaks using the ellipsoidal peak shape already ...
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
std::shared_ptr< Workspace2D > Workspace2D_sptr
shared pointer to Mantid::DataObjects::Workspace2D
std::shared_ptr< EventWorkspace > EventWorkspace_sptr
shared pointer to the EventWorkspace class
Helper class which provides the Collimation Length for SANS instruments.