|
| 1 | +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. |
| 2 | +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. |
| 3 | +// All rights not expressly granted are reserved. |
| 4 | +// |
| 5 | +// This software is distributed under the terms of the GNU General Public |
| 6 | +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". |
| 7 | +// |
| 8 | +// In applying this license CERN does not waive the privileges and immunities |
| 9 | +// granted to it by virtue of its status as an Intergovernmental Organization |
| 10 | +// or submit itself to any jurisdiction. |
| 11 | +// |
| 12 | + |
1 | 13 | #include "multCalibrator.h" |
2 | 14 | #include "multGlauberNBDFitter.h" |
3 | 15 |
|
@@ -61,16 +73,15 @@ Double_t GetBoundaryForPercentile(TH1* histo, Double_t lPercentileRequested) |
61 | 73 | return lReturnValue; |
62 | 74 | } |
63 | 75 |
|
64 | | -// master fit function |
65 | | -// parameters: |
66 | | -// --- input file name (from the grid, typically centrality-studies task) |
67 | | -// --- histogram name: histogram to use within the input file |
68 | | -// --- ancestor mode: 0: truncation, 1: rounding, 2: effective / non-integer (default: 2) |
69 | | -// --- free k: keep k value free (default Pb-Pb: fixed at 1.5) |
70 | | -// --- use dMu/dNanc: allow for a varying production of Nch vs ancestor if Nancestor is large. Models detector saturation in effective manner. |
71 | | -// --- free f: keep f value free (default Pb-Pb: fixed at 0.8) |
72 | | -// --- f value: the value to use for fixed f |
73 | | - |
| 76 | +/// @brief master glauber fit function |
| 77 | +/// @param lInputFileName input file name (from the grid, typically centrality-studies task) |
| 78 | +/// @param histogramName histogram name: histogram to use within the input file |
| 79 | +/// @param ancestorMode ancestor mode: 0: truncation, 1: rounding, 2: effective / non-integer (default: 2) |
| 80 | +/// @param lFreek free k: keep k value free (default Pb-Pb: fixed at 1.5) |
| 81 | +/// @param use_dMu_dNanc use dMu/dNanc: allow for a varying production of Nch vs ancestor if Nancestor is large. Models detector saturation in effective manner. |
| 82 | +/// @param lFreef free f: keep f value free (default Pb-Pb: fixed at 0.8) |
| 83 | +/// @param lfvalue f value: the value to use for fixed f |
| 84 | +/// @param outputFile name of output file |
74 | 85 | int runGlauberFit(TString lInputFileName = "AnalysisResultsLHC24ar.root", TString histogramName = "hFT0C_BCs", int ancestorMode = 2, Bool_t lFreek = kFALSE, Bool_t use_dMu_dNanc = kFALSE, Bool_t lFreef = kFALSE, Float_t lfvalue = 0.800, TString outputFile = "output.root") |
75 | 86 | { |
76 | 87 | gStyle->SetLineScalePS(1); |
|
0 commit comments