Skip to content

Commit 2feb6b5

Browse files
committed
add PairMC missing set mag field
1 parent afd27ad commit 2feb6b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,6 +1611,9 @@ struct hadronnucleicorrelation {
16111611
if (selectedtracksPIDMC_antid.find(collision.globalIndex()) != selectedtracksPIDMC_antid.end()) {
16121612
mixbinsPID_antidantip[std::pair<int, float>{vertexBinToMix, centBinToMix}].push_back(std::make_shared<decltype(collision)>(collision));
16131613
}
1614+
1615+
PairMC->SetMagField1(collision.magField());
1616+
PairMC->SetMagField2(collision.magField());
16141617
} // coll
16151618

16161619
if (!mixbins_antid.empty()) {

0 commit comments

Comments
 (0)