Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
153
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
atlas
athena
Merge requests
!73653
xAOD::MuonSegment - Add Amg::Vector getters for position & direction - but not in AnalysisBase
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
xAOD::MuonSegment - Add Amg::Vector getters for position & direction - but not in AnalysisBase
jojungge/athena:SegmentAmg
into
main
Overview
16
Commits
3
Pipelines
0
Changes
2
Merged
Johannes Junggeburth
requested to merge
jojungge/athena:SegmentAmg
into
main
5 months ago
Overview
16
Commits
3
Pipelines
0
Changes
2
Expand
Adding helper function for convenience
Tagging
@goblirsc
,
@pscholer
Edited
5 months ago
by
Johannes Junggeburth
👍
0
👎
0
Merge request reports
Compare
main
version 2
6a798f19
5 months ago
version 1
6f9c559f
5 months ago
main (base)
and
latest version
latest version
4a49f612
3 commits,
5 months ago
version 2
6a798f19
2 commits,
5 months ago
version 1
6f9c559f
1 commit,
5 months ago
2 files
+
17
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
Event/xAOD/xAODMuon/Root/MuonSegment_v1.cxx
+
8
−
4
Options
/*
Copyright (C) 2002-202
0
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-202
4
CERN for the benefit of the ATLAS collaboration
*/
@@ -11,9 +11,13 @@
namespace
xAOD
{
MuonSegment_v1
::
MuonSegment_v1
()
:
SG
::
AuxElement
()
{
}
Amg
::
Vector3D
MuonSegment_v1
::
position
()
const
{
return
Amg
::
Vector3D
{
x
(),
y
(),
z
()};
}
Amg
::
Vector3D
MuonSegment_v1
::
direction
()
const
{
return
Amg
::
Vector3D
{
px
(),
py
(),
pz
()};
}
AUXSTORE_PRIMITIVE_GETTER
(
MuonSegment_v1
,
float
,
x
)
AUXSTORE_PRIMITIVE_GETTER
(
MuonSegment_v1
,
float
,
y
)
Loading