Mantid
Loading...
Searching...
No Matches
MuonGroupCalculator.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
17public:
18 MuonGroupCalculator(const Mantid::API::WorkspaceGroup_sptr &inputWS, const std::vector<int> &summedPeriods,
19 const std::vector<int> &subtractedPeriods, const int groupIndex);
20 void setStartEnd(const double start, const double end);
21 void setWSName(const std::string &wsName);
22
23protected:
25 const int m_groupIndex;
26 double m_startX;
27 double m_endX;
28 std::string m_wsName;
29};
30
31} // namespace WorkflowAlgorithms
32} // namespace Mantid
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Definition: System.h:53
IMuonAsymmetryCalculator : Abstract base class for muon asymmetry calculations.
MuonGroupCalculator : Base class for Muon group counts/asymmetry calculators.
const int m_groupIndex
Workspace index of the group to analyse.
std::shared_ptr< WorkspaceGroup > WorkspaceGroup_sptr
shared pointer to Mantid::API::WorkspaceGroup
Helper class which provides the Collimation Length for SANS instruments.