39 #include <boost/bind.hpp>
40 #include <boost/lexical_cast.hpp>
74 DiaPrescore(
double dia_extract_window,
int nr_isotopes = 4,
int nr_charges = 4);
88 const std::vector<OpenSwath::LightTransition>& lt,
90 double& manhattan)
const;
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:93
Scoring of an spectrum given library intensities of a transition group.
Definition: DIAPrescoring.h:66
int nr_charges_
Definition: DIAPrescoring.h:69
void operator()(OpenSwath::SpectrumAccessPtr swath_ptr, OpenSwath::LightTargetedExperiment &transition_exp_used, OpenSwath::IDataFrameWriter *ivw)
Compute manhattan and dotprod score for all spectra which can be accessed by the SpectrumAccessPtr fo...
int nr_isotopes_
Definition: DIAPrescoring.h:68
void score(OpenSwath::SpectrumPtr spec, const std::vector< OpenSwath::LightTransition > <, double &dotprod, double &manhattan) const
Score a spectrum given a transition group.
double dia_extract_window_
Definition: DIAPrescoring.h:67
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
DiaPrescore(double dia_extract_window, int nr_isotopes=4, int nr_charges=4)
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/DataStructures.h:291
boost::shared_ptr< ISpectrumAccess > SpectrumAccessPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:87
Definition: DataFrameWriter.h:46
Definition: TransitionExperiment.h:207