44 DiaPrescore(
double dia_extract_window,
int nr_isotopes = 4,
int nr_charges = 4);
58 const std::vector<OpenSwath::LightTransition>& lt,
61 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:36
int nr_charges_
Definition: DIAPrescoring.h:39
void operator()(const OpenSwath::SpectrumAccessPtr &swath_ptr, OpenSwath::LightTargetedExperiment &transition_exp_used, const RangeMobility &range_im, OpenSwath::IDataFrameWriter *ivw) const
Compute manhattan and dotprod score for all spectra which can be accessed by the SpectrumAccessPtr fo...
int nr_isotopes_
Definition: DIAPrescoring.h:38
double dia_extract_window_
Definition: DIAPrescoring.h:37
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
void score(const SpectrumSequence &spec, const std::vector< OpenSwath::LightTransition > <, const RangeMobility &im_range, double &dotprod, double &manhattan) const
Score a spectrum given a transition group.
DiaPrescore(double dia_extract_window, int nr_isotopes=4, int nr_charges=4)
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
std::vector< OpenSwath::SpectrumPtr > SpectrumSequence
a vector of spectrum pointers that DIA scores can operate on, allows for clever integration of only t...
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:20
boost::shared_ptr< ISpectrumAccess > SpectrumAccessPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:131
Definition: RangeManager.h:463
Definition: DataFrameWriter.h:20
Definition: TransitionExperiment.h:185