Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
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
!56972
MuonAlignErrorBase: Fix cppcheck warnings.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
MuonAlignErrorBase: Fix cppcheck warnings.
ssnyder/athena:cppcheck.MuonAlignErrorBase-20220922
into
master
Overview
4
Commits
1
Pipelines
1
Changes
3
Merged
Scott Snyder
requested to merge
ssnyder/athena:cppcheck.MuonAlignErrorBase-20220922
into
master
2 years ago
Overview
4
Commits
1
Pipelines
1
Changes
3
Expand
Base class initialization.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
8484bd28
1 commit,
2 years ago
3 files
+
23
−
11
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
MuonSpectrometer/MuonAlignment/MuonAlignError/MuonAlignErrorBase/MuonAlignErrorBase/AlignmentDeviation.h
+
15
−
1
Options
/*
Copyright (C) 2002-20
17
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-20
22
CERN for the benefit of the ATLAS collaboration
*/
#ifndef MUONALIGNERRORBASE_ALIGNMENTDEVIATION_H
@@ -19,6 +19,10 @@ namespace Trk {
*/
class
AlignmentDeviation
{
public:
AlignmentDeviation
(
const
std
::
vector
<
const
Trk
::
RIO_OnTrack
*>&
hits
,
// not owned
std
::
size_t
hitshash
,
bool
hitshashdone
);
virtual
~
AlignmentDeviation
()
{}
/**
@@ -69,6 +73,16 @@ namespace Trk {
bool
m_hitshashdone
;
};
inline
AlignmentDeviation
::
AlignmentDeviation
(
const
std
::
vector
<
const
Trk
::
RIO_OnTrack
*>&
hits
,
// not owned
std
::
size_t
hitshash
,
bool
hitshashdone
)
:
m_hits
(
hits
),
m_hitshash
(
hitshash
),
m_hitshashdone
(
hitshashdone
)
{
}
inline
void
AlignmentDeviation
::
getListOfHits
(
std
::
vector
<
const
Trk
::
RIO_OnTrack
*>&
hits
)
const
{
hits
=
m_hits
;
}
inline
std
::
size_t
AlignmentDeviation
::
getHashOfHits
()
const
{
return
m_hitshash
;
}
Loading