Skip to content

Commit 087f542

Browse files
committed
[PWGDQ] Small bug fix with muon realignment
Realigned muon tracks failing the refit procedure are now skipped in table-maker.
1 parent 1f2ff71 commit 087f542

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PWGDQ/TableProducer/tableMaker.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,6 +1176,7 @@ struct TableMaker {
11761176
auto muonRealignSelected = tracksMuonRealign.sliceBy(fwdtrackRealignPerMuon, muonId.fwdtrackId());
11771177
if (muonRealignSelected.size() == 1) {
11781178
for (const auto& muonRealign : muonRealignSelected) {
1179+
if (muonRealign.isRemovable() == 1) { continue; }
11791180
LOGF(debug, "Muon original - collisionId:%d x:%g y:%g z:%g phi:%g tgl:%g signed1pt:%g pt:%g p:%g eta:%g chi2:%g", muon.collisionId(), muon.x(), muon.y(), muon.z(), muon.phi(), muon.tgl(), muon.signed1Pt(), muon.pt(), muon.p(), muon.eta(), muon.chi2());
11801181
LOGF(debug, "Muon realigned - collisionId:%d x:%g y:%g z:%g phi:%g tgl:%g signed1pt:%g pt:%g p:%g eta:%g chi2:%g", muonRealign.collisionId(), muonRealign.x(), muonRealign.y(), muonRealign.z(), muonRealign.phi(), muonRealign.tgl(), muonRealign.signed1Pt(), muonRealign.pt(), muonRealign.p(), muonRealign.eta(), muonRealign.chi2());
11811182
VarManager::FillTrack<TMuonRealignFillMap>(muonRealign);

0 commit comments

Comments
 (0)