Skip to content

Commit 2b06722

Browse files
Replace TMath::ACos with std::acos for consistency
1 parent 0efcf10 commit 2b06722

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PWGLF/Tasks/QC/v0cascadesqa.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ struct v0cascadesQA {
11461146
histos.fill(HIST("histos_V0/InvMassK0s_EtaDaughters"), posdau.eta(), negdau.eta(), v0.mK0Short());
11471147
histos.fill(HIST("histos_V0/InvMassK0s_PhiDaughters"), posdau.phi(), negdau.phi(), v0.mK0Short());
11481148
histos.fill(HIST("histos_V0/InvMassK0s_ITSMapDaughters"), posdau.itsNCls(), negdau.itsNCls(), v0.mK0Short());
1149-
histos.fill(HIST("histos_V0/InvMassK0sVsPtVsPA"), v0.pt(), TMath::ACos(v0.v0cosPA()), v0.mK0Short());
1149+
histos.fill(HIST("histos_V0/InvMassK0sVsPtVsPA"), v0.pt(), std::acos(v0.v0cosPA()), v0.mK0Short());
11501150
}
11511151
}
11521152

@@ -1170,7 +1170,7 @@ struct v0cascadesQA {
11701170
histos.fill(HIST("histos_V0/InvMassLambda_EtaDaughters"), posdau.eta(), negdau.eta(), v0.mLambda());
11711171
histos.fill(HIST("histos_V0/InvMassLambda_PhiDaughters"), posdau.phi(), negdau.phi(), v0.mLambda());
11721172
histos.fill(HIST("histos_V0/InvMassLambda_ITSMapDaughters"), posdau.itsNCls(), negdau.itsNCls(), v0.mLambda());
1173-
histos.fill(HIST("histos_V0/InvMassLambdaVsPtVsPA"), v0.pt(), TMath::ACos(v0.v0cosPA()), v0.mLambda());
1173+
histos.fill(HIST("histos_V0/InvMassLambdaVsPtVsPA"), v0.pt(), std::acos(v0.v0cosPA()), v0.mLambda());
11741174
}
11751175
}
11761176

@@ -1194,7 +1194,7 @@ struct v0cascadesQA {
11941194
histos.fill(HIST("histos_V0/InvMassAntiLambda_EtaDaughters"), posdau.eta(), negdau.eta(), v0.mAntiLambda());
11951195
histos.fill(HIST("histos_V0/InvMassAntiLambda_PhiDaughters"), posdau.phi(), negdau.phi(), v0.mAntiLambda());
11961196
histos.fill(HIST("histos_V0/InvMassAntiLambda_ITSMapDaughters"), posdau.itsNCls(), negdau.itsNCls(), v0.mAntiLambda());
1197-
histos.fill(HIST("histos_V0/InvMassAntiLambdaVsPtVsPA"), v0.pt(), TMath::ACos(v0.v0cosPA()), v0.mAntiLambda());
1197+
histos.fill(HIST("histos_V0/InvMassAntiLambdaVsPtVsPA"), v0.pt(), std::acos(v0.v0cosPA()), v0.mAntiLambda());
11981198
}
11991199
}
12001200
}

0 commit comments

Comments
 (0)