Skip to content
Merged
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
2 changes: 1 addition & 1 deletion ALICE3/TableProducer/alice3strangenessFinder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#include <ReconstructionDataFormats/TrackParametrization.h>

#include <TH1.h>
#include <TLorentzVector.h>

Check failure on line 51 in ALICE3/TableProducer/alice3strangenessFinder.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/lorentz-vector]

Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
#include <TPDGCode.h>

#include <sys/types.h>
Expand Down Expand Up @@ -598,7 +598,7 @@
continue; // combined tracks should be reasonanly close
}

if (cascCand.eta > presel.cascMaxEta) {
if (std::abs(cascCand.eta) > presel.cascMaxEta) {
continue; // candidate outside of acceptance
}

Expand Down Expand Up @@ -692,12 +692,12 @@
v0DecayVertex.push_back(negParticle.vx());
v0DecayVertex.push_back(negParticle.vy());
v0DecayVertex.push_back(negParticle.vz());
TLorentzVector posLorVector = {posParticle.px(), posParticle.py(), posParticle.pz(), posParticle.e()};

Check failure on line 695 in ALICE3/TableProducer/alice3strangenessFinder.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/lorentz-vector]

Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
TLorentzVector negLorVector = {negParticle.px(), negParticle.py(), negParticle.pz(), negParticle.e()};

Check failure on line 696 in ALICE3/TableProducer/alice3strangenessFinder.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/lorentz-vector]

Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
o2::track::TrackParCov posParCov;
o2::track::TrackParCov negParCov;
o2::upgrade::convertTLorentzVectorToO2Track(1, posLorVector, v0DecayVertex, posParCov);

Check failure on line 699 in ALICE3/TableProducer/alice3strangenessFinder.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/lorentz-vector]

Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
o2::upgrade::convertTLorentzVectorToO2Track(-1, negLorVector, v0DecayVertex, negParCov);

Check failure on line 700 in ALICE3/TableProducer/alice3strangenessFinder.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root/lorentz-vector]

Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
if (!buildDecayCandidateTwoBody(posParCov, negParCov, vtx, v0cand))
continue;
v0CandidateIndices(collision.globalIndex(),
Expand Down
Loading