We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a88ee9 commit dcaeee0Copy full SHA for dcaeee0
PWGHF/Tasks/pidStudies.cxx
@@ -152,7 +152,7 @@ struct pidStudies {
152
template <bool isV0, typename Cand>
153
void fillTree(Cand const& candidate, const int& flag)
154
{
155
- float pseudoRndm = candidate.pt() * 1000. - (int64_t)(candidate.pt() * 1000);
+ float pseudoRndm = candidate.pt() * 1000. - static_cast<int64_t>(candidate.pt() * 1000);
156
if (candidate.pt() < ptMaxForDownSample && pseudoRndm > downSampleBkgFactor) {
157
return;
158
}
0 commit comments