38 #include <OpenMS/OPENSWATHALGO/OpenSwathAlgoConfig.h> 57 double mz_end,
double& mz,
double& intensity,
bool centroided =
false);
64 const std::vector<double>& windowsCenter,
66 std::vector<double>& integratedWindowsIntensity,
67 std::vector<double>& integratedWindowsMZ,
bool remZero =
false);
OPENSWATHALGO_DLLAPI void integrateWindows(const OpenSwath::SpectrumPtr spectrum, const std::vector< double > &windowsCenter, double width, std::vector< double > &integratedWindowsIntensity, std::vector< double > &integratedWindowsMZ, bool remZero=false)
Integrate intensities in a spectrum from start to end.
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/DataStructures.h:270
OPENSWATHALGO_DLLAPI bool integrateWindow(const OpenSwath::SpectrumPtr spectrum, double mz_start, double mz_end, double &mz, double &intensity, bool centroided=false)
Integrate intensity in a spectrum from start to end.
Definition: MRMScoring.h:50