Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LHCb
DaVinci
Commits
35bcaf43
Commit
35bcaf43
authored
May 21, 2017
by
Alex Pearce
Browse files
Check for quarks and anti-quarks.
parent
b4ca8908
Changes
1
Hide whitespace changes
Inline
Side-by-side
Phys/DaVinciMCTools/src/BackgroundCategory.cpp
View file @
35bcaf43
...
...
@@ -585,8 +585,8 @@ BackgroundCategory::get_top_mother_of_MCParticle(const LHCb::MCParticle* candida
finalmother
=
tmpmother
;
tmpmother
=
finalmother
->
mother
();
if
(
m_ignoreQuarks
&&
tmpmother
!=
NULL
)
{
if
(
1
<=
tmpmother
->
particleID
().
pid
()
&&
tmpmother
->
particleID
().
pid
()
<=
8
)
{
if
(
1
<=
tmpmother
->
particleID
().
abs
pid
()
&&
tmpmother
->
particleID
().
abs
pid
()
<=
8
)
{
return
finalmother
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment