stub for new NeXus file handling. Not much is working yet.

This commit is contained in:
2026-01-25 08:26:43 +01:00
parent f66c832d56
commit 3eea73f07a
7 changed files with 59 additions and 6049 deletions

View File

@@ -360,6 +360,8 @@ int dump_header_root(const std::string fileName, const bool summary, const bool
int dump_header_nexus(const std::string fileName, const bool counts) {
#ifdef PNEXUS_ENABLED
std::cout << std::endl << "new NeXus handling not yet implemented ..." << std::endl << std::endl;
/* //as35
std::unique_ptr<PNeXus> nxs_file = std::make_unique<PNeXus>(fileName.c_str());
if (nxs_file->IsValid(false)) {
@@ -370,6 +372,7 @@ int dump_header_nexus(const std::string fileName, const bool counts) {
std::cerr << std::endl;
return 1;
}
*/ //as35
#else
std::cout << std::endl << "NeXus not enabled, hence the header information cannot be dumped." << std::endl << std::endl;
#endif