Skip to content

Commit

Permalink
changed function for cosh
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcellocosti committed Dec 17, 2024
1 parent 801c46c commit 2293058
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PWGHF/Tasks/taskPidStudies.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ struct HfTaskPidStudies {
candidate.pt(),
posTrack.pt(),
negTrack.pt(),
posTrack.tpcInnerParam() / TMath::CosH(candidate.positiveeta()),
negTrack.tpcInnerParam() / TMath::CosH(candidate.negativeeta()),
posTrack.tpcInnerParam() / std::cosh(candidate.positiveeta()),
negTrack.tpcInnerParam() / std::cosh(candidate.negativeeta()),
candidate.v0radius(),
candidate.v0cosPA(),
candidate.dcaV0daughters(),
Expand All @@ -216,7 +216,7 @@ struct HfTaskPidStudies {
candidate.mOmega(),
candidate.pt(),
candidate.bachelorpt(),
bachTrack.tpcInnerParam() / TMath::CosH(candidate.bacheloreta()),
bachTrack.tpcInnerParam() / std::cosh(candidate.bacheloreta()),
candidate.cascradius(),
candidate.mLambda(),
candidate.v0cosPA(coll.posX(), coll.posY(), coll.posZ()),
Expand Down

0 comments on commit 2293058

Please sign in to comment.