Skip to content

Commit d4bcf77

Browse files
authored
Rename functions to follow camelCase convention
1 parent c347844 commit d4bcf77

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

PWGCF/TwoParticleCorrelations/Tasks/chargeBalanceFunction.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
/// \file lambdaR2Correlation.cxx
12+
/// \file chargeBalanceFunction.cxx
1313
/// \brief R2 P2 and BF of charged hadrons.
1414
/// \author Yash Patley <yash.patley@cern.ch>
1515

@@ -289,12 +289,12 @@ struct ChargeBalanceFunction {
289289
ccdbObjNuaCorr = ccdb->getForTimeStamp<TList>(cPathCCDBNuaCorr.value, nolaterthan.value);
290290

291291
// Load reco eff corrections
292-
LoadRecoEfficiencyHistograms();
292+
loadRecoEfficiencyHistograms();
293293
}
294294
}
295295

296296
// Load reco efficiency histograms
297-
void LoadRecoEfficiencyHistograms()
297+
void loadRecoEfficiencyHistograms()
298298
{
299299
// Efficiency correction histograms
300300
corrHist.hRecEffP = dynamic_cast<THnSparseF*>(ccdbObjRecoEff->FindObject("h_RecEff_P"));
@@ -395,7 +395,7 @@ struct ChargeBalanceFunction {
395395
}
396396

397397
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)
399399
{
400400
if (!cGetCorrectionFlag) {
401401
return 1.;
@@ -527,7 +527,7 @@ struct ChargeBalanceFunction {
527527
const auto phibin1 = static_cast<int>(trk_1.phi() / phibinwidth);
528528
const auto phibin2 = static_cast<int>(trk_2.phi() / phibinwidth);
529529

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);
531531

532532
if (rapbin1 >= 0 && rapbin2 >= 0 && phibin1 >= 0 && phibin2 >= 0 && rapbin1 < nrapbins && rapbin2 < nrapbins && phibin1 < nphibins && phibin2 < nphibins) {
533533

@@ -570,7 +570,7 @@ struct ChargeBalanceFunction {
570570
static constexpr auto SubDirRecGen = std::array{"Reco/", "McGen/"};
571571

572572
// Correction factor
573-
float corrFact = GetCorrectionFactor<rec_gen>(track, sign);
573+
float corrFact = getCorrectionFactor<rec_gen>(track, sign);
574574
float nuaCorr = GetNuaCorrectionFactor<rec_gen>(track, sign);
575575

576576
// Histograms

0 commit comments

Comments
 (0)