@@ -131,8 +131,8 @@ struct HStrangeCorrelation {
131131 Configurable<bool > applyEfficiencyCorrection{" applyEfficiencyCorrection" , false , " apply efficiency correction" };
132132 Configurable<bool > applyEfficiencyForTrigger{" applyEfficiencyForTrigger" , false , " apply efficiency correction for the trigger particle" };
133133 Configurable<bool > applyEfficiencyPropagation{" applyEfficiencyPropagation" , false , " propagate also the efficiency uncertainty" };
134- Configurable<bool > applyPurityHadron{" applyPurityHadron" ,false ," apply the purity correction for associated hadrons" };
135- Configurable<bool > applyPurityTrigger{" applyPurityTrigger" ,false ," apply the purity correction for trigger particle" };
134+ Configurable<bool > applyPurityHadron{" applyPurityHadron" , false , " apply the purity correction for associated hadrons" };
135+ Configurable<bool > applyPurityTrigger{" applyPurityTrigger" , false , " apply the purity correction for trigger particle" };
136136 } efficiencyFlags;
137137 Configurable<std::string> ccdburl{" ccdburl" , " http://alice-ccdb.cern.ch" , " url of the ccdb repository to use" };
138138 Configurable<std::string> efficiencyCCDBPath{" efficiencyCCDBPath" , " GLO/Config/GeometryAligned" , " Path of the efficiency corrections" };
@@ -1059,19 +1059,23 @@ struct HStrangeCorrelation {
10591059 efficiencyUncertainty = hEfficiencyUncertaintyPion->Interpolate (ptassoc, assoc.eta ());
10601060 } else {
10611061 efficiency = hEfficiencyHadron->Interpolate (ptassoc, assoc.eta ());
1062- if (efficiencyFlags.applyPurityHadron ) purity = hPurityHadron->Interpolate (ptassoc);
1062+ if (efficiencyFlags.applyPurityHadron )
1063+ purity = hPurityHadron->Interpolate (ptassoc);
10631064 if (efficiencyFlags.applyEfficiencyPropagation ) {
10641065 efficiencyUncertainty = hEfficiencyUncertaintyHadron->Interpolate (ptassoc, assoc.eta ());
1065- if (efficiencyFlags.applyPurityHadron )purityUncertainty = hPurityUncertaintyHadron->Interpolate (ptassoc);
1066+ if (efficiencyFlags.applyPurityHadron )
1067+ purityUncertainty = hPurityUncertaintyHadron->Interpolate (ptassoc);
10661068 }
10671069 }
10681070 }
10691071 if (efficiencyFlags.applyEfficiencyForTrigger ) {
10701072 efficiencyTrigg = hEfficiencyTrigger->Interpolate (pttrigger, trigg.eta ());
1071- if (efficiencyFlags.applyPurityTrigger )purityTrigger = hPurityHadron->Interpolate (pttrigger);
1073+ if (efficiencyFlags.applyPurityTrigger )
1074+ purityTrigger = hPurityHadron->Interpolate (pttrigger);
10721075 if (efficiencyFlags.applyEfficiencyPropagation ) {
10731076 triggerEfficiencyUncert = hEfficiencyUncertaintyTrigger->Interpolate (ptassoc, assoc.eta ());
1074- if (efficiencyFlags.applyPurityTrigger )triggerPurityUncertainty = hPurityUncertaintyHadron->Interpolate (ptassoc);
1077+ if (efficiencyFlags.applyPurityTrigger )
1078+ triggerPurityUncertainty = hPurityUncertaintyHadron->Interpolate (ptassoc);
10751079 }
10761080 }
10771081 if (efficiency == 0 ) { // check for zero efficiency, do not apply if the case
@@ -1694,7 +1698,8 @@ struct HStrangeCorrelation {
16941698 float purity = 1 .0f ;
16951699 if (efficiencyFlags.applyEfficiencyCorrection ) {
16961700 efficiency = hEfficiencyHadron->Interpolate (assoc.pt (), assoc.eta ());
1697- if (efficiencyFlags.applyPurityHadron )purity = hPurityHadron->Interpolate (assoc.pt ());
1701+ if (efficiencyFlags.applyPurityHadron )
1702+ purity = hPurityHadron->Interpolate (assoc.pt ());
16981703 }
16991704 if (efficiency == 0 ) { // check for zero efficiency, do not apply if the case
17001705 efficiency = 1 ;
0 commit comments