diff --git a/Framework/Algorithms/inc/MantidAlgorithms/CalculateCarpenterSampleCorrection.h b/Framework/Algorithms/inc/MantidAlgorithms/CalculateCarpenterSampleCorrection.h index b9d812c44651dc6a754cb52f3460a5c048eccbba..5f780459e42a74fc9a5712ca6a1185fb75a02d11 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/CalculateCarpenterSampleCorrection.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/CalculateCarpenterSampleCorrection.h @@ -20,7 +20,7 @@ namespace Algorithms { correct vanadium spectrum at IPNS. Algorithm originally worked out by Jack Carpenter and Asfia Huq and implmented in Java by Alok Chatterjee. Translated to C++ by Dennis Mikkelson. - + Copyright © 2018 ISIS Rutherford Appleton Laboratory, NScD Oak Ridge National Laboratory & European Spallation Source @@ -52,9 +52,9 @@ public: /// Algorithm's version for identification overriding a virtual method int version() const override; const std::vector<std::string> seeAlso() const override { - return {"CarpenterSampleCorrection", "CylinderAbsorption", - "MonteCarloAbsorption", "MayersSampleCorrection", - "PearlMCAbsorption", "VesuvioCalculateMS"}; + return { "CarpenterSampleCorrection", "CylinderAbsorption", + "MonteCarloAbsorption", "MayersSampleCorrection", + "PearlMCAbsorption", "VesuvioCalculateMS" }; } /// Algorithm's category for identification overriding a virtual method diff --git a/Framework/Algorithms/inc/MantidAlgorithms/CarpenterSampleCorrection.h b/Framework/Algorithms/inc/MantidAlgorithms/CarpenterSampleCorrection.h index 0969365dd33565b53f5b41955bd8aaf6d5722e69..e1c48780a47044764f5938c79ba2c9735ecd60d2 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/CarpenterSampleCorrection.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/CarpenterSampleCorrection.h @@ -42,7 +42,8 @@ namespace Algorithms { <https://github.com/mantidproject/mantid> Code Documentation is available at: <http://doxygen.mantidproject.org> */ -class DLLExport CarpenterSampleCorrection : public API::DistributedDataProcessorAlgorithm { +class DLLExport CarpenterSampleCorrection + : public API::DistributedDataProcessorAlgorithm { public: /// Algorithm's name for identification overriding a virtual method const std::string name() const override; @@ -50,9 +51,9 @@ public: /// Algorithm's version for identification overriding a virtual method int version() const override; const std::vector<std::string> seeAlso() const override { - return {"CalculateCarpenterSampleCorrection", "CylinderAbsorption", - "MonteCarloAbsorption", "MayersSampleCorrection", - "PearlMCAbsorption", "VesuvioCalculateMS"}; + return { "CalculateCarpenterSampleCorrection", "CylinderAbsorption", + "MonteCarloAbsorption", "MayersSampleCorrection", + "PearlMCAbsorption", "VesuvioCalculateMS" }; } /// Algorithm's category for identification overriding a virtual method diff --git a/Framework/Algorithms/src/CarpenterSampleCorrection.cpp b/Framework/Algorithms/src/CarpenterSampleCorrection.cpp index cc7c3297dff87ad5d053fde2212d5d7e6a7360b0..a2b34cf0f0aaebc446318c5a9d6229b21cc76bef 100644 --- a/Framework/Algorithms/src/CarpenterSampleCorrection.cpp +++ b/Framework/Algorithms/src/CarpenterSampleCorrection.cpp @@ -52,7 +52,8 @@ void CarpenterSampleCorrection::init() { wsValidator->add<WorkspaceUnitValidator>("Wavelength"); wsValidator->add<InstrumentValidator>(); - auto algCalcCarpenter = AlgorithmManager::Instance().createUnmanaged("CalculateCarpenterSampleCorrection"); + auto algCalcCarpenter = AlgorithmManager::Instance().createUnmanaged( + "CalculateCarpenterSampleCorrection"); algCalcCarpenter->initialize(); declareProperty(make_unique<WorkspaceProperty<API::MatrixWorkspace> >( @@ -114,9 +115,8 @@ void CarpenterSampleCorrection::exec() { WorkspaceGroup_sptr CarpenterSampleCorrection::calculateCorrection( MatrixWorkspace_sptr &inputWksp, double radius, double coeff1, double coeff2, double coeff3, bool doAbs, bool doMS) { - auto calculate = - this->createChildAlgorithm("CalculateCarpenterSampleCorrection", - 0.0, 0.25); + auto calculate = this->createChildAlgorithm( + "CalculateCarpenterSampleCorrection", 0.0, 0.25); calculate->setProperty("InputWorkspace", inputWksp); calculate->setProperty("CylinderSampleRadius", radius); calculate->setProperty("AttenuationXSection", coeff1);