Skip to content

Commit 6122e62

Browse files
authored
[PWGCF] calculate and apply V0s and cascades local density efficiency
calculate and apply V0s and cascades local density efficiency
1 parent 1efb512 commit 6122e62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGCF/Flow/Tasks/flowGFWOmegaXi.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ struct FlowGFWOmegaXi {
803803
if (isLambda) {
804804
setCurrentParticleWeights(weff, wacc, v0, vtxz, 2);
805805
int phibin = -999;
806-
phibin = hLocalDensity->FindBin(RecoDecay::constrainAngle(v0.phi(), -constants::math::TwoPI));
806+
phibin = hLocalDensity->FindBin(RecoDecay::constrainAngle(v0.phi(), -constants::math::PI));
807807
if (phibin > -900) {
808808
int density = hLocalDensity->Integral(phibin - cfgDeltaPhiLocDen, phibin + cfgDeltaPhiLocDen);
809809
setCurrentLocalDensityWeights(wloc, v0, density, 2);
@@ -889,7 +889,7 @@ struct FlowGFWOmegaXi {
889889
if (isOmega) {
890890
setCurrentParticleWeights(weff, wacc, casc, vtxz, 4);
891891
int phibin = -999;
892-
phibin = hLocalDensity->FindBin(RecoDecay::constrainAngle(casc.phi(), -constants::math::TwoPI));
892+
phibin = hLocalDensity->FindBin(RecoDecay::constrainAngle(casc.phi(), -constants::math::PI));
893893
if (phibin > -900) {
894894
int density = hLocalDensity->Integral(phibin - cfgDeltaPhiLocDen, phibin + cfgDeltaPhiLocDen);
895895
setCurrentLocalDensityWeights(wloc, casc, density, 4);
@@ -905,7 +905,7 @@ struct FlowGFWOmegaXi {
905905
if (isXi) {
906906
setCurrentParticleWeights(weff, wacc, casc, vtxz, 3);
907907
int phibin = -999;
908-
phibin = hLocalDensity->FindBin(RecoDecay::constrainAngle(casc.phi(), -constants::math::TwoPI));
908+
phibin = hLocalDensity->FindBin(RecoDecay::constrainAngle(casc.phi(), -constants::math::PI));
909909
if (phibin > -900) {
910910
int density = hLocalDensity->Integral(phibin - cfgDeltaPhiLocDen, phibin + cfgDeltaPhiLocDen);
911911
setCurrentLocalDensityWeights(wloc, casc, density, 3);

0 commit comments

Comments
 (0)