From 88b4e7600d5c1e0e5e5d2f8aa3b56be278e63917 Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Thu, 18 Feb 2021 11:55:34 +0100 Subject: [PATCH 1/3] fixed wrong casting originating from a copy/paste error. --- src/musrRootValidation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/musrRootValidation.cpp b/src/musrRootValidation.cpp index 24a1151d..cdd169fb 100644 --- a/src/musrRootValidation.cpp +++ b/src/musrRootValidation.cpp @@ -8,7 +8,7 @@ ***************************************************************************/ /*************************************************************************** - * Copyright (C) 2007-2020 by Andreas Suter * + * Copyright (C) 2007-2021 by Andreas Suter * * andreas.suter@psi.ch * * * * This program is free software; you can redistribute it and/or modify * @@ -429,7 +429,7 @@ void PMusrRoot2Xml::CheckClass(TObject *obj, TString str, UInt_t offset) offset += 2; str = offsetStr + "<" + entryTag + ">"; fXmlData.push_back(str.Data()); - DumpEntry(dynamic_cast(obj), offset); + DumpEntry(dynamic_cast(obj), offset); str = offsetStr + ""; fXmlData.push_back(str.Data()); } From 27607a2fa1e361236b2eba0ca12151f6b3ff2545 Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Thu, 18 Feb 2021 11:56:39 +0100 Subject: [PATCH 2/3] fix of a typo. --- src/external/MusrRoot/MusrRoot.xsd | 4 ++-- src/external/MusrRoot/MusrRootLEM.xsd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/external/MusrRoot/MusrRoot.xsd b/src/external/MusrRoot/MusrRoot.xsd index 81eaab0f..08e5b558 100644 --- a/src/external/MusrRoot/MusrRoot.xsd +++ b/src/external/MusrRoot/MusrRoot.xsd @@ -100,8 +100,8 @@ - - + + diff --git a/src/external/MusrRoot/MusrRootLEM.xsd b/src/external/MusrRoot/MusrRootLEM.xsd index 26f66a95..c53e510f 100644 --- a/src/external/MusrRoot/MusrRootLEM.xsd +++ b/src/external/MusrRoot/MusrRootLEM.xsd @@ -101,8 +101,8 @@ - - + + From 1372a8b78234c95db35b22b56c3e2f5bb6a6abe1 Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Thu, 18 Feb 2021 14:59:35 +0100 Subject: [PATCH 3/3] xml schema more flexible about the order of 'histos' and 'RunHeader' --- src/external/MusrRoot/MusrRoot.xsd | 6 ++++-- src/external/MusrRoot/MusrRootLEM.xsd | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/external/MusrRoot/MusrRoot.xsd b/src/external/MusrRoot/MusrRoot.xsd index 08e5b558..87e89b7f 100644 --- a/src/external/MusrRoot/MusrRoot.xsd +++ b/src/external/MusrRoot/MusrRoot.xsd @@ -15,8 +15,10 @@ - - + + + + diff --git a/src/external/MusrRoot/MusrRootLEM.xsd b/src/external/MusrRoot/MusrRootLEM.xsd index c53e510f..96f3119a 100644 --- a/src/external/MusrRoot/MusrRootLEM.xsd +++ b/src/external/MusrRoot/MusrRootLEM.xsd @@ -14,8 +14,10 @@ - - + + + +