Skip to content

Commit 2293058

Browse files
committed
changed function for cosh
1 parent 801c46c commit 2293058

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGHF/Tasks/taskPidStudies.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ struct HfTaskPidStudies {
189189
candidate.pt(),
190190
posTrack.pt(),
191191
negTrack.pt(),
192-
posTrack.tpcInnerParam() / TMath::CosH(candidate.positiveeta()),
193-
negTrack.tpcInnerParam() / TMath::CosH(candidate.negativeeta()),
192+
posTrack.tpcInnerParam() / std::cosh(candidate.positiveeta()),
193+
negTrack.tpcInnerParam() / std::cosh(candidate.negativeeta()),
194194
candidate.v0radius(),
195195
candidate.v0cosPA(),
196196
candidate.dcaV0daughters(),
@@ -216,7 +216,7 @@ struct HfTaskPidStudies {
216216
candidate.mOmega(),
217217
candidate.pt(),
218218
candidate.bachelorpt(),
219-
bachTrack.tpcInnerParam() / TMath::CosH(candidate.bacheloreta()),
219+
bachTrack.tpcInnerParam() / std::cosh(candidate.bacheloreta()),
220220
candidate.cascradius(),
221221
candidate.mLambda(),
222222
candidate.v0cosPA(coll.posX(), coll.posY(), coll.posZ()),

0 commit comments

Comments
 (0)