Struct LoadMSP

Inheritance Relationships

Base Types

Struct Documentation

struct LoadMSP : public SmartPeak::RawDataProcessor, public SmartPeak::IFilePickerHandler

Public Functions

virtual bool onFilePicked(const std::filesystem::path &filename, ApplicationHandler *application_handler) override

IFilePickerHandler

inline virtual std::string getName() const override

Get the processor struct name

inline virtual std::string getDescription() const override

Get the processor struct description

virtual std::vector<std::string> getFilenameRequirements() const override

Returns the list of file ids that has to be defined prior to be process.

virtual std::set<std::string> getOutputs() const override

Returns the list of data type produced as output.

virtual std::set<std::string> getInputs() const override

Returns the list of data type accepted as input.

virtual void doProcess(RawDataHandler &rawDataHandler_IO, const ParameterSet &params_I, Filenames &filenames_I) const override

Load spectral library from .msp file.

virtual void getFilenames(Filenames &filenames) const override

add files handled by the processor to the Filnames instance

Public Members

SpectraLibraryObservable *spectra_library_observable_ = nullptr