20 #ifndef _IDEMULTIPLEXER_HPP 21 #define _IDEMULTIPLEXER_HPP 34 typedef boost::shared_ptr<IDemultiplexer>
ptr;
37 typedef boost::shared_ptr<const IDemultiplexer>
const_ptr;
50 const std::vector<size_t>& muxIndices,
62 virtual void GetMatrixBlockIndices(
size_t indexToDemux, std::vector<size_t> &muxIndices,
double demuxBlockExtra=0.0)
const = 0;
74 #endif // _IDEMULTIPLEXER_HPP
virtual void Initialize(msdata::SpectrumList_const_ptr slc, IPrecursorMaskCodec::const_ptr pmc)=0
Initializes the demultiplexer using the demux scheme provided by an IPrecursorMaskCodec.
boost::shared_ptr< MatrixType > MatrixPtr
boost::shared_ptr< IDemultiplexer > ptr
Shared pointer definition.
Interface for calculating demultiplexing scheme.
boost::shared_ptr< const IDemultiplexer > const_ptr
Constant shared pointer definition.
virtual ~IDemultiplexer()
boost::shared_ptr< const IPrecursorMaskCodec > const_ptr
Constant shared pointer definition.
virtual void BuildDeconvBlock(size_t index, const std::vector< size_t > &muxIndices, DemuxTypes::MatrixPtr &masks, DemuxTypes::MatrixPtr &signal)=0
Translates a spectrum into a set of matrices to be solved by NNLS.
virtual void GetMatrixBlockIndices(size_t indexToDemux, std::vector< size_t > &muxIndices, double demuxBlockExtra=0.0) const =0
Figures out which spectra to include in the system of equations to demux.
boost::shared_ptr< const msdata::SpectrumList > SpectrumList_const_ptr
virtual const std::vector< size_t > & SpectrumIndices() const =0
Returns the indices to the demultiplexed windows in the solution matrix corresponding to the windows ...