Skip to content

Commit d3b0c1e

Browse files
committed
Pass v0 flags to AOD
1 parent 34d06b0 commit d3b0c1e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Detectors/AOD/src/AODProducerWorkflowSpec.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,7 @@ void AODProducerWorkflowDPL::fillSecondaryVertices(const o2::globaltracking::Rec
11561156
const auto& v0 = v0s[iv0];
11571157
auto trPosID = v0.getProngID(0);
11581158
auto trNegID = v0.getProngID(1);
1159+
uint8_t v0flags = v0.getBits();
11591160
int posTableIdx = -1, negTableIdx = -1, collID = -1;
11601161
auto item = mGIDToTableID.find(trPosID);
11611162
if (item != mGIDToTableID.end()) {
@@ -1176,7 +1177,7 @@ void AODProducerWorkflowDPL::fillSecondaryVertices(const o2::globaltracking::Rec
11761177
collID = itemV->second;
11771178
}
11781179
if (posTableIdx != -1 and negTableIdx != -1 and collID != -1) {
1179-
v0Cursor(collID, posTableIdx, negTableIdx);
1180+
v0Cursor(collID, posTableIdx, negTableIdx, v0flags);
11801181
mV0ToTableID[int(iv0)] = mTableV0ID++;
11811182
}
11821183
}

0 commit comments

Comments
 (0)