Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::Algorithms::TimeAtSampleStrategyElastic Class Reference

TimeAtSampleStrategyElastic : Time at sample stragegy for elastic scattering. More...

#include <TimeAtSampleStrategyElastic.h>

Inheritance diagram for Mantid::Algorithms::TimeAtSampleStrategyElastic:
Mantid::Algorithms::TimeAtSampleStrategy

Public Member Functions

Correction calculate (const size_t &workspace_index) const override
 Calculate correction. More...
 
 TimeAtSampleStrategyElastic (std::shared_ptr< const Mantid::API::MatrixWorkspace > ws)
 Constructor. More...
 
- Public Member Functions inherited from Mantid::Algorithms::TimeAtSampleStrategy
virtual Correction calculate (const size_t &workspace_index) const =0
 
virtual ~TimeAtSampleStrategy ()=default
 

Private Attributes

const Kernel::V3D m_beamDir
 
const API::SpectrumInfom_spectrumInfo
 
std::shared_ptr< const Mantid::API::MatrixWorkspacem_ws
 

Detailed Description

TimeAtSampleStrategyElastic : Time at sample stragegy for elastic scattering.

Definition at line 23 of file TimeAtSampleStrategyElastic.h.

Constructor & Destructor Documentation

◆ TimeAtSampleStrategyElastic()

Mantid::Algorithms::TimeAtSampleStrategyElastic::TimeAtSampleStrategyElastic ( std::shared_ptr< const Mantid::API::MatrixWorkspace ws)

Constructor.

Definition at line 24 of file TimeAtSampleStrategyElastic.cpp.

Member Function Documentation

◆ calculate()

Correction Mantid::Algorithms::TimeAtSampleStrategyElastic::calculate ( const size_t &  workspace_index) const
overridevirtual

Member Data Documentation

◆ m_beamDir

const Kernel::V3D Mantid::Algorithms::TimeAtSampleStrategyElastic::m_beamDir
private

Definition at line 31 of file TimeAtSampleStrategyElastic.h.

Referenced by calculate().

◆ m_spectrumInfo

const API::SpectrumInfo& Mantid::Algorithms::TimeAtSampleStrategyElastic::m_spectrumInfo
private

Definition at line 30 of file TimeAtSampleStrategyElastic.h.

Referenced by calculate().

◆ m_ws

std::shared_ptr<const Mantid::API::MatrixWorkspace> Mantid::Algorithms::TimeAtSampleStrategyElastic::m_ws
private

Definition at line 29 of file TimeAtSampleStrategyElastic.h.


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