Skip to content

Commit 565b80e

Browse files
committed
Added histograms for dPhiStar versus R
1 parent 64dc408 commit 565b80e

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

PWGCF/MultiparticleCorrelations/Tasks/threeParticleCorrelations.cxx

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,8 @@ struct ThreeParticleCorrelations {
266266
rPhiStarRegistry.add("hSEPhiStarMean_SS", "hSEPhiStarMean_SS", {HistType::kTH2D, {{121, -0.3025, 0.3025}, {101, -0.0505, 0.0505}}});
267267
rPhiStarRegistry.add("hSEPhiStarMean_SSP", "hSEPhiStarMean_SSP", {HistType::kTH2D, {{121, -0.3025, 0.3025}, {101, -0.0505, 0.0505}}});
268268
rPhiStarRegistry.add("hSEPhiStarMean_SSN", "hSEPhiStarMean_SSN", {HistType::kTH2D, {{121, -0.3025, 0.3025}, {101, -0.0505, 0.0505}}});
269+
rPhiStarRegistry.add("hSEPhiStarRadial_OS", "hSEPhiStarRadial_OS", {HistType::kTH2D, {{121, -0.3025, 0.3025}, {170, 0.8, 2.5}}});
270+
rPhiStarRegistry.add("hSEPhiStarRadial_SS", "hSEPhiStarRadial_SS", {HistType::kTH2D, {{121, -0.3025, 0.3025}, {170, 0.8, 2.5}}});
269271

270272
rPhiStarRegistry.add("hMEPhiStarIR_OS", "hMEPhiStarIR_OS", {HistType::kTH2D, {{121, -0.3025, 0.3025}, {101, -0.0505, 0.0505}}});
271273
rPhiStarRegistry.add("hMEPhiStarIR_SS", "hMEPhiStarIR_SS", {HistType::kTH2D, {{121, -0.3025, 0.3025}, {101, -0.0505, 0.0505}}});
@@ -275,6 +277,8 @@ struct ThreeParticleCorrelations {
275277
rPhiStarRegistry.add("hMEPhiStarMean_SS", "hMEPhiStarMean_SS", {HistType::kTH2D, {{121, -0.3025, 0.3025}, {101, -0.0505, 0.0505}}});
276278
rPhiStarRegistry.add("hMEPhiStarMean_SSP", "hMEPhiStarMean_SSP", {HistType::kTH2D, {{121, -0.3025, 0.3025}, {101, -0.0505, 0.0505}}});
277279
rPhiStarRegistry.add("hMEPhiStarMean_SSN", "hMEPhiStarMean_SSN", {HistType::kTH2D, {{121, -0.3025, 0.3025}, {101, -0.0505, 0.0505}}});
280+
rPhiStarRegistry.add("hMEPhiStarRadial_OS", "hMEPhiStarRadial_OS", {HistType::kTH2D, {{121, -0.3025, 0.3025}, {170, 0.8, 2.5}}});
281+
rPhiStarRegistry.add("hMEPhiStarRadial_SS", "hMEPhiStarRadial_SS", {HistType::kTH2D, {{121, -0.3025, 0.3025}, {170, 0.8, 2.5}}});
278282

279283
// Efficiency
280284
rMCRegistry.add("hGenerated", "hGenerated", {HistType::kTH3D, {{trackPtAxis}, {trackEtaAxis}, {centralityAxis}}});
@@ -1229,8 +1233,8 @@ struct ThreeParticleCorrelations {
12291233
for (double r = rMin; r <= rMax; r += 0.01) {
12301234
dPhiStar = RecoDecay::constrainAngle(dPhi + std::asin(phaseProton * r) - std::asin(phaseTrack * r), -constants::math::PIHalf);
12311235

1232-
if (r == rMin) {
1233-
if (!Mix) { // Same-event
1236+
if (r == rMin) { // TPC inner radius
1237+
if (!Mix) { // Same-event
12341238
if (proton.sign() * track.sign() == -1) { // OS (Electric charge)
12351239
rPhiStarRegistry.fill(HIST("hSEPhiStarIR_OS"), dPhiStar, dEta);
12361240
} else if (proton.sign() * track.sign() == 1) { // SS (Electric charge)
@@ -1242,7 +1246,7 @@ struct ThreeParticleCorrelations {
12421246
}
12431247
}
12441248

1245-
} else { // Mixed-event
1249+
} else { // Mixed-event
12461250
if (proton.sign() * track.sign() == -1) { // OS (Electric charge)
12471251
rPhiStarRegistry.fill(HIST("hMEPhiStarIR_OS"), dPhiStar, dEta);
12481252
} else if (proton.sign() * track.sign() == 1) { // SS (Electric charge)
@@ -1262,6 +1266,21 @@ struct ThreeParticleCorrelations {
12621266
}
12631267
}
12641268

1269+
if (!Mix) { // Same-event
1270+
if (proton.sign() * track.sign() == -1) { // OS (Electric charge)
1271+
rPhiStarRegistry.fill(HIST("hSEPhiStarRadial_OS"), dPhiStar, r);
1272+
} else if (proton.sign() * track.sign() == 1) { // SS (Electric charge)
1273+
rPhiStarRegistry.fill(HIST("hSEPhiStarRadial_SS"), dPhiStar, r);
1274+
}
1275+
1276+
} else { // Mixed-event
1277+
if (proton.sign() * track.sign() == -1) { // OS (Electric charge)
1278+
rPhiStarRegistry.fill(HIST("hMEPhiStarRadial_OS"), dPhiStar, r);
1279+
} else if (proton.sign() * track.sign() == 1) { // SS (Electric charge)
1280+
rPhiStarRegistry.fill(HIST("hMEPhiStarRadial_SS"), dPhiStar, r);
1281+
}
1282+
}
1283+
12651284
dPhiStarMean += (dPhiStar / 170);
12661285
}
12671286
// End of the TPC radius loop

0 commit comments

Comments
 (0)