-
Notifications
You must be signed in to change notification settings - Fork 122
/
ChangePulsetime.h
42 lines (35 loc) · 1.1 KB
/
ChangePulsetime.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef MANTID_ALGORITHMS_CHANGEPULSETIME_H_
#define MANTID_ALGORITHMS_CHANGEPULSETIME_H_
#include "MantidKernel/System.h"
#include "MantidAPI/Algorithm.h"
namespace Mantid {
namespace Algorithms {
/** ChangePulsetime : TODO: DESCRIPTION
*
* @author
* @date 2011-03-31 09:31:55.674594
*/
class DLLExport ChangePulsetime : public API::Algorithm {
public:
/// Algorithm's name for identification
const std::string name() const override { return "ChangePulsetime"; };
/// Summary of algorithms purpose
const std::string summary() const override {
return "Adds a constant time value, in seconds, to the pulse time of "
"events in an EventWorkspace. ";
}
/// Algorithm's version for identification
int version() const override { return 1; };
/// Algorithm's category for identification
const std::string category() const override {
return "Events;Transforms\\Axes";
}
private:
/// Initialise the properties
void init() override;
/// Run the algorithm
void exec() override;
};
} // namespace Mantid
} // namespace Algorithms
#endif /* MANTID_ALGORITHMS_CHANGEPULSETIME_H_ */