Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Tools/KFparticle/qaKFEventTrack.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ struct qaKFEventTrack {
template <typename T1, typename T2, typename T3, typename T4>
void writeVarTree(const T1& /*kfpTrackPi*/, const T2& KFPion, const T2& KFPV, const T3& track, const int source, const int pVContrib, const int runNumber, const T4& collision)
{
const double pseudoRndm = track.pt() * 1000. - (int64_t)(track.pt() * 1000);
const double pseudoRndm = track.pt() * 1000. - static_cast<int64_t>(track.pt() * 1000);
if (pseudoRndm < d_DwnSmplFact) {
if (writeTree) {
/// Filling the tree
Expand Down Expand Up @@ -629,7 +629,7 @@ struct qaKFEvent {
if (!isSelectedCollision(collisionIndex)) {
continue;
}
timeColl = uint64_t((bc.globalBC() - bc0) * o2::constants::lhc::LHCBunchSpacingNS) + collisionIndex.collisionTime();
timeColl = static_cast<uint64_t>((bc.globalBC() - bc0) * o2::constants::lhc::LHCBunchSpacingNS) + collisionIndex.collisionTime();
writeVarTreeColl(collisionIndex, timeColl, bc.timestamp(), collisionIndex.collisionTime(), tfID);
}
}
Expand Down
2 changes: 1 addition & 1 deletion Tools/KFparticle/qaKFParticleLc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ struct qaKFParticleLc {
float chi2geo = KFLc.GetChi2() / KFLc.GetNDF();
float normdecayLength = KFLc_PV.GetDecayLength() / KFLc_PV.GetErrDecayLength();
float chi2topo = KFLc_PV.GetChi2() / KFLc_PV.GetNDF();
const double pseudoRndm = trackKa.pt() * 1000. - (int64_t)(trackKa.pt() * 1000);
const double pseudoRndm = trackKa.pt() * 1000. - static_cast<int64_t>(trackKa.pt() * 1000);
if (pseudoRndm < d_DwnSmplFact) {
/// Filling the D0 tree
rowKFLc(runNumber,
Expand Down
Loading