| | |
The FragmentationConfig class derives from FragmentationPathway and adds functionality to configure the way the fragmentation occurs in the Oligomer Sequence. More...
| Header: | #include <FragmentationConfig.hpp> |
| Inherits: | MsXpS::libXpertMassCore::FragmentationPathway |
| FragmentationConfig(const MsXpS::libXpertMassCore::FragmentationPathway &fragmentation_pathway, int start_index = 0, int stop_index = 0, bool sequence_embedded = false) | |
| FragmentationConfig(MsXpS::libXpertMassCore::PolChemDefCstSPtr pol_chem_def_csp, const QString &name, const QString &formula, MsXpS::libXpertMassCore::Enums::FragEnd frag_end = Enums::FragEnd::NE, const QString &comment = QString(), bool sequence_embedded = false) | |
| FragmentationConfig(const MsXpS::libXpertMassCore::FragmentationConfig &other) | |
| virtual | ~FragmentationConfig() |
| bool | addFormula(const MsXpS::libXpertMassCore::Formula &formula) |
| bool | addFormula(const QString &formula_string) |
| const std::vector<MsXpS::libXpertMassCore::Formula> & | getFormulasCstRef() const |
| std::vector<MsXpS::libXpertMassCore::Formula> & | getFormulasRef() |
| std::size_t | getStartIndex() const |
| std::size_t | getStartIonizeLevel() const |
| std::size_t | getStopIndex() const |
| std::size_t | getStopIonizeLevel() const |
| bool | isSequenceEmbedded() const |
| void | setIonizeLevels(std::size_t start, std::size_t stop) |
| void | setSequenceEmbedded(bool value) |
| void | setStartIndex(std::size_t index) |
| void | setStartIonizeLevel(std::size_t value) |
| void | setStopIndex(std::size_t index) |
| void | setStopIonizeLevel(std::size_t value) |
| QString | toString() const |
| MsXpS::libXpertMassCore::FragmentationConfig & | operator=(const MsXpS::libXpertMassCore::FragmentationConfig &other) |
| std::vector<MsXpS::libXpertMassCore::Formula> | m_formulas |
| bool | m_sequenceEmbedded |
| std::size_t | m_startIndex |
| std::size_t | m_startIonizeLevel |
| std::size_t | m_stopIndex |
| std::size_t | m_stopIonizeLevel |
Since an Oligomer is actually defined to merely be a monomer range in a given Polymer Sequence, the configuration handles the definition of the Polymer sequence region that needs to undergo fragmentation.
Because the user might need to apply specific gas phase chemical reactions upon fragmentation of the Oligomer that are not defined per se in the FragmentationPathway, a container of formulas enables the application of any number of such chemical reactions for each fragmentation event. This is useful in any polymer chemistry definition, because most often the Oligomer undergoing fragmentation has loss of neutral ions decompositions like NH3 or H2O.
The user might need to generate fragmentation ions that are of different ionization levels. This class provides settings for this eventuality.
See also FragmentationPathway.
Constructs a fragmentation configuration with a number of parameters.
The PolChemDef member of the FragmentationPathway base class is tested. If it is nullptr, that is a fatal error.
See also FragmentationPathway.
Constructs a fragmentation configuration with a number of parameters.
See also FragmentationPathway.
Constructs a fragmentation configuration as a copy of other.
The PolChemDef member of the FragmentationPathway base class is tested. If it is nullptr, that is a fatal error.
See also FragmentationPathway.
[virtual noexcept] FragmentationConfig::~FragmentationConfig()Constructs this fragmentation configuration.
Adds a formula to the container of Formula instances.
Returns true if the formula validated successfully, false otherwise.
Adds a Formula to the container of Formula instances using formula_string.
Returns a const reference to the container of Formula instances.
Returns a reference to the container of Formula instances.
Returns the Oligomer start index in the Polymer Sequence.
Returns the start value of the ionization range.
Returns the Oligomer stop index in the Polymer Sequence.
Returns the stop value of the ionization range.
Returns if the product ion Oligomer's sequence needs to be stored.
Sets the start and stop values of the ionization range.
Sets if the product ion Oligomer's sequence needs to be stored to value.
See also isSequenceEmbedded().
Sets the Oligomer start index in the Polymer Sequence.
Sets the start value of the ionization range.
Sets the Oligomer stop index in the Polymer Sequence.
Sets the stop value of the ionization range.
Returns a string describing this FragmentationConfig instance.
Assigns other to this FragmentationConfig instance.
Container for Formula instances that describe additional decomposition reactions like those often observed in protein gas phase chemistry (loss of ammonia and/or of water).
Specifies if the sequence of the fragments needs to be stored or not in the Oligomer fragments.
This variable holds the index that delimits the start position (index) of the Polymer Sequence that defines the Oligomer undergoing fragmentation.
This variable holds the first value of the ionization level range.
This variable holds the index that delimits the stop position (index) of the Polymer Sequence that defines the Oligomer undergoing fragmentation.
This variable holds the last value of the ionization level range.