@@ -855,20 +855,20 @@ struct CorrFit {
855855 correctionsLoaded = true ;
856856 }
857857
858- bool getEfficiencyCorrection_Nch (float & weight_Nch , float pt)
858+ bool getEfficiencyCorrectionNch (float & weightNch , float pt)
859859 {
860- float eff_Nch = 1 .;
860+ float effNch = 1 .;
861861 if (mEfficiencyNch ) {
862862
863863 int ptBin = mEfficiencyNch ->FindBin (pt);
864- eff_Nch = mEfficiencyNch ->GetBinContent (ptBin);
864+ effNch = mEfficiencyNch ->GetBinContent (ptBin);
865865
866866 } else {
867- eff_Nch = 1.0 ;
867+ effNch = 1.0 ;
868868 }
869- if (eff_Nch == 0 )
869+ if (effNch == 0 )
870870 return false ;
871- weight_Nch = 1 . / eff_Nch ;
871+ weightNch = 1 . / effNch ;
872872 return true ;
873873 }
874874
@@ -910,19 +910,19 @@ struct CorrFit {
910910 void trackCounter (TTracks tracks, double & multiplicity) // function to count the number of tracks in the event and fill the histogram
911911 {
912912 double nTracksCorrected = 0 ;
913- float weight_Nch = 1 .0f ;
913+ float weightNch = 1 .0f ;
914914 for (auto const & track : tracks) {
915915
916916 if (cfgRefMultiplicity) {
917917 if (track.pt () > cfgRefpTMax)
918918 continue ;
919919 }
920920
921- if (!getEfficiencyCorrection_Nch (weight_Nch , track.pt ())) {
921+ if (!getEfficiencyCorrectionNch (weightNch , track.pt ())) {
922922 continue ;
923923 }
924924
925- nTracksCorrected += weight_Nch ;
925+ nTracksCorrected += weightNch ;
926926 }
927927 multiplicity = nTracksCorrected;
928928 }
@@ -956,7 +956,7 @@ struct CorrFit {
956956 }
957957
958958 template <typename TTrack>
959- void fillNsigmaBeforeCut (TTrack track1, Int_t pid) // function to fill the QA before Nsigma selection
959+ void fillNsigmaBeforeCut (TTrack track1, int pid) // function to fill the QA before Nsigma selection
960960 {
961961 switch (pid) {
962962 case kPions : // For Pions
@@ -1008,7 +1008,7 @@ struct CorrFit {
10081008 } // end of fillNsigmaBeforeCut
10091009
10101010 template <typename TTrack>
1011- void fillNsigmaAfterCut (TTrack track1, Int_t pid) // function to fill the QA after Nsigma selection
1011+ void fillNsigmaAfterCut (TTrack track1, int pid) // function to fill the QA after Nsigma selection
10121012 {
10131013 switch (pid) {
10141014 case kPions : // For Pions
@@ -1221,7 +1221,7 @@ struct CorrFit {
12211221 if (cfgPIDConfgs.cfgPIDParticle > kCharged )
12221222 fillNsigmaAfterCut (track1, cfgPIDConfgs.cfgPIDParticle );
12231223
1224- if (!getEfficiencyCorrection_Nch (triggerWeight, track1.pt ()))
1224+ if (!getEfficiencyCorrectionNch (triggerWeight, track1.pt ()))
12251225 continue ;
12261226
12271227 if (system == SameEvent) {
@@ -1233,7 +1233,7 @@ struct CorrFit {
12331233 if (!trackSelected (track2))
12341234 continue ;
12351235
1236- if (!getEfficiencyCorrection_Nch (associateWeight, track2.pt ()))
1236+ if (!getEfficiencyCorrectionNch (associateWeight, track2.pt ()))
12371237 continue ;
12381238
12391239 if (cfgRefpTt) {
0 commit comments