95{
96
97 double isotope_minimum_ratio = quantification_method.get()->getIsotopeMinimumRatio();
98
99
100 auto label_map = the_peptide.getPeptideLabelMap();
101
102 if(isotope_minimum_ratio > 0)
103 {
104
105 if(label_map.size() > 0)
106 {
107
108
109 for(auto &peptide_label_pair : label_map)
110 {
111
112 qDebug();
114 peptide_label_pair.second.get(),
115 quantification_method,
116 charge,
117 isotope_minimum_ratio,
118 best_xic_coord,
119 best_rt);
120 }
121 }
122 else
123 {
124
126 nullptr,
127 quantification_method,
128 charge,
129 isotope_minimum_ratio,
130 best_xic_coord,
131 best_rt);
132 }
133 }
134 else
135 {
136
137 if(label_map.size() > 0)
138 {
139
140 for(auto &peptide_label_pair : label_map)
141 {
142
143 qDebug();
144 double mz = peptide_label_pair.second->getPappsoPeptideSp().get()->getMz(charge);
146 xic_coord.get()->rtTarget = best_rt;
147 xic_coord.get()->mzRange = quantification_method.get()->getXicExtractionMzRange(mz);
148
149
151 xic_coord,
153 peptide_label_pair.second.get(),
154 nullptr,
155 nullptr});
156 }
157 }
158 else
159 {
160
161 double mz = the_peptide.getPappsoPeptideSp().get()->getMz(charge);
163 xic_coord.get()->rtTarget = best_rt;
164 xic_coord.get()->mzRange = quantification_method.get()->getXicExtractionMzRange(mz);
165
166
169 }
170 }
171}
virtual void generateMeasurementsForIsotopeList(PeptideBase &peptide_base, const PeptideLabel *label_p, const QuantificationMethodSp &quantification_method, std::uint8_t charge, double isotope_minimum_ratio, const pappso::XicCoordSPtr &best_xic_coord, double best_rt) final