Mantid
Loading...
Searching...
No Matches
MuonGroupAsymmetryCalculator.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
8
10
11namespace Mantid {
12namespace WorkflowAlgorithms {
13
18public:
19 MuonGroupAsymmetryCalculator(const API::WorkspaceGroup_sptr &inputWS, const std::vector<int> &summedPeriods,
20 const std::vector<int> &subtractedPeriods, const int groupIndex,
21 const double start = 0.0, const double end = 30.0, const std::string &wsName = "");
23 API::MatrixWorkspace_sptr calculate() const override;
24
25private:
27 API::MatrixWorkspace_sptr removeExpDecay(const API::Workspace_sptr &inputWS, const int index) const;
28 API::MatrixWorkspace_sptr estimateAsymmetry(const API::Workspace_sptr &inputWS, const int index) const;
29};
30double getStoredNorm();
31} // namespace WorkflowAlgorithms
32} // namespace Mantid
std::map< DeltaEMode::Type, std::string > index
Definition: DeltaEMode.cpp:19
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Definition: System.h:53
MuonGroupAsymmetryCalculator : Calculates asymmetry between given group (specified via GroupIndex) an...
MuonGroupCalculator : Base class for Muon group counts/asymmetry calculators.
std::shared_ptr< WorkspaceGroup > WorkspaceGroup_sptr
shared pointer to Mantid::API::WorkspaceGroup
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
Definition: Workspace_fwd.h:20
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.