9#include "MantidNexusGeometry/NexusShapeFactory.h"
15std::shared_ptr<const Mantid::Geometry::IObject>
createShape() {
16 Eigen::Matrix<double, 3, 3> pointsDef;
18 pointsDef.col(0) = Eigen::Vector3d(-0.00101, 0.0, 0.0);
20 pointsDef.col(1) = Eigen::Vector3d(-0.00101, 0.00405, 0.0);
22 pointsDef.col(2) = Eigen::Vector3d(0.00101, 0.0, 0.0);
23 return NexusShapeFactory::createCylinder(pointsDef);
29 Eigen::Matrix<double, 3, 4> pix;
31 double tube2_y = 0.05;
34 for (
int i = 0; i < 2; ++i)
35 pix.col(i) = Eigen::Vector3d(0.00202 * i, tube1_y, 0);
38 for (
int i = 2; i < 4; ++i)
39 pix.col(i) = Eigen::Vector3d(0.00202 * i, tube2_y, 0);
46 Eigen::Matrix<double, 3, 4> pix;
47 pix.col(0) = Eigen::Vector3d(0, 0.1, 0);
48 pix.col(1) = Eigen::Vector3d(0.3, 0.6, 0.3);
49 pix.col(2) = Eigen::Vector3d(-0.7, -0.7, 0);
50 pix.col(3) = Eigen::Vector3d(1, 1.9, 0);
56 std::vector<int> detIDs(4);
57 std::iota(detIDs.begin(), detIDs.end(), 4);
Pixels generateNonCoLinearPixels()
Pixels generateCoLinearPixels()
std::vector< int > getFakeDetIDs()
std::shared_ptr< const Mantid::Geometry::IObject > createShape()