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 PWGLF/Tasks/Nuspex/NucleiHistTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,9 @@
float Chi2perClusterTPC = track.tpcChi2NCl();
float Chi2perClusterITS = track.itsChi2NCl();

bool insideDCAxy = (std::abs(track.dcaXY()) <= (maxDcaXYFactor.value * (0.0105f + 0.0350f / pow(track.pt(), 1.1f))));

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

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

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

if (!(insideDCAxy) || TMath::Abs(track.dcaZ()) > maxDCA_Z)

Check warning on line 592 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_spectra->AddBinContent(3);
if (TPCnumberClsFound < minTPCnClsFound || TPC_nCls_Crossed_Rows < minNCrossedRowsTPC)
Expand Down Expand Up @@ -636,9 +636,9 @@

if (!isEventSelected(event))
return;

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

Check warning on line 641 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>)parShiftPt;
Particle_Tpc_nSigma_shift->SetParameters(par[0], par[1], par[2], par[3], par[4], par[5]);
}
Expand Down Expand Up @@ -725,9 +725,9 @@
continue;
histTrackcuts_data_particle->AddBinContent(3);

bool insideDCAxy = (std::abs(track.dcaXY()) <= (maxDcaXYFactor.value * (0.0105f + 0.0350f / pow(momentum, 1.1f))));

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

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

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

if (!(insideDCAxy) || TMath::Abs(track.dcaZ()) > maxDCA_Z)

Check warning on line 730 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_particle->AddBinContent(4);
if (TPCnumberClsFound < minTPCnClsFound || TPC_nCls_Crossed_Rows < minNCrossedRowsTPC)
Expand Down Expand Up @@ -791,8 +791,8 @@
if (lastLayer < lastRequiredTrdCluster)
continue;
}
Float_t TOFmass2 = ((track.mass()) * (track.mass()));

Check warning on line 794 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();

Check warning on line 795 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.
particle_reg.fill(HIST("histTOFm2"), momentum, TOFmass2);
particle_reg.fill(HIST("histTofSignalData"), momentum, beta);
particle_reg.fill(HIST("histTofNsigmaData"), momentum, TOFnSigma_particle);
Expand Down Expand Up @@ -821,7 +821,7 @@
if (lastLayer < lastRequiredTrdCluster)
continue;
}
Float_t TOFmass2 = ((track.mass()) * (track.mass()));

Check warning on line 824 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();
aparticle_reg.fill(HIST("histTOFm2"), momentum, TOFmass2);
aparticle_reg.fill(HIST("histTofSignalData"), momentum, beta);
Expand Down Expand Up @@ -937,7 +937,7 @@
if (lorentzVector_particle.Rapidity() < yMin || lorentzVector_particle.Rapidity() > yMax)
continue;

bool insideDCAxy = (std::abs(track.dcaXY()) <= (maxDcaXYFactor.value * (0.0105f + 0.0350f / pow(momentum, 1.1f))));

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

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

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

if (!(insideDCAxy) || TMath::Abs(track.dcaZ()) > maxDCA_Z)
continue;
Expand Down Expand Up @@ -1390,7 +1390,7 @@
float Chi2perClusterTPC = track.tpcChi2NCl();
float Chi2perClusterITS = track.itsChi2NCl();

bool insideDCAxy = (std::abs(track.dcaXY()) <= (maxDcaXYFactor.value * (0.0105f + 0.0350f / pow(track.pt(), 1.1f))));

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

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

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

if (!(insideDCAxy) || TMath::Abs(track.dcaZ()) > maxDCA_Z)
continue;
Expand Down
Loading