41 throw pappso::PappsoException(
"msp_peptide.get() == nullptr");
91 for(std::uint8_t charge : charge_states)
98 *msrun_group_p, targeted_msrun, charge);
106 if(best_xic_coord.get() ==
nullptr)
114 *the_peptide_p, quantification_method, best_xic_coord, charge, consensus_rt);
127 std::vector<std::uint8_t> all_charge_states =
msp_peptide.get()->getAllObservedChargeStateList();
133 double rt_target = measure_one.msp_xicCoord.get()->rtTarget;
136 *(measure_one.msp_xicCoord.get()->xicSptr.get()), peak_list,
false);
146 if(it_best_matched_peak != peak_list.end())
148 measure_one.m_tracePeakSp = it_best_matched_peak->makeTracePeakCstSPtr();
150 if(it_best_matched_peak->containsRt(rt_target))
158 it_best_matched_peak =
161 if(it_best_matched_peak != peak_list.end())
163 measure_one.m_tracePeakSp = it_best_matched_peak->makeTracePeakCstSPtr();
MS run identity MsRunId identifies an MS run with a unique ID (XmlId) and contains eventually informa...
double translateAligned2OriginalRetentionTime(double aligned_retention_time) const
virtual void detectQuantifyPeaks(const QuantificationMethodSp &quantification_method) override
MbrPeptideMeasurements(const PeptideSp &peptide_sp)
const PeptideSp & getPeptideSp() const
double m_consensusMs2RetentionTime
void prepareMeasurements(const pappso::MsRunId &targeted_msrun, const MsRunGroup *msrun_group_p, const pappso::MsRunRetentionTime< QString > &msrun_retention_time, const QuantificationMethodSp &quantification_method)
virtual ~MbrPeptideMeasurements()
const std::shared_ptr< pappso::IonMobilityGrid > & getIonMobilityGridSp() const
std::vector< Measurement > m_measurementList
PeptideMeasurementsBase()
virtual void prepareMeasurementsForPeptide(Peptide &the_peptide, const QuantificationMethodSp &quantification_method, const pappso::XicCoordSPtr &best_xic_coord, std::uint8_t charge, double best_rt) final
const std::vector< std::uint8_t > & getAllObservedChargeStateList() const
double getConsensusMs2RetentionTime() const
get consensus retention time based on MS2 fragmenation and identification events
pappso::XicCoordSPtr getBestXicCoordSPtrForChargeInMsRunGroup(const MsRunGroup *msrun_group_p, std::uint8_t charge) const
get the XIC coordinates of the higher observed intensity for this peptide and charge in other MS run ...
double getConsensusPeakRetentionTime() const
get consensus retention time based on XIC peak measurements
pappso::XicCoordSPtr getBestIonMobilityXicCoordToExtractOverallMsRunGroup(const MsRunGroup &msrun_group, const pappso::MsRunId &targeted_msrun, std::uint8_t charge) const
get ion mobility coordinates corrected against other MSruns in the group
const pappso::TraceDetectionInterfaceCstSPtr & getTraceDetectionInterfaceCstSPtr() const
std::shared_ptr< QuantificationMethod > QuantificationMethodSp
@ missed
no peak found at all
std::shared_ptr< Peptide > PeptideSp
PMSPP_LIB_DECL std::vector< TracePeak >::iterator findTracePeakGivenRt(std::vector< TracePeak >::iterator begin, std::vector< TracePeak >::iterator end, double rt)
find the peak matching a retention time
std::shared_ptr< XicCoord > XicCoordSPtr