EvalResolution: Evaluates the fitted resolution function for given mass...

View source: R/RcppExports.R

EvalResolutionR Documentation

Evaluates the fitted resolution function for given mass values.

Description

EvalResolution evaluates the fitted resolution function for given mass values.

Usage

EvalResolution(R0, m0, dm, mass)

Arguments

R0

Nominal mass resolution.

m0

Mass where R(m) = 0.5*R0.

dm

Slope parameter.

mass

Vector of mass values.

Details

An empirical function that describes the mass resolution of TOFs as a function of mass is: R(m) = R0 - R0/(1 + exp((m -m0)/dm)), where R0 is the nominal mass resolution, m0 is the mass at which the resolution is R0/2 and dm is a slope parameter.

Value

Vector with resolution values.

See Also

FitResolution


pasturm/TofDaqR documentation built on March 29, 2024, 12:10 a.m.