We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3c2e47 commit 0899a24Copy full SHA for 0899a24
1 file changed
PWGDQ/Tasks/dqEfficiency_withAssoc.cxx
@@ -3730,6 +3730,9 @@ struct AnalysisDileptonTrack {
3730
// get full track info of tracks based on the index
3731
auto lepton1 = tracks.rawIteratorAt(dilepton.index0Id());
3732
auto lepton2 = tracks.rawIteratorAt(dilepton.index1Id());
3733
+ if (!lepton1.has_reducedMCTrack() || !lepton2.has_reducedMCTrack()) {
3734
+ continue;
3735
+ }
3736
auto lepton1MC = lepton1.reducedMCTrack();
3737
auto lepton2MC = lepton2.reducedMCTrack();
3738
// Check that the dilepton has zero charge
0 commit comments