Skip to content

Commit ecf716f

Browse files
committed
fix bug in event mixing
1 parent 2ca3546 commit ecf716f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGDQ/Core/VarManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4352,7 +4352,7 @@ void VarManager::FillPairME(T1 const& t1, T2 const& t2, float* values)
43524352
values[kWV24ME] = (std::isnan(V22ME) || std::isinf(V22ME) || std::isnan(V24ME) || std::isinf(V24ME)) ? 0. : 1.0;
43534353

43544354
// coherent Jpsi A2
4355-
bool useCoherentJpsiA2 = fgUsedVars[kA2EP_TPC] || fgUsedVars[kA2EP_FT0A] || fgUsedVars[kA2EP_FT0C];
4355+
bool useCoherentJpsiA2 = fgUsedVars[kA2EPME_TPC] || fgUsedVars[kA2EPME_FT0A] || fgUsedVars[kA2EPME_FT0C];
43564356
if (useCoherentJpsiA2) {
43574357
ROOT::Math::Boost boostv12{v12.BoostToCM()};
43584358
ROOT::Math::PtEtaPhiMVector v_daughter = boostv12(t1.sign() > 0 ? v1 : v2);

0 commit comments

Comments
 (0)