From 043d185a6028da8f113029598d27131828bd3c21 Mon Sep 17 00:00:00 2001 From: nemu Date: Thu, 14 Apr 2011 08:05:47 +0000 Subject: [PATCH] clean up NeXus interface --- src/classes/PRunDataHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/PRunDataHandler.cpp b/src/classes/PRunDataHandler.cpp index 6795dbf6..1d6e5c78 100644 --- a/src/classes/PRunDataHandler.cpp +++ b/src/classes/PRunDataHandler.cpp @@ -617,7 +617,7 @@ Bool_t PRunDataHandler::FileExistsCheck(PMsrRunBlock &runInfo, const UInt_t idx) ext = TString("root"); else if (!runInfo.GetFileFormat(idx)->CompareTo("root-ppc")) // post pile up corrected histos ext = TString("root"); - else if ((!runInfo.GetFileFormat(idx)->CompareTo("nexus-hdf4")) || (!runInfo.GetFileFormat(idx)->CompareTo("nexus-hdf5")) || (!runInfo.GetFileFormat(idx)->CompareTo("nexus-xml"))) + else if (!runInfo.GetFileFormat(idx)->CompareTo("nexus")) ext = TString("NXS"); else if (!runInfo.GetFileFormat(idx)->CompareTo("psi-bin")) ext = TString("bin");