|
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 lambdaR2Correlation.cxx |
| 12 | +/// \file chargeBalanceFunction.cxx |
13 | 13 | /// \brief R2 P2 and BF of charged hadrons. |
14 | 14 | /// \author Yash Patley <yash.patley@cern.ch> |
15 | 15 |
|
@@ -289,12 +289,12 @@ struct ChargeBalanceFunction { |
289 | 289 | ccdbObjNuaCorr = ccdb->getForTimeStamp<TList>(cPathCCDBNuaCorr.value, nolaterthan.value); |
290 | 290 |
|
291 | 291 | // Load reco eff corrections |
292 | | - LoadRecoEfficiencyHistograms(); |
| 292 | + loadRecoEfficiencyHistograms(); |
293 | 293 | } |
294 | 294 | } |
295 | 295 |
|
296 | 296 | // Load reco efficiency histograms |
297 | | - void LoadRecoEfficiencyHistograms() |
| 297 | + void loadRecoEfficiencyHistograms() |
298 | 298 | { |
299 | 299 | // Efficiency correction histograms |
300 | 300 | corrHist.hRecEffP = dynamic_cast<THnSparseF*>(ccdbObjRecoEff->FindObject("h_RecEff_P")); |
@@ -395,7 +395,7 @@ struct ChargeBalanceFunction { |
395 | 395 | } |
396 | 396 |
|
397 | 397 | template <RecGenType rec_gen, typename T, typename S> |
398 | | - float GetCorrectionFactor(T const& track, S const& sign) |
| 398 | + float getCorrectionFactor(T const& track, S const& sign) |
399 | 399 | { |
400 | 400 | if (!cGetCorrectionFlag) { |
401 | 401 | return 1.; |
@@ -527,7 +527,7 @@ struct ChargeBalanceFunction { |
527 | 527 | const auto phibin1 = static_cast<int>(trk_1.phi() / phibinwidth); |
528 | 528 | const auto phibin2 = static_cast<int>(trk_2.phi() / phibinwidth); |
529 | 529 |
|
530 | | - float corfac = GetCorrectionFactor<rec_gen>(trk_1, sign_1) * GetCorrectionFactor<rec_gen>(trk_2, sign_2); |
| 530 | + float corfac = getCorrectionFactor<rec_gen>(trk_1, sign_1) * getCorrectionFactor<rec_gen>(trk_2, sign_2); |
531 | 531 |
|
532 | 532 | if (rapbin1 >= 0 && rapbin2 >= 0 && phibin1 >= 0 && phibin2 >= 0 && rapbin1 < nrapbins && rapbin2 < nrapbins && phibin1 < nphibins && phibin2 < nphibins) { |
533 | 533 |
|
@@ -570,7 +570,7 @@ struct ChargeBalanceFunction { |
570 | 570 | static constexpr auto SubDirRecGen = std::array{"Reco/", "McGen/"}; |
571 | 571 |
|
572 | 572 | // Correction factor |
573 | | - float corrFact = GetCorrectionFactor<rec_gen>(track, sign); |
| 573 | + float corrFact = getCorrectionFactor<rec_gen>(track, sign); |
574 | 574 | float nuaCorr = GetNuaCorrectionFactor<rec_gen>(track, sign); |
575 | 575 |
|
576 | 576 | // Histograms |
|
0 commit comments