17#ifndef MS_MS1QUANT_CHARGE_STATE_HPP
18#define MS_MS1QUANT_CHARGE_STATE_HPP
21namespace matrix_science
29 class ms_ms1quant_charge_state_body;
46 ms_ms1quant_charge_state_body * body();
47 const ms_ms1quant_charge_state_body * body()
const;
51 const double correctSppWidthMax,
52 const double correctSppWidth,
53 const double bucketWidth,
54 const double maxAlignment,
55 const double matchedRho,
56 const double matchedFraction,
57 const double totalIntensity,
58 const std::map<
int, std::map<int, double>> & bucketAreas,
59 const std::vector<double> & calcMzVar,
60 const std::vector<int> & idx2Comp
66 double getCorrectedMinSPPwidth()
const;
69 double getCorrectedMaxSPPwidth()
const;
72 double getCorrectedSPPwidth()
const;
75 double getBucketWidth()
const;
78 double getMaxAlignment()
const;
81 double getMatchedRho()
const;
84 double getMatchedFraction()
const;
87 double getTotalIntensity()
const;
90 int getNumberOfBuckets(
const int file_index = ms_quant_file_index::file_index_value_not_set)
const;
93 bool getBucket(
int index,
unsigned & scanId,
double & area)
const;
96 bool getBucket(
const int file_index,
int index,
unsigned & scanId,
double & area)
const;
98 bool getBucket(
int index,
unsigned & OUTPUT,
double & OUTPUT)
const;
99 bool getBucket(
const int file_index,
int index,
unsigned & OUTPUT,
double & OUTPUT)
const;
104 void setCorrectedMinSPPwidth(
double width);
107 void setCorrectedMaxSPPwidth(
double width);
110 void setCorrectedSPPwidth(
double width) ;
113 void setBucketWidth(
double width);
116 void setMaxAlignment(
double alignemnt);
119 void setMatchedRho(
double rho);
122 void setMatchedFraction(
double fraction);
125 void setTotalIntensity(
double intensity);
128 std::vector<double> & getCalcMz();
131 const std::vector<double> & getCalcMz()
const;
134 std::vector<int> & getIdx2Comp();
137 int getIdx2Comp(std::size_t index)
const;
140 std::map<int, double> & getBucketAreas(
const int file_index = ms_quant_file_index::file_index_value_not_set);
A result from a charge state calculation.
Definition: ms_ms1quant_charge_state.hpp:37