Skip to content

Commit

Permalink
[PWGCF] FemtoUniverse: Filling histos for more diff. mult bins (Alice…
Browse files Browse the repository at this point in the history
  • Loading branch information
prchakra authored Dec 24, 2024
1 parent 7c8709e commit 75e687d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions PWGCF/FemtoUniverse/Core/FemtoUniversePairWithCentMultKt.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class FemtoUniversePairWithCentMultKt
template <typename t1, typename t2>
void fillkT(t1 kstar_value, t1 kt_value, t2 folder)
{
if (kt_value < ktBins[1]) {
if (kt_value >= ktBins[0] && kt_value < ktBins[1]) {
pairWithCentMultKtRegistry->fill(folder + HIST("kstar_kt_0_1"), kstar_value);
} else if (kt_value < ktBins[2]) {
pairWithCentMultKtRegistry->fill(folder + HIST("kstar_kt_1_2"), kstar_value);
Expand Down Expand Up @@ -272,12 +272,18 @@ class FemtoUniversePairWithCentMultKt
template <typename t1, typename t2>
void fillkT3D(t1 qout_value, t1 qside_value, t1 qlong_value, t1 kt_value, t2 folder)
{
if (kt_value < ktBins[1]) {
if (kt_value >= ktBins[0] && kt_value < ktBins[1]) {
pairWithCentMultKtRegistry->fill(folder + HIST("q3D_kt_0_1"), qout_value, qside_value, qlong_value);
} else if (kt_value < ktBins[2]) {
pairWithCentMultKtRegistry->fill(folder + HIST("q3D_kt_1_2"), qout_value, qside_value, qlong_value);
} else if (kt_value < ktBins[3]) {
pairWithCentMultKtRegistry->fill(folder + HIST("q3D_kt_2_3"), qout_value, qside_value, qlong_value);
} else if (kt_value < ktBins[4]) {
pairWithCentMultKtRegistry->fill(folder + HIST("q3D_kt_3_4"), qout_value, qside_value, qlong_value);
} else if (kt_value < ktBins[5]) {
pairWithCentMultKtRegistry->fill(folder + HIST("q3D_kt_4_5"), qout_value, qside_value, qlong_value);
} else if (kt_value < ktBins[6]) {
pairWithCentMultKtRegistry->fill(folder + HIST("q3D_kt_5_6"), qout_value, qside_value, qlong_value);
}
}

Expand Down

0 comments on commit 75e687d

Please sign in to comment.