本文整理汇总了C++中mantid::kernel::V3D::toString方法的典型用法代码示例。如果您正苦于以下问题:C++ V3D::toString方法的具体用法?C++ V3D::toString怎么用?C++ V3D::toString使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类mantid::kernel::V3D
的用法示例。
在下文中一共展示了V3D::toString方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: getPeakInformation
/** Get peak information from peaks workspace
* @return
*/
void IntegratePeaksCWSD::getPeakInformation() {
m_vecPeaks = m_peaksWS->getPeaks();
size_t numpeaks = m_vecPeaks.size();
for (size_t ipeak = 0; ipeak < numpeaks; ++ipeak) {
DataObjects::Peak &peak = m_vecPeaks[ipeak];
int run_number = peak.getRunNumber();
Mantid::Kernel::V3D qsample = peak.getQSampleFrame();
m_runPeakCenterMap.insert(std::make_pair(run_number, qsample));
// set up the data structure to store integrated peaks' counts
m_runPeakCountsMap.insert(std::make_pair(run_number, 0.));
g_log.information() << "From peak workspace: peak " << ipeak
<< " Center (Qsample) = " << qsample.toString() << "\n";
}
}