Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LHCb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
LHCb
LHCb
Commits
959adadb
Commit
959adadb
authored
1 year ago
by
Christopher Rob Jones
Browse files
Options
Downloads
Patches
Plain Diff
StateVector: Stream line printout
parent
eedbbefe
No related branches found
No related tags found
1 merge request
!4337
Misc. improvements to support RICH 4D Reco
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Event/TrackEvent/include/Event/StateVector.h
+7
-16
7 additions, 16 deletions
Event/TrackEvent/include/Event/StateVector.h
with
7 additions
and
16 deletions
Event/TrackEvent/include/Event/StateVector.h
+
7
−
16
View file @
959adadb
...
...
@@ -43,7 +43,7 @@ namespace LHCb {
StateVector
()
=
default
;
/// Fill the ASCII output stream
std
::
ostream
&
fillStream
(
std
::
ostream
&
s
)
const
;
std
::
ostream
&
fillStream
(
std
::
ostream
&
o
s
)
const
;
/// Retrieve the number of state parameters
[[
nodiscard
]]
unsigned
int
nParameters
()
const
;
...
...
@@ -132,12 +132,12 @@ namespace LHCb {
// Including forward declarations
inline
std
::
ostream
&
LHCb
::
StateVector
::
fillStream
(
std
::
ostream
&
s
)
const
{
s
<<
"{ "
<<
"parameters : "
<<
m_parameters
<<
std
::
endl
<<
"z : "
<<
(
float
)
m_z
<<
std
::
endl
<<
" }"
;
return
s
;
inline
std
::
ostream
&
LHCb
::
StateVector
::
fillStream
(
std
::
ostream
&
o
s
)
const
{
return
os
<<
"{ parameters : "
<<
m_parameters
<<
" z : "
<<
m_z
<<
" }"
;
}
inline
MsgStream
&
LHCb
::
StateVector
::
fillStream
(
MsgStream
&
os
)
const
{
return
os
<<
"{ parameters : "
<<
m_parameters
<<
" z : "
<<
m_z
<<
" }"
;
}
inline
const
Gaudi
::
TrackVector
&
LHCb
::
StateVector
::
parameters
()
const
{
return
m_parameters
;
}
...
...
@@ -198,12 +198,3 @@ inline void LHCb::StateVector::setTx( double value ) { m_parameters[2] = value;
inline
void
LHCb
::
StateVector
::
setTy
(
double
value
)
{
m_parameters
[
3
]
=
value
;
}
inline
void
LHCb
::
StateVector
::
setQOverP
(
double
value
)
{
m_parameters
[
4
]
=
value
;
}
inline
MsgStream
&
LHCb
::
StateVector
::
fillStream
(
MsgStream
&
os
)
const
{
os
<<
"{ "
<<
"parameters : "
<<
m_parameters
<<
std
::
endl
<<
"z : "
<<
(
float
)
m_z
<<
std
::
endl
<<
" }"
;
return
os
;
}
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