Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PWGCF] corrected proton anti-protn vs. FT0M profiles added #9629

Merged
merged 1 commit into from
Jan 30, 2025
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
6 changes: 6 additions & 0 deletions PWGCF/EbyEFluctuations/Tasks/netprotonCumulantsMc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@
histos.add("hrecProfileTotalProton", "Reconstructed total proton number vs. centrality", kTProfile, {centAxis});
histos.add("hrecProfileProton", "Reconstructed proton number vs. centrality", kTProfile, {centAxis});
histos.add("hrecProfileAntiproton", "Reconstructed antiproton number vs. centrality", kTProfile, {centAxis});
histos.add("hCorrProfileTotalProton", "Eff. Corrected total proton number vs. centrality", kTProfile, {centAxis});
histos.add("hCorrProfileProton", "Eff. Corrected proton number vs. centrality", kTProfile, {centAxis});
histos.add("hCorrProfileAntiproton", "Eff. Corrected antiproton number vs. centrality", kTProfile, {centAxis});

if (cfgIsCalculateCentral) {
// uncorrected
Expand Down Expand Up @@ -1131,6 +1134,9 @@
histos.fill(HIST("hrecProfileTotalProton"), cent, (nProt + nAntiprot));
histos.fill(HIST("hrecProfileProton"), cent, nProt);
histos.fill(HIST("hrecProfileAntiproton"), cent, nAntiprot);
histos.fill(HIST("hCorrProfileTotalProton"), cent, (powerEffProt[1] + powerEffAntiprot[1]));
histos.fill(HIST("hCorrProfileProton"), cent, powerEffProt[1]);
histos.fill(HIST("hCorrProfileAntiproton"), cent, powerEffAntiprot[1]);
recEbyeCollisions(cent, netProt, nProt, nAntiprot);

// Calculating q_{r,s} as required
Expand All @@ -1141,17 +1147,17 @@

//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

float fQ11_1 = fTCP1[1];

Check warning on line 1150 in PWGCF/EbyEFluctuations/Tasks/netprotonCumulantsMc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
float fQ11_2 = std::pow(fTCP1[1], 2);

Check warning on line 1151 in PWGCF/EbyEFluctuations/Tasks/netprotonCumulantsMc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
float fQ11_3 = std::pow(fTCP1[1], 3);

Check warning on line 1152 in PWGCF/EbyEFluctuations/Tasks/netprotonCumulantsMc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
float fQ11_4 = std::pow(fTCP1[1], 4);

Check warning on line 1153 in PWGCF/EbyEFluctuations/Tasks/netprotonCumulantsMc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
float fQ11_5 = std::pow(fTCP1[1], 5);

Check warning on line 1154 in PWGCF/EbyEFluctuations/Tasks/netprotonCumulantsMc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
float fQ11_6 = std::pow(fTCP1[1], 6);

Check warning on line 1155 in PWGCF/EbyEFluctuations/Tasks/netprotonCumulantsMc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.

float fQ21_3 = std::pow(fTCP0[1], 3);

Check warning on line 1157 in PWGCF/EbyEFluctuations/Tasks/netprotonCumulantsMc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
float fQ22_3 = std::pow(fTCP0[2], 3);

Check warning on line 1158 in PWGCF/EbyEFluctuations/Tasks/netprotonCumulantsMc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
float fQ31_2 = std::pow(fTCP1[1], 2);

Check warning on line 1159 in PWGCF/EbyEFluctuations/Tasks/netprotonCumulantsMc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
float fQ32_2 = std::pow(fTCP1[2], 2);

Check warning on line 1160 in PWGCF/EbyEFluctuations/Tasks/netprotonCumulantsMc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
float fQ33_2 = std::pow(fTCP1[3], 2);

float fQ61_1 = fTCP0[1];
Expand Down
Loading