Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
Instrument.h File Reference
#include "MantidGeometry/DllConfig.h"
#include "MantidGeometry/IDetector.h"
#include "MantidGeometry/Instrument/CompAssembly.h"
#include "MantidGeometry/Instrument/ObjComponent.h"
#include "MantidGeometry/Instrument/RectangularDetector.h"
#include "MantidGeometry/Instrument_fwd.h"
#include "MantidKernel/DateAndTime.h"
#include <map>
#include <queue>
#include <string>
#include <tuple>
#include <unordered_map>
#include <vector>

Go to the source code of this file.

Classes

class  Mantid::Geometry::Instrument
 Base Instrument Class. More...
 

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::Geometry
 
namespace  Mantid::Geometry::Conversion
 

Typedefs

using Mantid::detid2det_map = std::map< detid_t, Geometry::IDetector_const_sptr >
 Typedef of a map from detector ID to detector shared pointer. More...
 
using Mantid::Geometry::InstrumentParameterCache = std::map< std::pair< std::string, const IComponent * >, std::shared_ptr< XMLInstrumentParameter > >
 Convenience typedef. More...
 

Functions

MANTID_GEOMETRY_DLL double Mantid::Geometry::Conversion::tofToDSpacingFactor (const double l1, const double l2, const double twoTheta, const double offset)
 Calculate and return conversion factor from tof to d-spacing. More...
 
double MANTID_GEOMETRY_DLL Mantid::Geometry::Conversion::tofToDSpacingFactor (const double l1, const double l2, const double twoTheta, const std::vector< detid_t > &detectors, const std::map< detid_t, double > &offsets)