Struct SampleGroupProcessor

Inheritance Relationships

Base Types

Derived Types

Struct Documentation

struct SampleGroupProcessor : public SmartPeak::IProcessorDescription, public SmartPeak::IFilenamesHandler

Subclassed by SmartPeak::LoadFeaturesSampleGroup, SmartPeak::MergeInjections, SmartPeak::StoreFeaturesSampleGroup

Public Functions

SampleGroupProcessor(const SampleGroupProcessor &other) = delete
SampleGroupProcessor &operator=(const SampleGroupProcessor &other) = delete
virtual ~SampleGroupProcessor() = default
inline virtual void getFilenames(Filenames &filenames) const override

add files handled by the processor to the Filnames instance

virtual void process(SampleGroupHandler &sampleGroupHandler_IO, const SequenceHandler &sequenceHandler_I, const ParameterSet &params_I, Filenames &filenames_I) const

Interface to all sample group processing methods.

Parameters
  • sampleGroupHandler_IO[inout] Sequence segment handler

  • sequenceHandler_I[in] Sequence handler

  • params_I[in] Dictionary of parameter names, values, descriptions, and tags

  • filenames[in] Info about where data should be read from or written to

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

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

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

Returns the list of data type accepted as input.

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

Returns the list of data type produced as output.

Protected Functions

virtual void doProcess(SampleGroupHandler &sampleGroupHandler_IO, const SequenceHandler &sequenceHandler_I, const ParameterSet &params_I, Filenames &filenames_I) const = 0
SampleGroupProcessor() = default