Mantid
Loading...
Searching...
No Matches
DisplayNormalizationSetter.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
11#include "MantidMDAlgorithms/DllConfig.h"
12
13namespace Mantid {
14namespace MDAlgorithms {
20class MANTID_MDALGORITHMS_DLL DisplayNormalizationSetter {
21public:
22 void operator()(const Mantid::API::IMDWorkspace_sptr &mdWorkspace,
23 const Mantid::API::MatrixWorkspace_sptr &underlyingWorkspace, bool isQ = false,
25
26private:
27 void setNormalizationMDEvent(const Mantid::API::IMDWorkspace_sptr &mdWorkspace,
28 const Mantid::API::MatrixWorkspace_sptr &underlyingWorkspace, bool isQ = false,
30
31 void applyNormalizationMDEvent(const Mantid::API::IMDWorkspace_sptr &mdWorkspace,
32 Mantid::API::MDNormalization displayNormalization,
33 Mantid::API::MDNormalization displayNormalizationHisto);
34};
35} // namespace MDAlgorithms
36} // namespace Mantid
DisplayNormalizationSetter: Sets the displaynormalization on a workspace based on several parameters ...
std::shared_ptr< IMDWorkspace > IMDWorkspace_sptr
Shared pointer to the IMDWorkspace base class.
Definition: IMDWorkspace.h:146
MDNormalization
Enum describing different ways to normalize the signal in a MDWorkspace.
Definition: IMDIterator.h:25
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.
Type
Define the available energy transfer modes It is important to assign enums proper numbers,...
Definition: DeltaEMode.h:29