Mantid
|
#include <MSVesuvioHelpers.h>
Public Member Functions | |
SimulationWithErrors | average () const |
Simulation & | newSimulation (const size_t order, const size_t ntimes) |
SimulationAggregator (const size_t nruns) | |
Accumulates and averages the results of each simulation. More... | |
Public Attributes | |
std::vector< Simulation > | results |
Definition at line 56 of file MSVesuvioHelpers.h.
Mantid::CurveFitting::MSVesuvioHelper::SimulationAggregator::SimulationAggregator | ( | const size_t | nruns | ) |
Accumulates and averages the results of each simulation.
nruns | The number of runs that will be computed |
Definition at line 301 of file MSVesuvioHelpers.cpp.
References results.
SimulationWithErrors Mantid::CurveFitting::MSVesuvioHelper::SimulationAggregator::average | ( | ) | const |
Definition at line 316 of file MSVesuvioHelpers.cpp.
References Mantid::CurveFitting::MSVesuvioHelper::Simulation::counts, Mantid::CurveFitting::MSVesuvioHelper::SimulationWithErrors::errors, results, and Mantid::CurveFitting::MSVesuvioHelper::SimulationWithErrors::sim.
Referenced by Mantid::CurveFitting::Algorithms::VesuvioCalculateMS::calculateMS().
Simulation & Mantid::CurveFitting::MSVesuvioHelper::SimulationAggregator::newSimulation | ( | const size_t | order, |
const size_t | ntimes | ||
) |
order | The number of requested scatterings |
ntimes | The number of times on input workspace |
Definition at line 308 of file MSVesuvioHelpers.cpp.
References results.
Referenced by Mantid::CurveFitting::Algorithms::VesuvioCalculateMS::calculateMS().
std::vector<Simulation> Mantid::CurveFitting::MSVesuvioHelper::SimulationAggregator::results |
Definition at line 63 of file MSVesuvioHelpers.h.
Referenced by average(), newSimulation(), and SimulationAggregator().