software:analysis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software:analysis [2020/05/04 08:16] – removed himuser | software:analysis [2022/01/14 18:44] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Analysis tools ===== | ||
+ | ===Novosibirsk function=== | ||
+ | |||
+ | The Novosibirsk function is typically used to fit monoenergetic electromagnetic calorimeter spectra. | ||
+ | Explanations on this function are given here {{ : | ||
+ | |||
+ | A C++ code snippet to calculate the function using ROOT classes is given below. The interface is chosen to be usable with the ROOT fitting routines, e.g. '' | ||
+ | |||
+ | #include " | ||
+ | | ||
+ | /* p[0] = normalisation constant | ||
+ | p[1] = peak position | ||
+ | p[2] = sigma (energy | ||
+ | p[3] = eta (asymmetry parameter) | ||
+ | p[4] = constant background | ||
+ | */ | ||
+ | double novosibirsk(double *x, double *p) | ||
+ | { | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | } |
software/analysis.1588580192.txt.gz · Last modified: 2022/01/14 18:44 (external edit)