Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Panoptes
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
Panoptes
Commits
1636636b
Commit
1636636b
authored
3 years ago
by
Christopher Rob Jones
Browse files
Options
Downloads
Patches
Plain Diff
Adapt to change in smartIDsHelper.globalPosition API
parent
ed000e20
No related branches found
No related tags found
No related merge requests found
Pipeline
#3739423
passed
3 years ago
Stage: test
Stage: .post
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Rich/RichOnlineMonitors/src/RichDataTuple.cpp
+1
-2
1 addition, 2 deletions
Rich/RichOnlineMonitors/src/RichDataTuple.cpp
Rich/RichOnlineMonitors/src/RichHitMapsMonitor.cpp
+5
-7
5 additions, 7 deletions
Rich/RichOnlineMonitors/src/RichHitMapsMonitor.cpp
with
6 additions
and
9 deletions
Rich/RichOnlineMonitors/src/RichDataTuple.cpp
+
1
−
2
View file @
1636636b
...
...
@@ -287,8 +287,7 @@ namespace Rich::Future::Mon {
m_tell40bit
.
emplace_back
(
100
*
(
24
*
(
tel40Data
.
sourceID
.
data
()
&
0x3F
)
+
tel40Data
.
connector
.
data
()
)
+
anodeData
.
bit
.
data
()
);
Gaudi
::
XYZPoint
gPos
;
smartIDsHelper
.
globalPosition
(
id
,
gPos
);
const
auto
gPos
=
smartIDsHelper
.
globalPosition
(
id
);
const
auto
lPos
=
smartIDsHelper
.
globalToPDPanel
(
gPos
);
m_spaceLocX
.
emplace_back
(
lPos
.
X
()
);
m_spaceLocY
.
emplace_back
(
lPos
.
Y
()
);
...
...
This diff is collapsed.
Click to expand it.
Rich/RichOnlineMonitors/src/RichHitMapsMonitor.cpp
+
5
−
7
View file @
1636636b
...
...
@@ -385,14 +385,12 @@ namespace Rich::Future::Mon {
if
(
m_fillSpacePlots
)
{
// get the spatial coordiates
Gaudi
::
XYZPoint
gPos
;
const
auto
gPos
=
smartIDsHelper
.
globalPosition
(
id
)
;
// info() << "ID " << id << endmsg;
if
(
smartIDsHelper
.
globalPosition
(
id
,
gPos
)
)
{
// info() << "gPos " << gPos << endmsg;
const
auto
lPos
=
smartIDsHelper
.
globalToPDPanel
(
gPos
);
// info() << "lPos " << lPos << endmsg;
fillHisto
(
h_hitMaps
[
rich
],
lPos
.
x
(),
lPos
.
y
()
);
}
// info() << "gPos " << gPos << endmsg;
const
auto
lPos
=
smartIDsHelper
.
globalToPDPanel
(
gPos
);
// info() << "lPos " << lPos << endmsg;
fillHisto
(
h_hitMaps
[
rich
],
lPos
.
x
(),
lPos
.
y
()
);
}
}
// hit loop
...
...
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