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
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@
Configurable<bool> ConfFilterSwitch{"ConfFilterSwitch", false, "Switch for the FakeV0Filter function"};

// Particle masses
Double_t massLambda = o2::constants::physics::MassLambda0;

Check warning on line 85 in PWGCF/MultiparticleCorrelations/Tasks/ThreeParticleCorrelations.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.
Double_t DGaussSigma = 0.0021;

Check warning on line 86 in PWGCF/MultiparticleCorrelations/Tasks/ThreeParticleCorrelations.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.

// Efficiency histograms
TH1D** hEffPions = new TH1D*[2];
Expand All @@ -91,11 +91,11 @@
TH1D** hEffProtons = new TH1D*[2];

// Correlation variables
Int_t T_Sign;

Check warning on line 94 in PWGCF/MultiparticleCorrelations/Tasks/ThreeParticleCorrelations.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.
Double_t CandMass;

Check warning on line 95 in PWGCF/MultiparticleCorrelations/Tasks/ThreeParticleCorrelations.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.
Double_t* A_PID;

Check warning on line 96 in PWGCF/MultiparticleCorrelations/Tasks/ThreeParticleCorrelations.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.

Double_t DeltaPhi, DeltaEta;

Check warning on line 98 in PWGCF/MultiparticleCorrelations/Tasks/ThreeParticleCorrelations.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.

//================================================================================================================================================================================================================

Expand Down Expand Up @@ -133,7 +133,7 @@
QARegistry.add("hTOFPion", "hTOFPion", {HistType::kTH2D, {{TrackPtAxis}, {1000, -50, 50}}});
QARegistry.add("hTOFKaon", "hTOFKaon", {HistType::kTH2D, {{TrackPtAxis}, {1000, -50, 50}}});
QARegistry.add("hTOFProton", "hTOFProton", {HistType::kTH2D, {{TrackPtAxis}, {1000, -50, 50}}});

QARegistry.add("hInvMassLambda", "hInvMassLambda", {HistType::kTH3D, {{LambdaInvMassAxis}, {V0PtAxis}, {CentralityAxis}}});
QARegistry.add("hInvMassAntiLambda", "hInvMassAntiLambda", {HistType::kTH3D, {{LambdaInvMassAxis}, {V0PtAxis}, {CentralityAxis}}});

Expand Down Expand Up @@ -204,11 +204,11 @@
// Start of the Track QA
for (const auto& track : tracks) {
if (track.hasTOF()) {
QARegistry.fill(HIST("hTOFPion"), track.pt(), track.tofNSigmaPi());
QARegistry.fill(HIST("hTOFKaon"), track.pt(), track.tofNSigmaKa());
QARegistry.fill(HIST("hTOFProton"), track.pt(), track.tofNSigmaPr());
QARegistry.fill(HIST("hTOFPion"), track.pt(), track.tofNSigmaPi());
QARegistry.fill(HIST("hTOFKaon"), track.pt(), track.tofNSigmaKa());
QARegistry.fill(HIST("hTOFProton"), track.pt(), track.tofNSigmaPr());
}

A_PID = TrackPID(track);
if (A_PID[1] < 4.0) {
QARegistry.fill(HIST("hTrackPt"), track.pt());
Expand Down Expand Up @@ -434,7 +434,7 @@

//================================================================================================================================================================================================================

Double_t DeltaPhiShift(Double_t TriggerPhi, Double_t AssociatePhi)

Check warning on line 437 in PWGCF/MultiparticleCorrelations/Tasks/ThreeParticleCorrelations.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.
{

Double_t dPhi = TriggerPhi - AssociatePhi;
Expand Down Expand Up @@ -491,9 +491,9 @@
NSigmaTOF[2] = Track.tofNSigmaPr();
}

NSigma[0] = TMath::Sqrt(pow(NSigmaTPC[0], 2) + pow(NSigmaTOF[0], 2));

Check warning on line 494 in PWGCF/MultiparticleCorrelations/Tasks/ThreeParticleCorrelations.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
NSigma[1] = TMath::Sqrt(pow(NSigmaTPC[1], 2) + pow(NSigmaTOF[1], 2));

Check warning on line 495 in PWGCF/MultiparticleCorrelations/Tasks/ThreeParticleCorrelations.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
NSigma[2] = TMath::Sqrt(pow(NSigmaTPC[2], 2) + pow(NSigmaTOF[2], 2));

Check warning on line 496 in PWGCF/MultiparticleCorrelations/Tasks/ThreeParticleCorrelations.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

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

if (NSigma[0] <= std::min(NSigma[1], NSigma[2])) { // Pions
ID[0] = 0.0;
Expand Down
Loading