Skip to content

Commit 40cd69b

Browse files
authored
[PWGDQ] Dimuon fixes (AliceO2Group#7935)
* dimuon fixes * Clang format
1 parent 17b99b1 commit 40cd69b

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

PWGDQ/Tasks/dqEfficiency_withAssoc.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -743,8 +743,6 @@ struct AnalysisMuonSelection {
743743

744744
auto track = assoc.template reducedmuon_as<TMuons>();
745745
VarManager::FillTrack<TMuonFillMap>(track);
746-
// compute quantities which depend on the associated collision
747-
VarManager::FillPropagateMuon<TMuonFillMap>(track, event);
748746

749747
bool isCorrectAssoc = false;
750748
if (track.has_reducedMCTrack()) {

PWGDQ/Tasks/tableReader_withAssoc.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -677,8 +677,6 @@ struct AnalysisMuonSelection {
677677
auto track = assoc.template reducedmuon_as<TMuons>();
678678
filterMap = 0;
679679
VarManager::FillTrack<TMuonFillMap>(track);
680-
// compute quantities which depend on the associated collision
681-
VarManager::FillPropagateMuon<TMuonFillMap>(track, event);
682680
if (fConfigQA) {
683681
fHistMan->FillHistClass("TrackMuon_BeforeCuts", VarManager::fgValues);
684682
}
@@ -1377,7 +1375,7 @@ struct AnalysisSameEventPairing {
13771375
auto t2 = a2.template reducedmuon_as<TTracks>();
13781376
if (t1.matchMCHTrackId() == t2.matchMCHTrackId())
13791377
continue;
1380-
if (t1.matchMFTTrackId() == t2.matchMFTTrackId())
1378+
if (t1.matchMFTTrackId() == t2.matchMFTTrackId() && t1.matchMFTTrackId() >= 0)
13811379
continue;
13821380
sign1 = t1.sign();
13831381
sign2 = t2.sign();

0 commit comments

Comments
 (0)