run with CompNovoIonScoringBase
Definition: CompNovoIonScoringBase.h:56
~CompNovoIonScoringBase() override
destructor
IsotopeType classifyIsotopes_(const PeakSpectrum &spec, PeakSpectrum::ConstIterator it) const
CompNovoIonScoringBase(const CompNovoIonScoringBase &source)
copy constructor
void initIsotopeDistributions_()
double scoreIsotopes(const PeakSpectrum &CID_spec, PeakSpectrum::ConstIterator it, Size charge)
CompNovoIonScoringBase()
default constructor
virtual void scoreWitnessSet_(Size charge, double precursor_weight, std::map< double, IonScore > &CID_nodes, const PeakSpectrum &CID_orig_spec)=0
double scoreIsotopes_(const PeakSpectrum &spec, PeakSpectrum::ConstIterator it, std::map< double, IonScore > &CID_nodes, Size charge=1)
CompNovoIonScoringBase & operator=(const CompNovoIonScoringBase &source)
void updateMembers_() override
update members method from DefaultParamHandler to update the members
double fragment_mass_tolerance_
Definition: CompNovoIonScoringBase.h:130
void addSingleChargedIons_(std::map< double, IonScore > &ion_scores, PeakSpectrum &CID_spec)
IsotopeType
Definition: CompNovoIonScoringBase.h:61
std::map< Size, std::vector< double > > isotope_distributions_
Definition: CompNovoIonScoringBase.h:128
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
The representation of a 1D spectrum.
Definition: MSSpectrum.h:70
ContainerType::const_iterator ConstIterator
Non-mutable iterator.
Definition: MSSpectrum.h:136
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:48
Definition: CompNovoIonScoringBase.h:68
Int is_isotope_1_mono
0 means not tested, 1 mean is, -1 is tail of isotopes
Definition: CompNovoIonScoringBase.h:84
IonScore(const IonScore &rhs)
double s_witness
Definition: CompNovoIonScoringBase.h:81
double score
Definition: CompNovoIonScoringBase.h:78
double s_yion
Definition: CompNovoIonScoringBase.h:80
double s_isotope_pattern_1
isotope pattern score charge 1
Definition: CompNovoIonScoringBase.h:83
IonScore & operator=(const IonScore &rhs)
double position
Definition: CompNovoIonScoringBase.h:82
double s_isotope_pattern_2
"" charge 2
Definition: CompNovoIonScoringBase.h:85
double s_bion
Definition: CompNovoIonScoringBase.h:79