44 #include <OpenMS/TRANSFORMATIONS/FEATUREFINDER/SUPERHIRN/SuperHirnConfig.h> 60 static bool compareMassValuesAtPPMLevel(
double massA,
double massB,
double ppmTolerance);
65 static double getMassErrorAtPPMLevel(
double mz,
double ppmTolerance);
74 double avMassPPM = (mzA + mzB) / 2000000.0;
75 double ppmDeltaTol = avMassPPM * ppmTol;
77 double deltaMass = fabs(mzA - mzB);
78 if (deltaMass > ppmDeltaTol)
90 return mz * ppmTol / 1000000.00;
static bool compareMassValuesAtPPMLevel(double massA, double massB, double ppmTolerance)
Definition: SuperHirnUtil.h:70
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
static double getMassErrorAtPPMLevel(double mz, double ppmTolerance)
Definition: SuperHirnUtil.h:88
Definition: SuperHirnUtil.h:52