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
1 change: 0 additions & 1 deletion PWGLF/Tasks/Nuspex/NucleiHistTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -554,32 +554,32 @@
}

if (enable_pT_shift_pion_tpc_nSigma) {
Pion_Tpc_nSigma_shift = new TF1("Pion_Tpc_nSigma_shift", "[0] * TMath::Exp([1] + [2] * x) + [3] + [4] * x + [5] * x * x", 0.f, 14.f);

Check warning on line 557 in PWGLF/Tasks/Nuspex/NucleiHistTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root-entity]

Consider replacing ROOT entities with equivalents from standard C++ or from O2.
auto par = (std::vector<float>)parShiftPtPion;
Pion_Tpc_nSigma_shift->SetParameters(par[0], par[1], par[2], par[3], par[4], par[5]);
}
if (enable_pT_shift_proton_tpc_nSigma) {
Proton_Tpc_nSigma_shift = new TF1("Proton_Tpc_nSigma_shift", "[0] * TMath::Exp([1] + [2] * x) + [3] + [4] * x + [5] * x * x", 0.f, 14.f);

Check warning on line 562 in PWGLF/Tasks/Nuspex/NucleiHistTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root-entity]

Consider replacing ROOT entities with equivalents from standard C++ or from O2.
auto par = (std::vector<float>)parShiftPtProton;
Proton_Tpc_nSigma_shift->SetParameters(par[0], par[1], par[2], par[3], par[4], par[5]);
}
if (enable_pT_shift_deuteron_tpc_nSigma) {
Deuteron_Tpc_nSigma_shift = new TF1("Deuteron_Tpc_nSigma_shift", "[0] * TMath::Exp([1] + [2] * x) + [3] + [4] * x + [5] * x * x", 0.f, 14.f);

Check warning on line 567 in PWGLF/Tasks/Nuspex/NucleiHistTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root-entity]

Consider replacing ROOT entities with equivalents from standard C++ or from O2.
auto par = (std::vector<float>)parShiftPtDeuteron;
Deuteron_Tpc_nSigma_shift->SetParameters(par[0], par[1], par[2], par[3], par[4], par[5]);
}
if (enable_pT_shift_triton_tpc_nSigma) {
Triton_Tpc_nSigma_shift = new TF1("Triton_Tpc_nSigma_shift", "[0] * TMath::Exp([1] + [2] * x) + [3] + [4] * x + [5] * x * x", 0.f, 14.f);

Check warning on line 572 in PWGLF/Tasks/Nuspex/NucleiHistTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root-entity]

Consider replacing ROOT entities with equivalents from standard C++ or from O2.
auto par = (std::vector<float>)parShiftPtTriton;
Triton_Tpc_nSigma_shift->SetParameters(par[0], par[1], par[2], par[3], par[4], par[5]);
}
if (enable_pT_shift_He3_tpc_nSigma) {
He3_Tpc_nSigma_shift = new TF1("He3_Tpc_nSigma_shift", "[0] * TMath::Exp([1] + [2] * x) + [3] + [4] * x + [5] * x * x", 0.f, 14.f);

Check warning on line 577 in PWGLF/Tasks/Nuspex/NucleiHistTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root-entity]

Consider replacing ROOT entities with equivalents from standard C++ or from O2.
auto par = (std::vector<float>)parShiftPtHe3;
He3_Tpc_nSigma_shift->SetParameters(par[0], par[1], par[2], par[3], par[4], par[5]);
}
if (enable_pT_shift_He4_tpc_nSigma) {
He4_Tpc_nSigma_shift = new TF1("He4_Tpc_nSigma_shift", "[0] * TMath::Exp([1] + [2] * x) + [3] + [4] * x + [5] * x * x", 0.f, 14.f);

Check warning on line 582 in PWGLF/Tasks/Nuspex/NucleiHistTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root-entity]

Consider replacing ROOT entities with equivalents from standard C++ or from O2.
auto par = (std::vector<float>)parShiftPtHe4;
He4_Tpc_nSigma_shift->SetParameters(par[0], par[1], par[2], par[3], par[4], par[5]);
}
Expand Down Expand Up @@ -689,7 +689,6 @@
float nSigmaTriton = track.tpcNSigmaTr();
float nSigmaHe3 = track.tpcNSigmaHe();
float nSigmaHe4 = track.tpcNSigmaAl();


spectra_reg.fill(HIST("histNClusterTPC"), track.pt(), track.tpcNClsCrossedRows());
spectra_reg.fill(HIST("histNClusterITS"), track.pt(), track.itsNCls());
Expand All @@ -697,7 +696,7 @@
spectra_reg.fill(HIST("histChi2TPC"), track.pt(), track.tpcChi2NCl());
spectra_reg.fill(HIST("histChi2ITS"), track.pt(), track.itsChi2NCl());

if (TMath::Abs(track.dcaXY()) > maxDCA_XY || TMath::Abs(track.dcaZ()) > maxDCA_Z)

Check warning on line 699 in PWGLF/Tasks/Nuspex/NucleiHistTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root-entity]

Consider replacing ROOT entities with equivalents from standard C++ or from O2.
continue;
histTrackcuts_data->AddBinContent(4);
if (TPCnumberClsFound < minTPCnClsFound || TPC_nCls_Crossed_Rows < minNCrossedRowsTPC)
Expand Down Expand Up @@ -789,7 +788,7 @@
if (lastLayer < lastRequiredTrdCluster)
continue;
}
Float_t TOFmass2 = ((track.mass()) * (track.mass()));

Check warning on line 791 in PWGLF/Tasks/Nuspex/NucleiHistTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root-entity]

Consider replacing ROOT entities with equivalents from standard C++ or from O2.
spectra_reg.fill(HIST("histTOFm2"), momentum, TOFmass2);
}
}
Expand All @@ -814,7 +813,7 @@
if (lastLayer < lastRequiredTrdCluster)
continue;
}
Float_t TOFmass2 = ((track.mass()) * (track.mass()));

Check warning on line 816 in PWGLF/Tasks/Nuspex/NucleiHistTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root-entity]

Consider replacing ROOT entities with equivalents from standard C++ or from O2.
spectra_reg.fill(HIST("histTOFm2"), momentum, TOFmass2);
}
}
Expand Down Expand Up @@ -845,7 +844,7 @@
if (lastLayer < lastRequiredTrdCluster)
continue;
}
Float_t TOFmass2 = ((track.mass()) * (track.mass()));

Check warning on line 847 in PWGLF/Tasks/Nuspex/NucleiHistTask.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root-entity]

Consider replacing ROOT entities with equivalents from standard C++ or from O2.
Float_t beta = track.beta();
pion_reg.fill(HIST("histTOFm2"), momentum, TOFmass2);
pion_reg.fill(HIST("histTofSignalData"), momentum, beta);
Expand Down
Loading