Mantid
Loading...
Searching...
No Matches
MuonGroupCalculator.cpp
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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 +
8
10
11//----------------------------------------------------------------------------------------------
21 const std::vector<int> &summedPeriods,
22 const std::vector<int> &subtractedPeriods, const int groupIndex)
23 : IMuonAsymmetryCalculator(inputWS, summedPeriods, subtractedPeriods), m_groupIndex(groupIndex) {}
24void MuonGroupCalculator::setStartEnd(const double start, const double end) {
25 m_startX = start;
26 m_endX = end;
27}
28void MuonGroupCalculator::setWSName(const std::string &wsName) { m_wsName = wsName; }
29} // namespace Mantid::WorkflowAlgorithms
IMuonAsymmetryCalculator : Abstract base class for muon asymmetry calculations.
MuonGroupCalculator(const Mantid::API::WorkspaceGroup_sptr &inputWS, const std::vector< int > &summedPeriods, const std::vector< int > &subtractedPeriods, const int groupIndex)
Constructor.
void setStartEnd(const double start, const double end)
std::shared_ptr< WorkspaceGroup > WorkspaceGroup_sptr
shared pointer to Mantid::API::WorkspaceGroup