108 class CompareCmpByEF_;
121 const double& adduct_mass,
122 const String& adduct_formula,
125 const Size parent_index);
Representation of a peptide/protein sequence.
Definition: AASequence.h:112
std::vector< Adduct > AdductsType
Definition: Adduct.h:48
A container for consensus elements.
Definition: ConsensusMap.h:88
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:93
A container for features.
Definition: FeatureMap.h:105
An LC-MS feature.
Definition: Feature.h:72
Simulates Protein ionization.
Definition: IonizationSimulation.h:66
IonizationType ionization_type_
ESI or MALDI ionization.
Definition: IonizationSimulation.h:144
Size max_adduct_charge_
Maximal charge that any impure adduct from parameter list has.
Definition: IonizationSimulation.h:170
void setFeatureProperties_(Feature &f, const double &adduct_mass, const String &adduct_formula, const SimTypes::SimChargeType charge, const SimTypes::SimIntensityType new_intensity, const Size parent_index)
set meta values, mz etc after adducts are ready
double esi_probability_
Probability for the binomial distribution of ESI charge states.
Definition: IonizationSimulation.h:154
void setDefaultParams_()
set defaults
std::vector< double > esi_impurity_probabilities_
Discrete distribution of impure charge adducts like Na+, K+, Ca++ etc besides the usual H+.
Definition: IonizationSimulation.h:159
~IonizationSimulation() override
Destructor.
void ionize(SimTypes::FeatureMapSim &features, ConsensusMap &charge_consensus, SimTypes::MSSimExperiment &experiment)
Ionize all peptide features inside the Feature-Map.
void ionizeEsi_(SimTypes::FeatureMapSim &, ConsensusMap &charge_consensus)
ionize using ESI
IonizationType
possible ionization methods
Definition: IonizationSimulation.h:71
@ MALDI
Definition: IonizationSimulation.h:72
UInt countIonizedResidues_(const AASequence &) const
counts all basic residues inside the amino acid sequence to give an upper bound on the maximal charge...
IonizationSimulation & operator=(const IonizationSimulation &source)
Assignment operator.
SimTypes::SimCoordinateType maximal_mz_measurement_limit_
Maximum m/z detected by mass analyser.
Definition: IonizationSimulation.h:178
IonizationSimulation(const IonizationSimulation &source)
Copy constructor.
Adduct::AdductsType esi_adducts_
Corresponding table to esi_impurity_probabilities_ holding the actual element and its charge.
Definition: IonizationSimulation.h:165
bool isFeatureValid_(const Feature &feature)
check if feature is within mz bounds of detector
std::vector< double > maldi_probabilities_
Preprocessed table of discrete distribution (MALDI charges)
Definition: IonizationSimulation.h:175
std::set< String > basic_residues_
Definition: IonizationSimulation.h:149
void updateMembers_() override
Synchronize members with param class.
SimTypes::MutableSimRandomNumberGeneratorPtr rnd_gen_
Random number generator.
Definition: IonizationSimulation.h:184
void ionizeMaldi_(SimTypes::FeatureMapSim &, ConsensusMap &charge_consensus)
ionize using MALDI
IonizationSimulation()
Default constructor.
SimTypes::SimCoordinateType minimal_mz_measurement_limit_
Minimum m/z detected by mass analyser.
Definition: IonizationSimulation.h:180
IonizationSimulation(SimTypes::MutableSimRandomNumberGeneratorPtr)
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:80
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:55
A more convenient string class.
Definition: String.h:61
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
boost::shared_ptr< SimRandomNumberGenerator > MutableSimRandomNumberGeneratorPtr
Definition: SimTypes.h:174
Peak2D::IntensityType SimIntensityType
Abundance of proteins/peptides.
Definition: SimTypes.h:62
Peak2D::CoordinateType SimCoordinateType
Coordinate type in mz and rt dimension.
Definition: SimTypes.h:59
Feature::ChargeType SimChargeType
Charge of a peptide.
Definition: SimTypes.h:65
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47