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/04/20 16:39] – himuser | software:analysis [2022/01/14 18:44] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Analysis | + | ===== Analysis |
- | There are already several files which help you to analyse root files from primasoft: | + | ===Novosibirsk function=== |
- | - PrimaSimAnalysis (can be found here: / | + | The Novosibirsk function is typically used to fit monoenergetic electromagnetic calorimeter spectra. |
- | - Rootmacros (examples can be found here: / | + | Explanations on this function are given here {{ :software:novosibirsk.pdf |}}. |
- | - Config file for Rootmacros (examples can be found 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. '' | ||
- | This is what they do: | + | #include " |
- | + | ||
- | == PrimaSimAnalysis | + | / |
- | * Sorts hits into clusters | + | |
+ | | ||
+ | | ||
+ | p[4] = constant background | ||
+ | */ | ||
+ | | ||
+ | { | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | } |
software/analysis.1587400742.txt.gz · Last modified: (external edit)