Skip to content

Commit 91d0b2e

Browse files
authored
Remove unused ptBhadMother assignment
Removed assignment of ptBhadMother as it is no longer needed.
1 parent ac44173 commit 91d0b2e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎PWGHF/D2H/TableProducer/treeCreatorDstarSpinAlignMixing.cxx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ struct HfTreeCreatorDstarSpinAlignMixing {
254254
return;
255255
}
256256
origin = candidate.originMcRec();
257-
ptBhadMother = candidate.ptBhadMotherPart();
258257
int const pdgBhadMother = candidate.pdgBhadMotherPart();
259258
// For unknown reasons there are charm hadrons coming directly from beauty diquarks without an intermediate B-hadron which have an unreasonable correlation between the pT of the charm hadron and the beauty mother. We also remove charm hadrons from quarkonia.
260259
if (origin == RecoDecay::OriginType::NonPrompt && (pdgBhadMother == 5101 || pdgBhadMother == 5103 || pdgBhadMother == 5201 || pdgBhadMother == 5203 || pdgBhadMother == 5301 || pdgBhadMother == 5303 || pdgBhadMother == 5401 || pdgBhadMother == 5403 || pdgBhadMother == 5503 || pdgBhadMother == 553 || pdgBhadMother == 555 || pdgBhadMother == 557)) { // o2-linter: disable=pdg/explicit-code, magic-number (constants not in the PDG header)

0 commit comments

Comments
 (0)