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

Go to the source code of this file.

Namespaces

namespace  MuonWorkspaceCreationHelper
 

Functions

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...