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
0ccef98a
Commit
0ccef98a
authored
May 25, 2017
by
Eduardo Rodrigues
Browse files
Merge branch 'bkgcat-fix' into 'DV4Strip26'
Check for quarks and anti-quarks. See merge request
!65
parents
b4ca8908
35bcaf43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Phys/DaVinciMCTools/src/BackgroundCategory.cpp
View file @
0ccef98a
...
...
@@ -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