Mantid
|
PeakClusterProjection : Maps peaks onto IMDHistoWorkspaces and returns the signal value at the peak center. More...
#include <PeakClusterProjection.h>
Public Member Functions | |
PeakClusterProjection & | operator= (const PeakClusterProjection &)=delete |
Mantid::Kernel::V3D | peakCenter (const Mantid::Geometry::IPeak &peak) const |
Get the peak center. More... | |
PeakClusterProjection (const PeakClusterProjection &)=delete | |
PeakClusterProjection (std::shared_ptr< Mantid::API::IMDEventWorkspace > &mdWS) | |
Constructor. More... | |
PeakClusterProjection (std::shared_ptr< Mantid::API::IMDHistoWorkspace > &mdWS) | |
Constructor. More... | |
PeakClusterProjection (std::shared_ptr< Mantid::API::IMDWorkspace > &mdWS) | |
Constructor. More... | |
Mantid::signal_t | signalAtPeakCenter (const Mantid::Geometry::IPeak &peak, Mantid::API::MDNormalization normalization=Mantid::API::NoNormalization) const |
Get the signal value at the peak center. More... | |
virtual | ~PeakClusterProjection ()=default |
Destructor. More... | |
Private Attributes | |
std::shared_ptr< Mantid::API::IMDWorkspace > | m_mdWS |
Image. More... | |
std::shared_ptr< Mantid::Geometry::PeakTransform > | m_peakTransform |
Peak Transform. More... | |
PeakClusterProjection : Maps peaks onto IMDHistoWorkspaces and returns the signal value at the peak center.
Definition at line 28 of file PeakClusterProjection.h.
Mantid::Crystal::PeakClusterProjection::PeakClusterProjection | ( | std::shared_ptr< Mantid::API::IMDWorkspace > & | mdWS | ) |
Constructor.
mdWS | Input image workspace to base the projection on and to take the coordinate system from. |
Definition at line 70 of file PeakClusterProjection.cpp.
References m_peakTransform.
Mantid::Crystal::PeakClusterProjection::PeakClusterProjection | ( | std::shared_ptr< Mantid::API::IMDHistoWorkspace > & | mdWS | ) |
Constructor.
mdWS | Input image workspace to base the projection on and to take the coordinate system from. |
Definition at line 83 of file PeakClusterProjection.cpp.
References m_peakTransform.
Mantid::Crystal::PeakClusterProjection::PeakClusterProjection | ( | std::shared_ptr< Mantid::API::IMDEventWorkspace > & | mdWS | ) |
Constructor.
mdWS | Input mdevent workspace to base the projection on and to take the coordinate system from. |
Definition at line 97 of file PeakClusterProjection.cpp.
References m_peakTransform.
|
delete |
|
virtualdefault |
Destructor.
|
delete |
Mantid::Kernel::V3D Mantid::Crystal::PeakClusterProjection::peakCenter | ( | const Mantid::Geometry::IPeak & | peak | ) | const |
Get the peak center.
Definition at line 109 of file PeakClusterProjection.cpp.
References m_peakTransform.
Referenced by Mantid::Crystal::IntegratePeaksHybrid::exec().
Mantid::signal_t Mantid::Crystal::PeakClusterProjection::signalAtPeakCenter | ( | const Mantid::Geometry::IPeak & | peak, |
Mantid::API::MDNormalization | normalization = Mantid::API::NoNormalization |
||
) | const |
Get the signal value at the peak center.
peak | |
normalization | : Optional normalization. Off by default. |
Definition at line 120 of file PeakClusterProjection.cpp.
References m_mdWS, and m_peakTransform.
Referenced by Mantid::Crystal::IntegratePeaksHybrid::exec(), and Mantid::Crystal::IntegratePeaksUsingClusters::exec().
|
private |
|
private |
Peak Transform.
Definition at line 51 of file PeakClusterProjection.h.
Referenced by peakCenter(), PeakClusterProjection(), and signalAtPeakCenter().