43 : mzRange(other.mzRange), rtTarget(other.rtTarget)
55 XicCoordSPtr xic_coord_sp = std::make_shared<XicCoord>(*
this);
57 xic_coord_sp.get()->xicSptr = std::make_shared<Xic>();
66 XicCoordSPtr xic_coord_sp = std::make_shared<XicCoord>(*
this);
70 xic_coord_sp.get()->rtTarget += to_add.get()->rtTarget;
72 xic_coord_sp.get()->mzRange += to_add.get()->mzRange;
80 XicCoordSPtr xic_coord_sp = std::make_shared<XicCoord>(*
this);
84 xic_coord_sp.get()->rtTarget *= number;
85 xic_coord_sp.get()->mzRange *= number;
93 XicCoordSPtr xic_coord_sp = std::make_shared<XicCoord>(*
this);
97 xic_coord_sp.get()->rtTarget /= number;
98 xic_coord_sp.get()->mzRange *= (double)((
double)1 / number);
117 return QString(
"mz=%1 rt=%2").arg(mzRange.toString()).arg(rtTarget);
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
double pappso_double
A type definition for doubles.
std::shared_ptr< XicCoord > XicCoordSPtr
coordinates of the XIC to extract and the resulting XIC after extraction
XicSPtr xicSptr
extracted xic
virtual XicCoordSPtr initializeAndClone() const
intialize the XIC and make a deep copy of object
virtual XicCoordSPtr multiplyBy(double number) const
compute a new xic coord as a product by
virtual void reset()
reset to zero
virtual XicCoordSPtr addition(XicCoordSPtr &to_add) const
compute a new XIC coord as the sum of the given one
virtual XicCoordSPtr divideBy(double number) const
compute a new xic coord as a division by
virtual QString toString() const
get a description of the XIC coordinate in a string