Mantid
Loading...
Searching...
No Matches
CalibrationHelpers.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2017 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9#include "MantidCrystal/DllConfig.h"
11
12namespace Mantid {
13namespace Geometry {
14class ComponentInfo;
15}
16namespace Crystal {
17
22namespace CalibrationHelpers {
23
24MANTID_CRYSTAL_DLL void adjustUpSampleAndSourcePositions(double const L0, const Kernel::V3D &newSampPos,
25 Geometry::ComponentInfo &componentInfo);
26
27MANTID_CRYSTAL_DLL void adjustBankPositionsAndSizes(const std::vector<std::string> &bankNames,
28 const Geometry::Instrument &newInstrument, const Kernel::V3D &pos,
29 const Kernel::Quat &rot, const double detWScale,
30 const double detHtScale, Geometry::ComponentInfo &componentInfo);
31
32} // namespace CalibrationHelpers
33} // namespace Crystal
34} // namespace Mantid
ComponentInfo : Provides a component centric view on to the instrument.
Definition: ComponentInfo.h:40
Base Instrument Class.
Definition: Instrument.h:47
Class for quaternions.
Definition: Quat.h:39
Class for 3D vectors.
Definition: V3D.h:34
MANTID_CRYSTAL_DLL void adjustUpSampleAndSourcePositions(double const L0, const Kernel::V3D &newSampPos, Geometry::ComponentInfo &componentInfo)
Updates the ComponentInfo for the workspace containing newInstrument to reflect the position of the s...
MANTID_CRYSTAL_DLL void adjustBankPositionsAndSizes(const std::vector< std::string > &bankNames, const Geometry::Instrument &newInstrument, const Kernel::V3D &pos, const Kernel::Quat &rot, const double detWScale, const double detHtScale, Geometry::ComponentInfo &componentInfo)
Updates ComponentInfo for newInstrument to reflect the changes in the associated panel information.
Helper class which provides the Collimation Length for SANS instruments.