run with CompNovoIonScoringBase
Definition: CompNovoIonScoringBase.h:55
~CompNovoIonScoringBase() override
destructor
double scoreIsotopes_(const PeakSpectrum &spec, PeakSpectrum::ConstIterator it, Map< double, IonScore > &CID_nodes, Size charge=1)
void addSingleChargedIons_(Map< double, IonScore > &ion_scores, PeakSpectrum &CID_spec)
CompNovoIonScoringBase(const CompNovoIonScoringBase &source)
copy constructor
void initIsotopeDistributions_()
double scoreIsotopes(const PeakSpectrum &CID_spec, PeakSpectrum::ConstIterator it, Size charge)
CompNovoIonScoringBase()
default constructor
CompNovoIonScoringBase & operator=(const CompNovoIonScoringBase &source)
void updateMembers_() override
update members method from DefaultParamHandler to update the members
double fragment_mass_tolerance_
Definition: CompNovoIonScoringBase.h:129
Map< Size, std::vector< double > > isotope_distributions_
Definition: CompNovoIonScoringBase.h:127
IsotopeType classifyIsotopes_(const PeakSpectrum &spec, PeakSpectrum::ConstIterator it)
IsotopeType
Definition: CompNovoIonScoringBase.h:60
virtual void scoreWitnessSet_(Size charge, double precursor_weight, Map< double, IonScore > &CID_nodes, const PeakSpectrum &CID_orig_spec)=0
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:93
The representation of a 1D spectrum.
Definition: MSSpectrum.h:71
ContainerType::const_iterator ConstIterator
Non-mutable iterator.
Definition: MSSpectrum.h:128
Map class based on the STL map (containing several convenience functions)
Definition: Map.h:52
int Int
Signed integer type.
Definition: Types.h:102
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Definition: CompNovoIonScoringBase.h:67
Int is_isotope_1_mono
0 means not tested, 1 mean is, -1 is tail of isotopes
Definition: CompNovoIonScoringBase.h:83
IonScore(const IonScore &rhs)
double s_witness
Definition: CompNovoIonScoringBase.h:80
double score
Definition: CompNovoIonScoringBase.h:77
double s_yion
Definition: CompNovoIonScoringBase.h:79
double s_isotope_pattern_1
isotope pattern score charge 1
Definition: CompNovoIonScoringBase.h:82
IonScore & operator=(const IonScore &rhs)
double position
Definition: CompNovoIonScoringBase.h:81
double s_isotope_pattern_2
"" charge 2
Definition: CompNovoIonScoringBase.h:84
double s_bion
Definition: CompNovoIonScoringBase.h:78