Set the element index (for element 0 or 1)
| 112 | |
| 113 | /// Set the element index (for element 0 or 1) |
| 114 | void ChargePair::setElementIndex(UInt pairID, Size e) |
| 115 | { |
| 116 | if (pairID == 0) |
| 117 | { |
| 118 | feature0_index_ = e; |
| 119 | } |
| 120 | else |
| 121 | { |
| 122 | feature1_index_ = e; |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | /// Returns the Id of the compomer that explains the mass difference |
| 127 | const Compomer& ChargePair::getCompomer() const |