Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Tadej Novak
athena
Commits
bfbc20ed
Verified
Commit
bfbc20ed
authored
Aug 31, 2021
by
Tadej Novak
Browse files
DerivationFrameworkMCTruth: HepMC3 fix
parent
4f9c24c9
Pipeline
#2974816
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
PhysicsAnalysis/DerivationFramework/DerivationFrameworkMCTruth/src/CompactHardTruth.cxx
View file @
bfbc20ed
...
...
@@ -1409,7 +1409,11 @@ bool CompactHardTruth::isParton(HepMC::ConstGenParticlePtr p) {
// It should have been detached from hadronization vertex.
bool
CompactHardTruth
::
isFinalParton
(
HepMC
::
ConstGenParticlePtr
p
)
{
if
(
!
isParton
(
p
))
return
false
;
#ifdef HEPMC3
auto
endp
=
p
->
end_vertex
();
#else
auto
*
endp
=
p
->
end_vertex
();
#endif
return
endp
==
nullptr
;
}
...
...
Write
Preview
Markdown
is supported
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