43 DiaPrescore(
double dia_extract_window,
int nr_isotopes = 4,
int nr_charges = 4);
57 const std::vector<OpenSwath::LightTransition>& lt,
59 double& manhattan)
const;
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:66
Scoring of an spectrum given library intensities of a transition group.
Definition: DIAPrescoring.h:35
int nr_charges_
Definition: DIAPrescoring.h:38
int nr_isotopes_
Definition: DIAPrescoring.h:37
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:36
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)
void operator()(const OpenSwath::SpectrumAccessPtr &swath_ptr, OpenSwath::LightTargetedExperiment &transition_exp_used, OpenSwath::IDataFrameWriter *ivw) const
Compute manhattan and dotprod score for all spectra which can be accessed by the SpectrumAccessPtr fo...
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/DataStructures.h:270
boost::shared_ptr< ISpectrumAccess > SpectrumAccessPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:61
Definition: DataFrameWriter.h:20
Definition: TransitionExperiment.h:185