Basic implementation of the new centrality determination method (https://arxiv.org/abs/1708.00081)

Peter Parfenov e75af1c70a Added basic TH1F checks 2 months ago
CMakeLists.txt 56cac52c5b Added Gamma-based fitting procedure, small fixes 2 months ago
FitCent.cpp e75af1c70a Added basic TH1F checks 2 months ago
FitCentGamma.cpp 56cac52c5b Added Gamma-based fitting procedure, small fixes 2 months ago
README.md 1006a11590 Fixed readme 3 months ago

README.md

Basic implementation of the new centrality determination method (https://arxiv.org/abs/1708.00081).


Installation:

    mkdir build
    cd build/
    cmake ../
    make

Usage:

To use it with root-file (hRefMultSTAR - name of the TH1F histogram in that file):

    ./FitCent -root /<path to directory>/inputfile.root -o output.root

To use it with ASCII dat-file (with 2 columns: Nch dN/dNch):

    ./FitCent -dat /<path to directory>/inputfile.dat -o output.root

Output file output.root will contain 2 objects:

TGraphErrors grMult - Normalized multiplicity distribution gathered from input
TF1 fitFunc - Fitted function of grMult