Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Sherwood
athena
Commits
8de9ee69
Commit
8de9ee69
authored
4 years ago
by
Andrii Verbytskyi
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup of AtlasHepMC.
parent
ac6c952e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Generators/AtlasHepMC/AtlasHepMC/GenParticle.h
+0
-3
0 additions, 3 deletions
Generators/AtlasHepMC/AtlasHepMC/GenParticle.h
Generators/AtlasHepMC/AtlasHepMC/GenVertex.h
+0
-8
0 additions, 8 deletions
Generators/AtlasHepMC/AtlasHepMC/GenVertex.h
with
0 additions
and
11 deletions
Generators/AtlasHepMC/AtlasHepMC/GenParticle.h
+
0
−
3
View file @
8de9ee69
...
...
@@ -16,9 +16,6 @@ typedef HepMC3::ConstGenParticlePtr ConstGenParticlePtr;
inline
GenParticlePtr
newGenParticlePtr
(
const
HepMC3
::
FourVector
&
mom
=
HepMC3
::
FourVector
::
ZERO_VECTOR
(),
int
pid
=
0
,
int
status
=
0
)
{
return
std
::
make_shared
<
HepMC3
::
GenParticle
>
(
mom
,
pid
,
status
);
}
inline
GenParticlePtr
newGenParticlePtr
(
const
HepMC3
::
FourVector
&
mom
,
int
pid
,
int
status
,
HepMC
::
Flow
fl
,
HepMC
::
Polarization
pol
)
{
return
std
::
make_shared
<
HepMC3
::
GenParticle
>
(
mom
,
pid
,
status
);
}
inline
int
barcode
(
GenParticlePtr
p
){
std
::
shared_ptr
<
HepMC3
::
IntAttribute
>
barcode
=
p
->
attribute
<
HepMC3
::
IntAttribute
>
(
"barcode"
);
return
barcode
?
(
barcode
->
value
())
:
0
;
...
...
This diff is collapsed.
Click to expand it.
Generators/AtlasHepMC/AtlasHepMC/GenVertex.h
+
0
−
8
View file @
8de9ee69
...
...
@@ -34,14 +34,6 @@ inline int barcode(HepMC3::GenVertex p){
return
barcode
?
(
barcode
->
value
())
:
0
;
}
inline
std
::
vector
<
HepMC3
::
GenVertexPtr
>
DESCENDANTS
(
HepMC3
::
GenVertexPtr
endvtx
)
{
return
std
::
vector
<
HepMC3
::
GenVertexPtr
>
();
}
inline
std
::
vector
<
HepMC3
::
ConstGenVertexPtr
>
DESCENDANTS
(
HepMC3
::
ConstGenVertexPtr
endvtx
)
{
return
std
::
vector
<
HepMC3
::
ConstGenVertexPtr
>
();
}
inline
void
*
raw_pointer
(
GenVertexPtr
p
){
return
p
.
get
();}
inline
const
void
*
raw_pointer
(
ConstGenVertexPtr
p
){
return
p
.
get
();}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment