Mantid
Loading...
Searching...
No Matches
SinglePeriodLoadMuonStrategy.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2020 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
11
12namespace Mantid {
13namespace DataHandling {
15public:
16 // Constructor
17 SinglePeriodLoadMuonStrategy(Kernel::Logger &g_log, const std::string &filename,
19 int entryNumber, bool isFileMultiPeriod);
20 // Loads the muon log data
21 void loadMuonLogData() override;
22 // Returns the good frames from the nexus entry
23 void loadGoodFrames() override;
24 // Apply the time zero correction to the workspace time axis
25 void applyTimeZeroCorrection() override;
26 // Load detector grouping
28 // Load dead time table
30 // Get time zero table
32
33private:
37 std::vector<detid_t> m_detectors;
38 std::vector<detid_t> getLoadedDetectors();
39};
40} // namespace DataHandling
41} // namespace Mantid
IPeaksWorkspace_sptr workspace
Definition: IndexPeaks.cpp:114
void loadGoodFrames() override
Loads the good frames data into the stored workspace object.
API::Workspace_sptr loadDeadTimeTable() const override
Loads deadtime table from nexus file.
API::Workspace_sptr loadDetectorGrouping() const override
Loads detector grouping.
void loadMuonLogData() override
Loads Muon specific logs into the stored workspace These are logs which are not loaded by LoadISISNex...
std::vector< detid_t > getLoadedDetectors()
Finds the detectors which are loaded in the stored workspace.
void applyTimeZeroCorrection() override
Performs time-zero correction on the loaded workspace.
API::Workspace_sptr getTimeZeroTable() override
Gets time zero table from loaded time zeros.
Concrete workspace implementation.
Definition: Workspace2D.h:29
The Logger class is in charge of the publishing messages from the framework through various channels.
Definition: Logger.h:52
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
Definition: Workspace_fwd.h:20
Kernel::Logger g_log("ExperimentInfo")
static logger object
Helper class which provides the Collimation Length for SANS instruments.