Skip to content

Commit dcaeee0

Browse files
committed
use c++-style cast
1 parent 7a88ee9 commit dcaeee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGHF/Tasks/pidStudies.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ struct pidStudies {
152152
template <bool isV0, typename Cand>
153153
void fillTree(Cand const& candidate, const int& flag)
154154
{
155-
float pseudoRndm = candidate.pt() * 1000. - (int64_t)(candidate.pt() * 1000);
155+
float pseudoRndm = candidate.pt() * 1000. - static_cast<int64_t>(candidate.pt() * 1000);
156156
if (candidate.pt() < ptMaxForDownSample && pseudoRndm > downSampleBkgFactor) {
157157
return;
158158
}

0 commit comments

Comments
 (0)