1 parent c69db9f commit ac7541bCopy full SHA for ac7541b
1 file changed
Modules/GLO/src/VertexingQcTask.cxx
@@ -215,7 +215,7 @@ void VertexingQcTask::monitorData(o2::framework::ProcessingContext& ctx)
215
mTimeUncVsNContrib->Fill(nContr, timeUnc);
216
mBeamSpot->Fill(x, y);
217
218
- if (mUseMC && mcLbl[i].isSet()) { // make sure the label was set
+ if (mUseMC && mcLbl[i].isSet() && mcLbl[i].getSourceID() == 0) { // make sure the label was set and to use only the underlying event
219
auto header = mMCReader.getMCEventHeader(mcLbl[i].getSourceID(), mcLbl[i].getEventID());
220
auto purity = mcLbl[i].getCorrWeight();
221
auto mult = header.GetNPrim();
0 commit comments