Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
MuonWorkspaceCreationHelper.h File Reference
#include "MantidAPI/MatrixWorkspace.h"
#include "MantidAPI/WorkspaceGroup.h"
#include "MantidDataObjects/TableWorkspace.h"
#include "MantidKernel/PhysicalConstants.h"
#include "MantidFrameworkTestHelpers/ComponentCreationHelper.h"
#include "MantidFrameworkTestHelpers/InstrumentCreationHelper.h"
#include "MantidFrameworkTestHelpers/WorkspaceCreationHelper.h"

Go to the source code of this file.

Classes

struct  MuonWorkspaceCreationHelper::eData
 
struct  MuonWorkspaceCreationHelper::yDataAsymmetry
 
struct  MuonWorkspaceCreationHelper::yDataCounts
 

Namespaces

namespace  MuonWorkspaceCreationHelper
 

Functions

template<typename Function = yDataAsymmetry>
Mantid::API::MatrixWorkspace_sptr MuonWorkspaceCreationHelper::createAsymmetryWorkspace (std::size_t nspec, std::size_t maxt, Function dataGenerator=yDataAsymmetry())
 Create a matrix workspace appropriate for Group Asymmetry. More...
 
Mantid::API::MatrixWorkspace_sptr MuonWorkspaceCreationHelper::createCountsWorkspace (size_t nspec, size_t maxt, double seed, size_t detectorIDseed, bool isHist, double xStart, double xEnd)
 Create a matrix workspace appropriate for Group Counts. More...
 
Mantid::API::MatrixWorkspace_sptr MuonWorkspaceCreationHelper::createCountsWorkspace (size_t nspec, size_t maxt, double seed, size_t detectorIDseed=1)
 Create a matrix workspace appropriate for Group Counts. More...
 
Mantid::API::ITableWorkspace_sptr MuonWorkspaceCreationHelper::createDeadTimeTable (const size_t &nspec, std::vector< double > &deadTimes)
 Create a simple dead time TableWorkspace with two columns (spectrum number and dead time). More...
 
Mantid::API::WorkspaceGroup_sptr MuonWorkspaceCreationHelper::createMultiPeriodAsymmetryData (const int &nPeriods, size_t nspec, size_t maxt, const std::string &wsGroupName)
 
Mantid::API::WorkspaceGroup_sptr MuonWorkspaceCreationHelper::createMultiPeriodWorkspaceGroup (const int &nPeriods, size_t nspec, size_t maxt, const std::string &wsGroupName)
 Create a WorkspaceGroup and add to the ADS, populate with MatrixWorkspaces simulating periods as used in muon analysis. More...
 
Mantid::API::ITableWorkspace_sptr MuonWorkspaceCreationHelper::createTimeZeroTable (const size_t &numSpec, const std::vector< double > &timeZeros)
 Create a simple time zero TableWorkspace with one column (time zero) More...
 
Mantid::API::WorkspaceGroup_sptr MuonWorkspaceCreationHelper::createWorkspaceGroupConsecutiveDetectorIDs (const int &nWorkspaces, size_t nspec, size_t maxt, const std::string &wsGroupName)
 Creates a grouped workspace containing multiple workspaces with multiple spectra, the detector IDs are consecutive across the spectra, starting from 1. More...
 
Mantid::API::MatrixWorkspace_sptr MuonWorkspaceCreationHelper::createWorkspaceWithInstrumentandRun (const std::string &instrName, int runNumber, size_t nSpectra)
 Creates a single-point workspace with instrument and runNumber set. More...