Mantid
|
#include "MantidKernel/UnitLabel.h"
#include <utility>
#include <unordered_map>
#include <vector>
#include <memory>
#include "tbb/concurrent_unordered_map.h"
Go to the source code of this file.
Namespaces | |
namespace | Mantid |
Helper class which provides the Collimation Length for SANS instruments. | |
namespace | Mantid::Kernel |
namespace | Mantid::Kernel::Units |
The namespace for concrete units classes. | |
Typedefs | |
using | Mantid::Kernel::Unit_const_sptr = std::shared_ptr< const Unit > |
Shared pointer to the Unit base class (const version) More... | |
using | Mantid::Kernel::Unit_sptr = std::shared_ptr< Unit > |
Shared pointer to the Unit base class. More... | |
using | Mantid::Kernel::UnitParametersMap = std::unordered_map< UnitParams, double > |
Enumerations | |
enum class | Mantid::Kernel::UnitParams { Mantid::Kernel::l2 , Mantid::Kernel::twoTheta , Mantid::Kernel::efixed , Mantid::Kernel::delta , Mantid::Kernel::difa , Mantid::Kernel::difc , Mantid::Kernel::tzero } |
Functions | |
MANTID_KERNEL_DLL double | Mantid::Kernel::Units::timeConversionValue (const std::string &input_unit, const std::string &output_unit) |
template<typename T > | |
void | Mantid::Kernel::Units::timeConversionVector (std::vector< T > &vec, const std::string &input_unit, const std::string &output_unit) |
MANTID_KERNEL_DLL double | Mantid::Kernel::Units::tofToDSpacingFactor (const double l1, const double l2, const double twoTheta, const double offset) |
Calculate and return conversion factor from tof to d-spacing. More... | |