39 if ((allEntries.count(
"NXcylindrical_geometry") != 1 && allEntries.count(
"NXoff_geometry") != 1 &&
40 allEntries.count(
"NXtransformations") != 1) ||
41 allEntries.count(Mantid::NexusGeometry::NX_SOURCE) != 1 ||
42 allEntries.count(Mantid::NexusGeometry::NX_SAMPLE) != 1) {
45 std::set<std::string> data_entries = allEntries.at(
"SDS");
47 if (allEntries.contains(Mantid::NexusGeometry::NX_DETECTOR)) {
48 std::set<std::string> det_entries = allEntries.at(Mantid::NexusGeometry::NX_DETECTOR);
49 for (
auto it = det_entries.begin(); it != det_entries.end(); ++it) {
50 std::string id_name = *it +
"/" + Mantid::NexusGeometry::DETECTOR_IDS;
51 if (data_entries.find(id_name) == data_entries.end()) {
56 if (allEntries.contains(Mantid::NexusGeometry::NX_MONITOR)) {
57 std::set<std::string> mon_entries = allEntries.at(Mantid::NexusGeometry::NX_MONITOR);
58 for (
auto it = mon_entries.begin(); it != mon_entries.end(); ++it) {
59 std::string id_name = *it +
"/" + Mantid::NexusGeometry::DETECTOR_ID;
60 if (data_entries.find(id_name) == data_entries.end()) {