Mantid
Loading...
Searching...
No Matches
MuonGroupCountsCalculator.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
9#include "MantidWorkflowAlgorithms/DllConfig.h"
11
12namespace Mantid {
13namespace WorkflowAlgorithms {
14
18class MANTID_WORKFLOWALGORITHMS_DLL MuonGroupCountsCalculator : public MuonGroupCalculator {
19public:
20 MuonGroupCountsCalculator(const Mantid::API::WorkspaceGroup_sptr &inputWS, const std::vector<int> &summedPeriods,
21 const std::vector<int> &subtractedPeriods, const int groupIndex);
23 Mantid::API::MatrixWorkspace_sptr calculate() const override;
24};
25
26} // namespace WorkflowAlgorithms
27} // namespace Mantid
MuonGroupCalculator : Base class for Muon group counts/asymmetry calculators.
MuonGroupCountsCalculator : Calculates pure counts of the group specified via group index.
std::shared_ptr< WorkspaceGroup > WorkspaceGroup_sptr
shared pointer to Mantid::API::WorkspaceGroup
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.