Mantid
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Mantid::CurveFitting::MSVesuvioHelper::SimulationWithErrors Struct Reference

#include <MSVesuvioHelpers.h>

Public Member Functions

void normalise ()
 Normalise the counts so that the integral over the single-scatter events is 1. More...
 
 SimulationWithErrors (const size_t order, const size_t ntimes)
 

Public Attributes

std::vector< std::vector< double > > errors
 
Simulation sim
 

Detailed Description

Definition at line 46 of file MSVesuvioHelpers.h.

Constructor & Destructor Documentation

◆ SimulationWithErrors()

Mantid::CurveFitting::MSVesuvioHelper::SimulationWithErrors::SimulationWithErrors ( const size_t  order,
const size_t  ntimes 
)
inline

Definition at line 47 of file MSVesuvioHelpers.h.

Member Function Documentation

◆ normalise()

void Mantid::CurveFitting::MSVesuvioHelper::SimulationWithErrors::normalise ( )

Normalise the counts so that the integral over the single-scatter events is 1.

Definition at line 362 of file MSVesuvioHelpers.cpp.

References Mantid::CurveFitting::MSVesuvioHelper::Simulation::counts, errors, and sim.

Referenced by Mantid::CurveFitting::Algorithms::VesuvioCalculateMS::calculateMS().

Member Data Documentation

◆ errors

std::vector<std::vector<double> > Mantid::CurveFitting::MSVesuvioHelper::SimulationWithErrors::errors

◆ sim

Simulation Mantid::CurveFitting::MSVesuvioHelper::SimulationWithErrors::sim

The documentation for this struct was generated from the following files: