Crystal Ball function

From HandWiki
Examples of the Crystal Ball function.

The Crystal Ball function, named after the Crystal Ball Collaboration (hence the capitalized initial letters), is a probability density function commonly used to model various lossy processes in high-energy physics. It consists of a Gaussian core portion and a power-law low-end tail, below a certain threshold. The function itself and its first derivative are both continuous.

The Crystal Ball function is given by:

f(x;α,n,x¯,σ)=N{exp((xx¯)22σ2),for xx¯σ>αA(Bxx¯σ)n,for xx¯σα

where

A=(n|α|)nexp(|α|22),
B=n|α||α|,
N=1σ(C+D),
C=n|α|1n1exp(|α|22),
D=π2(1+erf(|α|2)).

N (Skwarnicki 1986) is a normalization factor and α, n, x¯ and σ are parameters which are fitted with the data. erf is the error function.