Skip to content

Commit e0a4881

Browse files
clang-format
1 parent 690da75 commit e0a4881

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

PWGHF/HFC/Tasks/taskCorrelationDstarHadrons.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,20 +220,20 @@ struct HfTaskCorrelationDstarHadrons {
220220
netEfficiencyWeight = 1.0 / (efficiencyWeightDstar * efficiencyWeightTracks);
221221
} else if (applyEfficiency && useCcdbEfficiency && nEfficiencyHist == 1) {
222222
float const ptEffLowEdgeDstar = vecHistEfficiencyDstar[0]->GetXaxis()->GetBinLowEdge(1);
223-
if(ptDstar <= ptEffLowEdgeDstar){ // pT of current dstar candidate is lower than the lower edge of the pT axis
223+
if (ptDstar <= ptEffLowEdgeDstar) { // pT of current dstar candidate is lower than the lower edge of the pT axis
224224
efficiencyWeightDstar = vecHistEfficiencyDstar[0]->GetBinContent(1);
225-
}else{
225+
} else {
226226
efficiencyWeightDstar = vecHistEfficiencyDstar[0]->GetBinContent(vecHistEfficiencyDstar[0]->GetXaxis()->FindBin(ptDstar));
227-
if(!efficiencyWeightDstar){
227+
if (!efficiencyWeightDstar) {
228228
LOGF(fatal, "Dstar efficiency weight can't be zero.");
229229
}
230230
}
231231
float const ptEffLowEdgeTrack = vecHistEfficiencyTracks[0]->GetBinLowEdge(1);
232-
if(ptTrack <= ptEffLowEdgeTrack){ // pT of current track is lower than the lower edge of the pT axis
232+
if (ptTrack <= ptEffLowEdgeTrack) { // pT of current track is lower than the lower edge of the pT axis
233233
efficiencyWeightTracks = vecHistEfficiencyTracks[0]->GetBinContent(1);
234-
}else{
234+
} else {
235235
efficiencyWeightTracks = vecHistEfficiencyTracks[0]->GetBinContent(vecHistEfficiencyTracks[0]->GetXaxis()->FindBin(ptTrack));
236-
if(!efficiencyWeightTracks){
236+
if (!efficiencyWeightTracks) {
237237
LOGF(fatal, "track efficiency weight can't be zero");
238238
}
239239
}

0 commit comments

Comments
 (0)