Skip to content
Closed
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
8 changes: 4 additions & 4 deletions PWGLF/Tasks/Strangeness/strangeness_in_jets.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@
if (px == 0 && py != 0) {

uy = -(pz * pz) / py;
ux = sign * sqrt(py * py - (pz * pz * pz * pz) / (py * py));

Check warning on line 765 in PWGLF/Tasks/Strangeness/strangeness_in_jets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
uz = pz;
u.SetXYZ(ux, uy, uz);
return;
Expand All @@ -772,7 +772,7 @@
if (py == 0 && px != 0) {

ux = -(pz * pz) / px;
uy = sign * sqrt(px * px - (pz * pz * pz * pz) / (px * px));

Check warning on line 775 in PWGLF/Tasks/Strangeness/strangeness_in_jets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
uz = pz;
u.SetXYZ(ux, uy, uz);
return;
Expand All @@ -790,7 +790,7 @@
}

// Solutions
ux = (-b + sign * sqrt(delta)) / (2.0 * a);

Check warning on line 793 in PWGLF/Tasks/Strangeness/strangeness_in_jets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
uy = (-pz * pz - px * ux) / py;
uz = pz;
u.SetXYZ(ux, uy, uz);
Expand All @@ -814,7 +814,7 @@
{
double dx = v1.Eta() - v2.Eta();
double dy = GetDeltaPhi(v1.Phi(), v2.Phi());
double d = sqrt(dx * dx + dy * dy);

Check warning on line 817 in PWGLF/Tasks/Strangeness/strangeness_in_jets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
if (d < 2.0 * R)
return true;
return false;
Expand Down Expand Up @@ -853,9 +853,9 @@
return;
}
twod_weights_antilambda_ue = static_cast<TH2F*>(l->FindObject(Form("%s", histname_antilambda_ue.Data())));
if (!twod_weights_antilambda_ue) {
LOGP(error, "Could not open histogram {}", Form("%s", histname_antilambda_ue.Data()));
return;
if (!twod_weights_antilambda_ue) {
LOGP(error, "Could not open histogram {}", Form("%s", histname_antilambda_ue.Data()));
return;
}

LOGP(info, "Opened histogram {}", Form("%s", histname_k0_jet.Data()));
Expand All @@ -865,7 +865,7 @@
LOGP(info, "Opened histogram {}", Form("%s", histname_antilambda_jet.Data()));
LOGP(info, "Opened histogram {}", Form("%s", histname_antilambda_ue.Data()));
}

void processData(SelCollisions::iterator const& collision, aod::V0Datas const& fullV0s, aod::CascDataExt const& Cascades, StrHadronDaughterTracks const& tracks)
{

Expand Down Expand Up @@ -974,13 +974,13 @@

double deltaEta_jet = sel_track.Eta() - jet[i].Eta();
double deltaPhi_jet = GetDeltaPhi(sel_track.Phi(), jet[i].Phi());
double deltaR_jet = sqrt(deltaEta_jet * deltaEta_jet + deltaPhi_jet * deltaPhi_jet);

Check warning on line 977 in PWGLF/Tasks/Strangeness/strangeness_in_jets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
double deltaEta_ue1 = sel_track.Eta() - ue_axis1.Eta();
double deltaPhi_ue1 = GetDeltaPhi(sel_track.Phi(), ue_axis1.Phi());
double deltaR_ue1 = sqrt(deltaEta_ue1 * deltaEta_ue1 + deltaPhi_ue1 * deltaPhi_ue1);

Check warning on line 980 in PWGLF/Tasks/Strangeness/strangeness_in_jets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
double deltaEta_ue2 = sel_track.Eta() - ue_axis2.Eta();
double deltaPhi_ue2 = GetDeltaPhi(sel_track.Phi(), ue_axis2.Phi());
double deltaR_ue2 = sqrt(deltaEta_ue2 * deltaEta_ue2 + deltaPhi_ue2 * deltaPhi_ue2);

Check warning on line 983 in PWGLF/Tasks/Strangeness/strangeness_in_jets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.

if (deltaR_jet < Rjet) {
registryQC.fill(HIST("deltaEtadeltaPhi_jet"), deltaEta_jet, deltaPhi_jet);
Expand Down Expand Up @@ -1063,13 +1063,13 @@

float deltaEta_jet = v0dir.Eta() - jet[i].Eta();
float deltaPhi_jet = GetDeltaPhi(v0dir.Phi(), jet[i].Phi());
float deltaR_jet = sqrt(deltaEta_jet * deltaEta_jet + deltaPhi_jet * deltaPhi_jet);

Check warning on line 1066 in PWGLF/Tasks/Strangeness/strangeness_in_jets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
float deltaEta_ue1 = v0dir.Eta() - ue1[i].Eta();
float deltaPhi_ue1 = GetDeltaPhi(v0dir.Phi(), ue1[i].Phi());
float deltaR_ue1 = sqrt(deltaEta_ue1 * deltaEta_ue1 + deltaPhi_ue1 * deltaPhi_ue1);

Check warning on line 1069 in PWGLF/Tasks/Strangeness/strangeness_in_jets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
float deltaEta_ue2 = v0dir.Eta() - ue2[i].Eta();
float deltaPhi_ue2 = GetDeltaPhi(v0dir.Phi(), ue2[i].Phi());
float deltaR_ue2 = sqrt(deltaEta_ue2 * deltaEta_ue2 + deltaPhi_ue2 * deltaPhi_ue2);

Check warning on line 1072 in PWGLF/Tasks/Strangeness/strangeness_in_jets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.

// K0s
if (passedK0ShortSelection(v0, pos, neg)) {
Expand Down
Loading