forked from mantidproject/mantid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
Framework/Algorithms/inc/MantidAlgorithms/PolarizationCorrections/FlipperEfficiency.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Mantid Repository : https://github.com/mantidproject/mantid | ||
// | ||
// Copyright © 2024 ISIS Rutherford Appleton Laboratory UKRI, | ||
// NScD Oak Ridge National Laboratory, European Spallation Source, | ||
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS | ||
// SPDX - License - Identifier: GPL - 3.0 + | ||
#pragma once | ||
|
||
#include "MantidAPI/Algorithm.h" | ||
#include "MantidAlgorithms/DllConfig.h" | ||
|
||
namespace Mantid::Algorithms { | ||
|
||
class MANTID_ALGORITHMS_DLL FlipperEfficiency : public API::Algorithm { | ||
public: | ||
/// The string identifier for the algorithm. @see Algorithm::name | ||
std::string const name() const override { return "FlipperEfficiency"; } | ||
|
||
/// A summary of the algorithm's purpose. @see Algorithm::summary | ||
std::string const summary() const override; | ||
|
||
/// The category of the algorithm. @see Algorithm::category | ||
std::string const category() const override { return "SANS\\PolarizationCorrections"; } | ||
|
||
/// The version number of the algorithm. @see Algorithm::version | ||
int version() const override { return 1; } | ||
|
||
private: | ||
/// Setup the algorithm's properties and prepare constants. | ||
void init() override; | ||
|
||
/// Execute the algorithm with the provided properties. | ||
void exec() override; | ||
}; | ||
} // namespace Mantid::Algorithms |
28 changes: 28 additions & 0 deletions
28
Framework/Algorithms/src/PolarizationCorrections/FlipperEfficiency.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Mantid Repository : https://github.com/mantidproject/mantid | ||
// | ||
// Copyright © 2024 ISIS Rutherford Appleton Laboratory UKRI, | ||
// NScD Oak Ridge National Laboratory, European Spallation Source, | ||
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS | ||
// SPDX - License - Identifier: GPL - 3.0 + | ||
#include "MantidAlgorithms/PolarizationCorrections/FlipperEfficiency.h" | ||
|
||
namespace { | ||
/// Property Names | ||
namespace PropNames {} // namespace PropNames | ||
} // namespace | ||
|
||
namespace Mantid::Algorithms { | ||
|
||
using namespace API; | ||
using namespace Kernel; | ||
|
||
// Register the algorithm in the AlgorithmFactory | ||
DECLARE_ALGORITHM(FlipperEfficiency) | ||
|
||
std::string const FlipperEfficiency::summary() const {} | ||
|
||
void FlipperEfficiency::init() {} | ||
|
||
void FlipperEfficiency::exec() {} | ||
|
||
} // namespace Mantid::Algorithms |