|
9 | 9 | // granted to it by virtue of its status as an Intergovernmental Organization |
10 | 10 | // or submit itself to any jurisdiction. |
11 | 11 | // |
| 12 | +/// \file saveCorrelation.C |
| 13 | +/// \brief |
| 14 | +/// \author ALICE |
12 | 15 |
|
13 | 16 | #include "multCalibrator.h" |
14 | 17 | #include "multGlauberNBDFitter.h" |
@@ -134,16 +137,22 @@ int runGlauberFit(TString lInputFileName = "AnalysisResultsLHC24ar.root", TStrin |
134 | 137 |
|
135 | 138 | // minimum fit range estimate (guess region that may be unfittable) |
136 | 139 | // may need adjusting |
137 | | - Double_t lFitRange = 0.012 * GetBoundaryForPercentile(hV0Mfine, 0.01); |
138 | | - if (lFitRangeMax < 10000) |
139 | | - lFitRange = 0.02 * GetBoundaryForPercentile(hV0Mfine, 0.01); |
| 140 | + Double_t maxPercent = 0.01; |
| 141 | + Double_t fractionOfMax = 0.012; |
| 142 | + Double_t lFitRange = fractionOfMax * GetBoundaryForPercentile(hV0Mfine, maxPercent); |
| 143 | + |
| 144 | + // adjust if low mult (Ntracks, typically) |
| 145 | + Double_t maxRangeForTracks= 10000; |
| 146 | + Double_t fractionOfMaxBroader = 0.02; |
| 147 | + if (lFitRangeMax < maxRangeForTracks) |
| 148 | + lFitRange = fractionOfMaxBroader * GetBoundaryForPercentile(hV0Mfine, maxPercent); |
140 | 149 |
|
141 | 150 | cout << "Fit range min estimated from histogram: " << lFitRange << endl; |
142 | 151 |
|
143 | 152 | //____________________________________________ |
144 | 153 | // rebinning matters |
145 | 154 | int rebinFactor = 20; |
146 | | - if (lFitRangeMax < 10000) |
| 155 | + if (lFitRangeMax < maxRangeForTracks) |
147 | 156 | rebinFactor = 1; |
148 | 157 |
|
149 | 158 | cout << "Creating rebinned histogram with rebin factor: " << rebinFactor << endl; |
|
0 commit comments