diff --git a/Framework/Muon/inc/MantidMuon/AlphaCalc.h b/Framework/Muon/inc/MantidMuon/AlphaCalc.h index 04bc65b2a01ad25273a1458ef8e7dddd9e74a4af..e59734eee31acf64e2e3e354a662daf0e2380f9d 100644 --- a/Framework/Muon/inc/MantidMuon/AlphaCalc.h +++ b/Framework/Muon/inc/MantidMuon/AlphaCalc.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHM_MUONALPHACALC_H_ -#define MANTID_ALGORITHM_MUONALPHACALC_H_ +#pragma once //---------------------------------------------------------------------- // Includes @@ -59,5 +58,3 @@ private: } // namespace Algorithms } // namespace Mantid - -#endif /*MANTID_ALGORITHM_MUONALPHACALC_H_*/ diff --git a/Framework/Muon/inc/MantidMuon/ApplyDeadTimeCorr.h b/Framework/Muon/inc/MantidMuon/ApplyDeadTimeCorr.h index 4ab9430c8026e979f3e19b45ef896735a29a9aa5..6f582e4421f3a31752d1acf24d8c7ca1ccad25a2 100644 --- a/Framework/Muon/inc/MantidMuon/ApplyDeadTimeCorr.h +++ b/Framework/Muon/inc/MantidMuon/ApplyDeadTimeCorr.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHMS_APPLYDEADTIMECORR_H_ -#define MANTID_ALGORITHMS_APPLYDEADTIMECORR_H_ +#pragma once #include "MantidAPI/Algorithm.h" #include "MantidMuon/DllConfig.h" @@ -47,5 +46,3 @@ private: } // namespace Algorithms } // namespace Mantid - -#endif /* MANTID_ALGORITHMS_APPLYDEADTIMECORR_H_ */ diff --git a/Framework/Muon/inc/MantidMuon/ApplyMuonDetectorGroupPairing.h b/Framework/Muon/inc/MantidMuon/ApplyMuonDetectorGroupPairing.h index 95bb9bddd2cd57b319b93713f9513f16752ed582..723c0d8641218d704e376c0f9e68ed071a74b1c3 100644 --- a/Framework/Muon/inc/MantidMuon/ApplyMuonDetectorGroupPairing.h +++ b/Framework/Muon/inc/MantidMuon/ApplyMuonDetectorGroupPairing.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_APPLYMUONDETECTORGROUPPAIRING_H_ -#define MANTID_MUON_APPLYMUONDETECTORGROUPPAIRING_H_ +#pragma once #include "MantidAPI/Algorithm.h" #include "MantidAPI/MatrixWorkspace.h" @@ -102,5 +101,3 @@ private: } // namespace Muon } // namespace Mantid - -#endif /* MANTID_MUON_APPLYMUONDETECTORGROUPPAIRING_H_ */ diff --git a/Framework/Muon/inc/MantidMuon/ApplyMuonDetectorGrouping.h b/Framework/Muon/inc/MantidMuon/ApplyMuonDetectorGrouping.h index 9a43462b689a2853c96a48869f9d081fef5d0f0c..e437c3e07f2a6fab3ff016208c0eaf64457272ff 100644 --- a/Framework/Muon/inc/MantidMuon/ApplyMuonDetectorGrouping.h +++ b/Framework/Muon/inc/MantidMuon/ApplyMuonDetectorGrouping.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_APPLYMUONDETECTORGROUPING_H_ -#define MANTID_MUON_APPLYMUONDETECTORGROUPING_H_ +#pragma once #include "MantidAPI/Algorithm.h" #include "MantidAPI/MatrixWorkspace.h" @@ -94,5 +93,3 @@ private: } // namespace Muon } // namespace Mantid - -#endif /* MANTID_MUON_APPLYMUONDETECTORGROUPING_H_ */ diff --git a/Framework/Muon/inc/MantidMuon/AsymmetryCalc.h b/Framework/Muon/inc/MantidMuon/AsymmetryCalc.h index c90ec76d44adb89fe05556b51d3f1761ee42282e..85f5429bc4fd87fd0aae4615ad5ce63c71f50cee 100644 --- a/Framework/Muon/inc/MantidMuon/AsymmetryCalc.h +++ b/Framework/Muon/inc/MantidMuon/AsymmetryCalc.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHM_ASYMMETRYCALC_H_ -#define MANTID_ALGORITHM_ASYMMETRYCALC_H_ +#pragma once //---------------------------------------------------------------------- // Includes @@ -64,5 +63,3 @@ private: } // namespace Algorithms } // namespace Mantid - -#endif /*MANTID_ALGORITHM_ASYMMETRYCALC_H_*/ diff --git a/Framework/Muon/inc/MantidMuon/CalMuonDeadTime.h b/Framework/Muon/inc/MantidMuon/CalMuonDeadTime.h index f1c634659bf3574627e21ee0ab01412319730b33..1399aad9577a2b1417820c45acb7426feb71668c 100644 --- a/Framework/Muon/inc/MantidMuon/CalMuonDeadTime.h +++ b/Framework/Muon/inc/MantidMuon/CalMuonDeadTime.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHM_CALMUONDEADTIME_H_ -#define MANTID_ALGORITHM_CALMUONDEADTIME_H_ +#pragma once //---------------------------------------------------------------------- // Includes @@ -45,5 +44,3 @@ private: } // namespace Algorithms } // namespace Mantid - -#endif /*MANTID_ALGORITHM_CALMUONDEADTIME_H_*/ diff --git a/Framework/Muon/inc/MantidMuon/CalMuonDetectorPhases.h b/Framework/Muon/inc/MantidMuon/CalMuonDetectorPhases.h index 0947d0e1dd393d1a769ea935913ff32a35445220..0c855ba9b7d7fd9fd17901614619030947813972 100644 --- a/Framework/Muon/inc/MantidMuon/CalMuonDetectorPhases.h +++ b/Framework/Muon/inc/MantidMuon/CalMuonDetectorPhases.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHMS_CALMUONDETECTORPHASES_H_ -#define MANTID_ALGORITHMS_CALMUONDETECTORPHASES_H_ +#pragma once #include "MantidAPI/Algorithm.h" #include "MantidAPI/ITableWorkspace_fwd.h" @@ -96,5 +95,3 @@ private: }; } // namespace Algorithms } // namespace Mantid - -#endif /* MANTID_ALGORITHMS_CALMUONDETECTORPHASES_H_ */ diff --git a/Framework/Muon/inc/MantidMuon/CalculateMuonAsymmetry.h b/Framework/Muon/inc/MantidMuon/CalculateMuonAsymmetry.h index 7c38c7858170816b2cc55cc936aecfa0361aaa90..831c8cf138d41ec59ffa67e3cbe8fc370fec7b9f 100644 --- a/Framework/Muon/inc/MantidMuon/CalculateMuonAsymmetry.h +++ b/Framework/Muon/inc/MantidMuon/CalculateMuonAsymmetry.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHM_CALCULATEMUONASYMMETRY_H_ -#define MANTID_ALGORITHM_CALCULATEMUONASYMMETRY_H_ +#pragma once //---------------------------------------------------------------------- // Includes @@ -82,5 +81,3 @@ private: } // namespace Algorithms } // namespace Mantid - -#endif /*MANTID_ALGORITHM_CALCULATEMUONASYMMETRY_H_*/ diff --git a/Framework/Muon/inc/MantidMuon/ConvertFitFunctionForMuonTFAsymmetry.h b/Framework/Muon/inc/MantidMuon/ConvertFitFunctionForMuonTFAsymmetry.h index c5f1c85e79ae8f57e43c18073c139e3d1ebd04c3..78c871cf6e0d4875352e75b54b26b798d332b53b 100644 --- a/Framework/Muon/inc/MantidMuon/ConvertFitFunctionForMuonTFAsymmetry.h +++ b/Framework/Muon/inc/MantidMuon/ConvertFitFunctionForMuonTFAsymmetry.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHM_CONVERTFITFUNCTIONFORMUONTFASYMMETRY_H_ -#define MANTID_ALGORITHM_CONVERTFITFUNCTIONFORMUONTFASYMMETRY_H_ +#pragma once //---------------------------------------------------------------------- // Includes @@ -75,5 +74,3 @@ private: } // namespace Muon } // namespace Mantid - -#endif /*MANTID_CONVERTFITFUNCTIONFORMUONTFASYMMETRYS_H_*/ diff --git a/Framework/Muon/inc/MantidMuon/EstimateMuonAsymmetryFromCounts.h b/Framework/Muon/inc/MantidMuon/EstimateMuonAsymmetryFromCounts.h index d1847fadc10a281240c40f3ba977d608b3f14088..bc905f7e7f2bc0e24884ea15785654d2ba6275fa 100644 --- a/Framework/Muon/inc/MantidMuon/EstimateMuonAsymmetryFromCounts.h +++ b/Framework/Muon/inc/MantidMuon/EstimateMuonAsymmetryFromCounts.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHM_ESTIMATEMUONASYMMETRYFROMCOUNTS_H_ -#define MANTID_ALGORITHM_ESTIMATEMUONASYMMETRYFROMCOUNTS_H_ +#pragma once //---------------------------------------------------------------------- // Includes @@ -64,5 +63,3 @@ private: } // namespace Algorithms } // namespace Mantid - -#endif /*MANTID_ESTIMATEMUONASYMMETRYFROMCOUNTS_H_*/ diff --git a/Framework/Muon/inc/MantidMuon/LoadAndApplyMuonDetectorGrouping.h b/Framework/Muon/inc/MantidMuon/LoadAndApplyMuonDetectorGrouping.h index e2ae9458779d33637b574347cfc036adfa230d27..9600944d922855db2547bdaa293eebd8a5ad9b41 100644 --- a/Framework/Muon/inc/MantidMuon/LoadAndApplyMuonDetectorGrouping.h +++ b/Framework/Muon/inc/MantidMuon/LoadAndApplyMuonDetectorGrouping.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_LOADANDAPPLYMUONDETECTORGROUPING_H_ -#define MANTID_MUON_LOADANDAPPLYMUONDETECTORGROUPING_H_ +#pragma once #include "MantidAPI/Algorithm.h" #include "MantidAPI/MatrixWorkspace.h" @@ -96,5 +95,3 @@ private: } // namespace Muon } // namespace Mantid - -#endif diff --git a/Framework/Muon/inc/MantidMuon/MuonAlgorithmHelper.h b/Framework/Muon/inc/MantidMuon/MuonAlgorithmHelper.h index ac75cbdc285509c01ae9257749e1a82034a61160..164cd90c80d27d33a1abf141f08de0cb776e1708 100644 --- a/Framework/Muon/inc/MantidMuon/MuonAlgorithmHelper.h +++ b/Framework/Muon/inc/MantidMuon/MuonAlgorithmHelper.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_MUONALGORITHMHELPER_H_ -#define MANTID_MUON_MUONALGORITHMHELPER_H_ +#pragma once #include "MantidAPI/GroupingLoader.h" #include "MantidAPI/MatrixWorkspace.h" @@ -156,5 +155,3 @@ MANTID_MUON_DLL bool isAlphanumericOrUnderscore(char character); } // namespace MuonAlgorithmHelper } // namespace Mantid - -#endif /* MANTIDQT_CUSTOMINTERFACES_MUONALGORITHMHELPER_H_ */ diff --git a/Framework/Muon/inc/MantidMuon/MuonAsymmetryHelper.h b/Framework/Muon/inc/MantidMuon/MuonAsymmetryHelper.h index 1354e2f3de355093e7429c41142c68835baa2a43..46e8823b2eca955b1ee07f39e39019f3e908fd60 100644 --- a/Framework/Muon/inc/MantidMuon/MuonAsymmetryHelper.h +++ b/Framework/Muon/inc/MantidMuon/MuonAsymmetryHelper.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHM_MUONASYMMETRYHELPER_H_ -#define MANTID_ALGORITHM_MUONASYMMETRYHELPER_H_ +#pragma once //---------------------------------------------------------------------- // Includes @@ -44,5 +43,3 @@ void updateNormalizationTable(Mantid::API::ITableWorkspace_sptr &table, const std::vector<std::string> &methods); } // namespace Mantid - -#endif /*MANTID_MUONASYMMETRYHELPER_H_*/ diff --git a/Framework/Muon/inc/MantidMuon/MuonGroupDetectors.h b/Framework/Muon/inc/MantidMuon/MuonGroupDetectors.h index 96b18f11943571ee56c4cda0e8b5d752d28995bd..e3d6554c4867928a642d0c1dbde69946139ffb7d 100644 --- a/Framework/Muon/inc/MantidMuon/MuonGroupDetectors.h +++ b/Framework/Muon/inc/MantidMuon/MuonGroupDetectors.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHMS_MUONGROUPDETECTORS_H_ -#define MANTID_ALGORITHMS_MUONGROUPDETECTORS_H_ +#pragma once #include "MantidAPI/Algorithm.h" #include "MantidMuon/DllConfig.h" @@ -34,5 +33,3 @@ private: } // namespace Algorithms } // namespace Mantid - -#endif /* MANTID_ALGORITHMS_MUONGROUPDETECTORS_H_ */ diff --git a/Framework/Muon/inc/MantidMuon/MuonGroupingAsymmetry.h b/Framework/Muon/inc/MantidMuon/MuonGroupingAsymmetry.h index fb068cd058a55cd3c33ee042a850b31ddda2c547..5ba6290e0eb56f61beec837dbc27bb617f4a6f9e 100644 --- a/Framework/Muon/inc/MantidMuon/MuonGroupingAsymmetry.h +++ b/Framework/Muon/inc/MantidMuon/MuonGroupingAsymmetry.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_MUONGROUPINGASYMMETRY_H_ -#define MANTID_MUON_MUONGROUPINGASYMMETRY_H_ +#pragma once #include "MantidAPI/Algorithm.h" #include "MantidAPI/MatrixWorkspace.h" @@ -52,5 +51,3 @@ private: } // namespace Muon } // namespace Mantid - -#endif /* MANTID_MUON_MUONGROUPINGASYMMETRY_H_ */ diff --git a/Framework/Muon/inc/MantidMuon/MuonGroupingCounts.h b/Framework/Muon/inc/MantidMuon/MuonGroupingCounts.h index 64c4552a2ebe7b89fc8b97811c5a0d745088e5a9..a1c5f8f88fda48c0b057fb0a7b64d6cf5e261ea4 100644 --- a/Framework/Muon/inc/MantidMuon/MuonGroupingCounts.h +++ b/Framework/Muon/inc/MantidMuon/MuonGroupingCounts.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_MUONGROUPINGCOUNTS_H_ -#define MANTID_MUON_MUONGROUPINGCOUNTS_H_ +#pragma once #include "MantidAPI/Algorithm.h" #include "MantidMuon/DllConfig.h" @@ -48,5 +47,3 @@ private: } // namespace Muon } // namespace Mantid - -#endif /* MANTID_MUON_MUONGROUPINGCOUNTS_H_ */ diff --git a/Framework/Muon/inc/MantidMuon/MuonPairingAsymmetry.h b/Framework/Muon/inc/MantidMuon/MuonPairingAsymmetry.h index 24fc1161a3c6c0cb8e7dfbaa9028ae88facd8092..b524a9d93122d23e9981a4356e6e1a1513c59fc4 100644 --- a/Framework/Muon/inc/MantidMuon/MuonPairingAsymmetry.h +++ b/Framework/Muon/inc/MantidMuon/MuonPairingAsymmetry.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_MUONPAIRINGASYMMETRY_H_ -#define MANTID_MUON_MUONPAIRINGASYMMETRY_H_ +#pragma once #include "MantidAPI/Algorithm.h" #include "MantidAPI/MatrixWorkspace.h" @@ -73,5 +72,3 @@ private: } // namespace Muon } // namespace Mantid - -#endif /* MANTID_MUON_MUONPAIRINGASYMMETRY_H_ */ diff --git a/Framework/Muon/inc/MantidMuon/MuonPreProcess.h b/Framework/Muon/inc/MantidMuon/MuonPreProcess.h index f7a32c07c8e257dd2853d838d5d9ad3a1e8732e1..442fcb76a4775c89ffe7f595314ce1bb3995e691 100644 --- a/Framework/Muon/inc/MantidMuon/MuonPreProcess.h +++ b/Framework/Muon/inc/MantidMuon/MuonPreProcess.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_MUONPREPROCESS_H_ -#define MANTID_MUON_MUONPREPROCESS_H_ +#pragma once #include "MantidAPI/Algorithm.h" #include "MantidAPI/WorkspaceGroup.h" @@ -75,5 +74,3 @@ private: } // namespace Muon } // namespace Mantid - -#endif /* MANTID_MUON_MUONPREPROCESS_H_ */ diff --git a/Framework/Muon/inc/MantidMuon/PhaseQuadMuon.h b/Framework/Muon/inc/MantidMuon/PhaseQuadMuon.h index e8340851517727f688e406b464853b6b1115241f..62cb5e2e1accd9bf6079c636c379cd77bc42b57b 100644 --- a/Framework/Muon/inc/MantidMuon/PhaseQuadMuon.h +++ b/Framework/Muon/inc/MantidMuon/PhaseQuadMuon.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHM_PHASEQUADMUON_H_ -#define MANTID_ALGORITHM_PHASEQUADMUON_H_ +#pragma once //---------------------------------------------------------------------- // Includes @@ -55,5 +54,3 @@ private: } // namespace Algorithms } // namespace Mantid - -#endif /*MANTID_ALGORITHM_PHASEQUAD_H_*/ diff --git a/Framework/Muon/inc/MantidMuon/PlotAsymmetryByLogValue.h b/Framework/Muon/inc/MantidMuon/PlotAsymmetryByLogValue.h index 73e5fec06c03f38cced1ff66a49fdd8cc7564393..93e43093af5211c9d7df4cf92741b20380e4dad0 100644 --- a/Framework/Muon/inc/MantidMuon/PlotAsymmetryByLogValue.h +++ b/Framework/Muon/inc/MantidMuon/PlotAsymmetryByLogValue.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHM_PLOTASYMMETRYBULOGVALUE_H_ -#define MANTID_ALGORITHM_PLOTASYMMETRYBULOGVALUE_H_ +#pragma once //---------------------------------------------------------------------- // Includes @@ -161,5 +160,3 @@ private: } // namespace Algorithms } // namespace Mantid - -#endif /*MANTID_ALGORITHM_PLOTASYMMETRYBULOGVALUE_H_*/ diff --git a/Framework/Muon/inc/MantidMuon/RRFMuon.h b/Framework/Muon/inc/MantidMuon/RRFMuon.h index 4c8d1adcb625bb2872b17ee5c49da737a509f6d2..2e0139d04bceb89ffd3caa9393e396ef4ec89606 100644 --- a/Framework/Muon/inc/MantidMuon/RRFMuon.h +++ b/Framework/Muon/inc/MantidMuon/RRFMuon.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHM_RRFMUON_H_ -#define MANTID_ALGORITHM_RRFMUON_H_ +#pragma once //---------------------------------------------------------------------- // Includes @@ -49,5 +48,3 @@ private: } // namespace Algorithms } // namespace Mantid - -#endif /*MANTID_ALGORITHM_RRFMUON_H_*/ diff --git a/Framework/Muon/inc/MantidMuon/RemoveExpDecay.h b/Framework/Muon/inc/MantidMuon/RemoveExpDecay.h index 453abd5d58ff51306c6ecc6cbc9e5caa0e74ec3a..2d93d3550aa6c5b47408b50cabae91249a31a24e 100644 --- a/Framework/Muon/inc/MantidMuon/RemoveExpDecay.h +++ b/Framework/Muon/inc/MantidMuon/RemoveExpDecay.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHM_MUONREMOVEEXPDECAY_H_ -#define MANTID_ALGORITHM_MUONREMOVEEXPDECAY_H_ +#pragma once //---------------------------------------------------------------------- // Includes @@ -62,5 +61,3 @@ private: } // namespace Algorithms } // namespace Mantid - -#endif /*MANTID_ALGORITHM_MUONREMOVEEXPDECAY_H_*/ diff --git a/Framework/Muon/test/AlphaCalcTest.h b/Framework/Muon/test/AlphaCalcTest.h index fda0e48b1749d709db42c8622312d1714f3e1220..de4569c687264bc1cfbec14611b9103d2772edda 100644 --- a/Framework/Muon/test/AlphaCalcTest.h +++ b/Framework/Muon/test/AlphaCalcTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MUONALPHACALCTEST_H_ -#define MUONALPHACALCTEST_H_ +#pragma once #include <cxxtest/TestSuite.h> @@ -98,5 +97,3 @@ private: AlphaCalc alphaCalc; Mantid::DataHandling::LoadMuonNexus2 loader; }; - -#endif /*MUONALPHACALCTEST_H_*/ diff --git a/Framework/Muon/test/ApplyDeadTimeCorrTest.h b/Framework/Muon/test/ApplyDeadTimeCorrTest.h index 1858993bcefa2adaed175407183eb2fc716b7004..44a7f98ac1a43f1b9d26338db72e9c0855f5e9a6 100644 --- a/Framework/Muon/test/ApplyDeadTimeCorrTest.h +++ b/Framework/Muon/test/ApplyDeadTimeCorrTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHMS_APPLYDEADTIMECORRTEST_H_ -#define MANTID_ALGORITHMS_APPLYDEADTIMECORRTEST_H_ +#pragma once #include <cxxtest/TestSuite.h> @@ -259,5 +258,3 @@ private: /// Test dead time value double deadValue() const { return -0.00456; } }; - -#endif /* MANTID_ALGORITHMS_APPLYDEADTIMECORRTEST_H_ */ diff --git a/Framework/Muon/test/ApplyMuonDetectorGroupPairingTest.h b/Framework/Muon/test/ApplyMuonDetectorGroupPairingTest.h index f01ffe8358f5e9c336f9d1a0ef0ea7501a6beb25..9bf181337ab36b3ce9c4b6157da361950ff6a86d 100644 --- a/Framework/Muon/test/ApplyMuonDetectorGroupPairingTest.h +++ b/Framework/Muon/test/ApplyMuonDetectorGroupPairingTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_APPLYMUONDETECTORGROUPPAIRINGTEST_H_ -#define MANTID_MUON_APPLYMUONDETECTORGROUPPAIRINGTEST_H_ +#pragma once #include <cxxtest/TestSuite.h> @@ -496,5 +495,3 @@ public: TS_ASSERT_THROWS(alg.execute(), const std::runtime_error &); } }; - -#endif /* MANTID_MUON_APPLYMUONDETECTORGROUPPAIRINGTEST_H_ */ diff --git a/Framework/Muon/test/ApplyMuonDetectorGroupingTest.h b/Framework/Muon/test/ApplyMuonDetectorGroupingTest.h index 610ef398ad61f148b4563bcb6cab7c7fcc417edc..6b7acdec06cb025b857662913314dab5f6430aea 100644 --- a/Framework/Muon/test/ApplyMuonDetectorGroupingTest.h +++ b/Framework/Muon/test/ApplyMuonDetectorGroupingTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_APPLYMUONDETECTORGROUPINGTEST_H_ -#define MANTID_MUON_APPLYMUONDETECTORGROUPINGTEST_H_ +#pragma once #include <cxxtest/TestSuite.h> @@ -411,5 +410,3 @@ public: "inputGroup; Group; test; Asym; #1_unNorm_Raw")); } }; - -#endif /* MANTID_MUON_APPLYMUONDETECTORGROUPINGTEST_H_ */ diff --git a/Framework/Muon/test/AsymmetryCalcTest.h b/Framework/Muon/test/AsymmetryCalcTest.h index 187535395a6c99aaf2e5a9397384c1512505c13f..cb63bc8095c797535607a8c296f3ea90ae08bbbe 100644 --- a/Framework/Muon/test/AsymmetryCalcTest.h +++ b/Framework/Muon/test/AsymmetryCalcTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef ASYMMETRYCALCTEST_H_ -#define ASYMMETRYCALCTEST_H_ +#pragma once #include "MantidTestHelpers/WorkspaceCreationHelper.h" #include <cxxtest/TestSuite.h> @@ -195,5 +194,3 @@ private: } } }; - -#endif /*ASYMMETRYCALCTEST_H_*/ diff --git a/Framework/Muon/test/CalMuonDeadTimeTest.h b/Framework/Muon/test/CalMuonDeadTimeTest.h index edbecc2dcaf74efc63c10b6814e4c2a692e51f4b..db60858642c6d27be843ec22c5f61751d6c14dac 100644 --- a/Framework/Muon/test/CalMuonDeadTimeTest.h +++ b/Framework/Muon/test/CalMuonDeadTimeTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef CALMUONDEADTIMETEST_H_ -#define CALMUONDEADTIMETEST_H_ +#pragma once #include <cxxtest/TestSuite.h> @@ -107,5 +106,3 @@ private: return boost::dynamic_pointer_cast<MatrixWorkspace>(outputWS); } }; - -#endif /*CALMUONDEADTIMETEST_H_*/ diff --git a/Framework/Muon/test/CalMuonDetectorPhasesTest.h b/Framework/Muon/test/CalMuonDetectorPhasesTest.h index 01aed4722d6fb71e32c220552846fc4572943487..16ee54a95de82e35ab56dedbd7e38ca1d7d71e8f 100644 --- a/Framework/Muon/test/CalMuonDetectorPhasesTest.h +++ b/Framework/Muon/test/CalMuonDetectorPhasesTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef CALMUONDETECTORPHASESTEST_H_ -#define CALMUONDETECTORPHASESTEST_H_ +#pragma once #include <cxxtest/TestSuite.h> @@ -223,5 +222,3 @@ private: TS_ASSERT_DELTA(tab->Double(3, 2), 5.504, 0.001); } }; - -#endif /*CALMUONDETECTORPHASESTEST_H_*/ diff --git a/Framework/Muon/test/CalculateMuonAsymmetryTest.h b/Framework/Muon/test/CalculateMuonAsymmetryTest.h index c1e977fd42b658623ea97e003ebe2f9c0f541349..e2bac1834e01fc41f27995a2134b124ed3545251 100644 --- a/Framework/Muon/test/CalculateMuonAsymmetryTest.h +++ b/Framework/Muon/test/CalculateMuonAsymmetryTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef CALCULATEMUONASYMMETRYTEST_H_ -#define CALCULATEMUONASYMMETRYTEST_H_ +#pragma once #include "MantidAPI/AlgorithmManager.h" #include "MantidAPI/FrameworkManager.h" @@ -367,5 +366,4 @@ public: private: MatrixWorkspace_sptr input; }; -} // namespace -#endif /*CALCULATEMUONASYMMETRYF_H_*/ +} // namespace \ No newline at end of file diff --git a/Framework/Muon/test/ConvertFitFunctionForMuonTFAsymmetryTest.h b/Framework/Muon/test/ConvertFitFunctionForMuonTFAsymmetryTest.h index f9c5318e40af37cff11a074ad12055d81d31a6f0..092b3f245aeaa3b58bb95733496388cdd5433daf 100644 --- a/Framework/Muon/test/ConvertFitFunctionForMuonTFAsymmetryTest.h +++ b/Framework/Muon/test/ConvertFitFunctionForMuonTFAsymmetryTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef CONVERTFITFUNCTIONFORMUONTFASYMETRYTEST_H_ -#define CONVERTFITFUNCTIONFORMUONTFASYMETRYTEST_H_ +#pragma once #include "MantidAPI/AlgorithmManager.h" #include "MantidAPI/FrameworkManager.h" @@ -460,5 +459,4 @@ public: private: MatrixWorkspace_sptr input; -}; -#endif /*ESTIMATEMUONASYMMETRYFROMCOUNTSTEST_H_*/ +}; \ No newline at end of file diff --git a/Framework/Muon/test/EstimateMuonAsymmetryFromCountsTest.h b/Framework/Muon/test/EstimateMuonAsymmetryFromCountsTest.h index 9e6d36bfcc5745c62dbef94965c200171caed24d..21e4e3e34832e7fd7ceb5c16271798f0798de69f 100644 --- a/Framework/Muon/test/EstimateMuonAsymmetryFromCountsTest.h +++ b/Framework/Muon/test/EstimateMuonAsymmetryFromCountsTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef ESTIMATEMUONASYMMETRYFROMCOUNTSTEST_H_ -#define ESTIMATEMUONASYMMETRYFROMCOUNTSTEST_H_ +#pragma once #include "MantidAPI/AlgorithmManager.h" #include "MantidAPI/FrameworkManager.h" @@ -354,5 +353,4 @@ public: private: MatrixWorkspace_sptr input; -}; -#endif /*ESTIMATEMUONASYMMETRYFROMCOUNTSTEST_H_*/ +}; \ No newline at end of file diff --git a/Framework/Muon/test/LoadAndApplyMuonDetectorGroupingTest.h b/Framework/Muon/test/LoadAndApplyMuonDetectorGroupingTest.h index 412115eba1bc5f6284e3d2076900c226491bf8b7..c383dc07535395d9f3c46284e292c51a901b9abc 100644 --- a/Framework/Muon/test/LoadAndApplyMuonDetectorGroupingTest.h +++ b/Framework/Muon/test/LoadAndApplyMuonDetectorGroupingTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_LOADANDAPPLYMUONDETECTORGROUPINGTEST_H_ -#define MANTID_MUON_LOADANDAPPLYMUONDETECTORGROUPINGTEST_H_ +#pragma once #include <cxxtest/TestSuite.h> @@ -567,5 +566,3 @@ public: void test_group_asymmetry_range_applied_correctly() {} }; - -#endif /* MANTID_MUON_LOADANDAPPLYMUONDETECTORGROUPING_H_ */ diff --git a/Framework/Muon/test/MuonAlgorithmHelperTest.h b/Framework/Muon/test/MuonAlgorithmHelperTest.h index 7c422d6d0451fc8926ed76ca4374bc873d835a25..34de3a39087adbecafc4656db0115dc16047adff 100644 --- a/Framework/Muon/test/MuonAlgorithmHelperTest.h +++ b/Framework/Muon/test/MuonAlgorithmHelperTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_MUONALGORITHMHELPERTEST_H_ -#define MANTID_MUON_MUONALGORITHMHELPERTEST_H_ +#pragma once #include <cxxtest/TestSuite.h> @@ -521,5 +520,3 @@ public: } } }; - -#endif /* MANTID_MUON_MUONALGOIRTHMHELPER_H_ */ diff --git a/Framework/Muon/test/MuonGroupDetectorsTest.h b/Framework/Muon/test/MuonGroupDetectorsTest.h index edd52d7bf19fef151a34dc80461de754b7281755..5ba8e57f1957e3838684834f84f47f1a85daefd9 100644 --- a/Framework/Muon/test/MuonGroupDetectorsTest.h +++ b/Framework/Muon/test/MuonGroupDetectorsTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHMS_MUONGROUPDETECTORSTEST_H_ -#define MANTID_ALGORITHMS_MUONGROUPDETECTORSTEST_H_ +#pragma once #include <cxxtest/TestSuite.h> @@ -120,5 +119,3 @@ private: return t; } }; - -#endif /* MANTID_ALGORITHMS_MUONGROUPDETECTORSTEST_H_ */ diff --git a/Framework/Muon/test/MuonGroupingAsymmetryTest.h b/Framework/Muon/test/MuonGroupingAsymmetryTest.h index a836c56a2cad8b5dbc49b173af3da01b7ef973e4..1331346f05869e73b8deaae86681870a4bc95315 100644 --- a/Framework/Muon/test/MuonGroupingAsymmetryTest.h +++ b/Framework/Muon/test/MuonGroupingAsymmetryTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_MUONGROUPINGASYMMETRYTEST_H_ -#define MANTID_MUON_MUONGROUPINGASYMMETRYTEST_H_ +#pragma once #include <cxxtest/TestSuite.h> #include <string> @@ -369,5 +368,3 @@ public: TS_ASSERT_EQUALS(std::stod(norm), 15.0); } }; - -#endif /* MANTID_MUON_MUONGROUPINGASYMMETRYTEST_H_ */ diff --git a/Framework/Muon/test/MuonGroupingCountsTest.h b/Framework/Muon/test/MuonGroupingCountsTest.h index bd645bad5408af8934e2ab2121cf44f051656c12..684c2289ed29b50f9689e6def2023dc04286f3f7 100644 --- a/Framework/Muon/test/MuonGroupingCountsTest.h +++ b/Framework/Muon/test/MuonGroupingCountsTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_MUONGROUPINGCOUNTSTEST_H_ -#define MANTID_MUON_MUONGROUPINGCOUNTSTEST_H_ +#pragma once #include "MantidAPI/AlgorithmManager.h" #include "MantidAPI/FrameworkManager.h" @@ -318,5 +317,3 @@ public: TS_ASSERT_DELTA(wsOut->readE(0)[9], 0.0100, 0.0001); } }; - -#endif /* MANTID_MUON_MUONGROUPINGCOUNTSTEST_H_ */ diff --git a/Framework/Muon/test/MuonPairingAsymmetryTest.h b/Framework/Muon/test/MuonPairingAsymmetryTest.h index e058ef11d519e5905f5b5350184de1813f91f634..1f0b73f249b0ce2c6e930476196902d95a6abb2b 100644 --- a/Framework/Muon/test/MuonPairingAsymmetryTest.h +++ b/Framework/Muon/test/MuonPairingAsymmetryTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_MUONPAIRINGASYMMETRYTEST_H_ -#define MANTID_MUON_MUONPAIRINGASYMMETRYTEST_H_ +#pragma once #include "MantidAPI/AlgorithmManager.h" #include "MantidAPI/FrameworkManager.h" @@ -513,5 +512,3 @@ public: TS_ASSERT_DELTA(wsOut->readE(0)[9], 0.122684, 0.0001); } }; - -#endif /* MANTID_MUON_MUONPAIRINGASYMMETRYTEST_H_ */ diff --git a/Framework/Muon/test/MuonPreProcessTest.h b/Framework/Muon/test/MuonPreProcessTest.h index d8e7c2234b00d4f340e43601d323f8c473b970ff..5721cd643c8be2e04ac387dcc13202636db2ec63 100644 --- a/Framework/Muon/test/MuonPreProcessTest.h +++ b/Framework/Muon/test/MuonPreProcessTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_MUON_MUONPREPROCESSTEST_H_ -#define MANTID_MUON_MUONPREPROCESSTEST_H_ +#pragma once #include "MantidAPI/AlgorithmManager.h" #include "MantidAPI/FrameworkManager.h" @@ -431,5 +430,3 @@ public: TS_ASSERT_THROWS(alg->execute(), const std::runtime_error &); } }; - -#endif /* MANTID_MUON_MUONPREPROCESSTEST_H_ */ diff --git a/Framework/Muon/test/PhaseQuadMuonTest.h b/Framework/Muon/test/PhaseQuadMuonTest.h index d3983965861728f8a5871d2419acda77a1c511eb..0e32fcf1a01ce2abc711a8a6177e923a9e369563 100644 --- a/Framework/Muon/test/PhaseQuadMuonTest.h +++ b/Framework/Muon/test/PhaseQuadMuonTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHMS_PHASEQUADMUONTEST_H_ -#define MANTID_ALGORITHMS_PHASEQUADMUONTEST_H_ +#pragma once #include <math.h> @@ -347,5 +346,3 @@ private: MatrixWorkspace_sptr m_loadedData; IAlgorithm_sptr phaseQuad; }; - -#endif /* MANTID_ALGORITHMS_PHASEQUADMUONTEST_H_ */ diff --git a/Framework/Muon/test/PlotAsymmetryByLogValueTest.h b/Framework/Muon/test/PlotAsymmetryByLogValueTest.h index b7e4e48248bda17f179657def0c4a2aa15c4c215..db34089905d337de435873474420e87446a562f8 100644 --- a/Framework/Muon/test/PlotAsymmetryByLogValueTest.h +++ b/Framework/Muon/test/PlotAsymmetryByLogValueTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef PLOTASYMMETRYBYLOGVALUTEST_H_ -#define PLOTASYMMETRYBYLOGVALUTEST_H_ +#pragma once #include "MantidAPI/AnalysisDataService.h" #include "MantidAPI/ITableWorkspace.h" @@ -624,5 +623,3 @@ private: PlotAsymmetryByLogValue alg; std::string firstRun, lastRun; }; - -#endif /*PLOTASYMMETRYBYLOGVALUTEST_H_*/ diff --git a/Framework/Muon/test/RRFMuonTest.h b/Framework/Muon/test/RRFMuonTest.h index 546ff2d6f964a3088ebbc62d1fe477c2e093fc08..34df4c3957a0f49d1cabf0fc2c319b36a3b6b3d9 100644 --- a/Framework/Muon/test/RRFMuonTest.h +++ b/Framework/Muon/test/RRFMuonTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MANTID_ALGORITHMS_RRFMUON_H_ -#define MANTID_ALGORITHMS_RRFMUON_H_ +#pragma once #include "MantidAPI/AnalysisDataService.h" #include "MantidAPI/Axis.h" @@ -211,5 +210,3 @@ private: return ws; } }; - -#endif /* MANTID_ALGORITHMS_RRFMUON_H_ */ diff --git a/Framework/Muon/test/RemoveExpDecayTest.h b/Framework/Muon/test/RemoveExpDecayTest.h index 286e6caa9ad7808831d387f5067ede0cfb9e8fde..f1f36f922d92c82553b7c88495ae0055492bc7ed 100644 --- a/Framework/Muon/test/RemoveExpDecayTest.h +++ b/Framework/Muon/test/RemoveExpDecayTest.h @@ -4,8 +4,7 @@ // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + -#ifndef MUONREMOVEEXPDECAYTEST_H_ -#define MUONREMOVEEXPDECAYTEST_H_ +#pragma once #include "MantidAPI/AlgorithmManager.h" #include "MantidAPI/FrameworkManager.h" @@ -222,5 +221,3 @@ public: private: MatrixWorkspace_sptr input; }; - -#endif /*MUONREMOVEEXPDECAYTEST_H_*/