Mantid
Loading...
Searching...
No Matches
Namespaces | Functions
InstrumentCreationHelper.cpp File Reference
#include "MantidFrameworkTestHelpers/InstrumentCreationHelper.h"
#include "MantidAPI/Axis.h"
#include "MantidAPI/MatrixWorkspace.h"
#include "MantidGeometry/Instrument/Detector.h"
#include "MantidGeometry/Instrument/ReferenceFrame.h"

Go to the source code of this file.

Namespaces

namespace  InstrumentCreationHelper
 

Functions

Mantid::Geometry::ComponentInstrumentCreationHelper::addComponent (Mantid::Geometry::Instrument_sptr &instrument, const Mantid::Kernel::V3D &position, const std::string &name)
 Adds a component to an instrument. More...
 
void InstrumentCreationHelper::addDetector (Mantid::Geometry::Instrument_sptr &instrument, const Mantid::Kernel::V3D &position, const int ID, const std::string &name, Mantid::Geometry::ObjCompAssembly *compAss)
 Adds a detector to an instrument. More...
 
void InstrumentCreationHelper::addFullInstrumentToWorkspace (Mantid::API::MatrixWorkspace &workspace, bool includeMonitors, bool startYNegative, const std::string &instrumentName)
 
void InstrumentCreationHelper::addInstrumentWithGeographicalDetectorsToWorkspace (Mantid::API::MatrixWorkspace &workspace, const int nlat, const int nlong, const double anginc, const std::string &instrumentName)
 
void InstrumentCreationHelper::addMonitor (Mantid::Geometry::Instrument_sptr &instrument, const Mantid::Kernel::V3D &position, const int ID, const std::string &name)
 Adds a monitor to an instrument. More...
 
void InstrumentCreationHelper::addSample (Mantid::Geometry::Instrument_sptr &instrument, const Mantid::Kernel::V3D &position, const std::string &name)
 Adds a sample to an instrument. More...
 
void InstrumentCreationHelper::addSource (Mantid::Geometry::Instrument_sptr &instrument, const Mantid::Kernel::V3D &position, const std::string &name)
 Adds a source to an instrument. More...