Mantid
Loading...
Searching...
No Matches
RebinByTimeAtSample.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2014 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9#include "MantidAlgorithms/DllConfig.h"
11
12namespace Mantid {
13
14namespace Algorithms {
15
19class MANTID_ALGORITHMS_DLL RebinByTimeAtSample : public RebinByTimeBase {
20public:
21 const std::string name() const override;
22 int version() const override;
23
24 const std::string category() const override;
25 const std::string summary() const override;
27 const std::vector<std::string> seeAlso() const override { return {"Rebin", "RebinByPulseTimes"}; }
28
29private:
31 Mantid::MantidVecPtr &XValues_new, Mantid::MantidVec &OutXValues_scaled,
32 Mantid::API::Progress &prog) override;
33
35 uint64_t getMaxX(Mantid::API::IEventWorkspace_sptr ws) const override;
37 uint64_t getMinX(Mantid::API::IEventWorkspace_sptr ws) const override;
38};
39
40} // namespace Algorithms
41} // namespace Mantid
Helper class for reporting progress from algorithms.
Definition: Progress.h:25
RebinByTimeAtSample : Rebins an event workspace to a histogram workspace with time at sample along th...
const std::vector< std::string > seeAlso() const override
Algorithm's seeAlso.
RebinByTimeBase : Algorithm base class for algorithms performing rebinning by an absolute time axis.
Implements a copy on write data template.
Definition: cow_ptr.h:41
std::shared_ptr< IEventWorkspace > IEventWorkspace_sptr
shared pointer to Mantid::API::IEventWorkspace
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.
std::vector< double > MantidVec
typedef for the data storage used in Mantid matrix workspaces
Definition: cow_ptr.h:172