Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Corryvreckan
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Naomi Davis
Corryvreckan
Commits
9ec449f4
Commit
9ec449f4
authored
2 years ago
by
Finn King
Browse files
Options
Downloads
Patches
Plain Diff
AnalysisEfficiency: Fixed filling of fake hits vs. time.
parent
6580cf02
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/modules/AnalysisEfficiency/AnalysisEfficiency.cpp
+4
-4
4 additions, 4 deletions
src/modules/AnalysisEfficiency/AnalysisEfficiency.cpp
with
4 additions
and
4 deletions
src/modules/AnalysisEfficiency/AnalysisEfficiency.cpp
+
4
−
4
View file @
9ec449f4
...
@@ -620,8 +620,8 @@ StatusCode AnalysisEfficiency::run(const std::shared_ptr<Clipboard>& clipboard)
...
@@ -620,8 +620,8 @@ StatusCode AnalysisEfficiency::run(const std::shared_ptr<Clipboard>& clipboard)
}
}
hFakePixelPerEvent
->
Fill
(
fake_hits
);
hFakePixelPerEvent
->
Fill
(
fake_hits
);
fakePixelPerEventVsTime
->
Fill
(
fake_hits
,
static_cast
<
double
>
(
Units
::
convert
(
event
->
start
(),
"s"
)));
fakePixelPerEventVsTime
->
Fill
(
static_cast
<
double
>
(
Units
::
convert
(
event
->
start
(),
"s"
))
,
fake_hits
);
fakePixelPerEventVsTimeLong
->
Fill
(
fake_hits
,
static_cast
<
double
>
(
Units
::
convert
(
event
->
start
(),
"s"
)));
fakePixelPerEventVsTimeLong
->
Fill
(
static_cast
<
double
>
(
Units
::
convert
(
event
->
start
(),
"s"
))
,
fake_hits
);
hFakeClusterPerEvent
->
Fill
(
fake_clusters
);
hFakeClusterPerEvent
->
Fill
(
fake_clusters
);
}
else
if
(
m_fake_rate_sensoredge
>
0
)
{
}
else
if
(
m_fake_rate_sensoredge
>
0
)
{
...
@@ -654,8 +654,8 @@ StatusCode AnalysisEfficiency::run(const std::shared_ptr<Clipboard>& clipboard)
...
@@ -654,8 +654,8 @@ StatusCode AnalysisEfficiency::run(const std::shared_ptr<Clipboard>& clipboard)
fakePixelPerEventMap
->
Fill
(
pixel
->
column
(),
pixel
->
row
(),
1
);
fakePixelPerEventMap
->
Fill
(
pixel
->
column
(),
pixel
->
row
(),
1
);
}
}
hFakePixelPerEvent
->
Fill
(
fake_hits
);
hFakePixelPerEvent
->
Fill
(
fake_hits
);
fakePixelPerEventVsTime
->
Fill
(
fake_hits
,
static_cast
<
double
>
(
Units
::
convert
(
event
->
start
(),
"s"
)));
fakePixelPerEventVsTime
->
Fill
(
static_cast
<
double
>
(
Units
::
convert
(
event
->
start
(),
"s"
))
,
fake_hits
);
fakePixelPerEventVsTimeLong
->
Fill
(
fake_hits
,
static_cast
<
double
>
(
Units
::
convert
(
event
->
start
(),
"s"
)));
fakePixelPerEventVsTimeLong
->
Fill
(
static_cast
<
double
>
(
Units
::
convert
(
event
->
start
(),
"s"
))
,
fake_hits
);
// get and iterate dut clusters from clipboard
// get and iterate dut clusters from clipboard
auto
clusters
=
clipboard
->
getData
<
Cluster
>
(
m_detector
->
getName
());
auto
clusters
=
clipboard
->
getData
<
Cluster
>
(
m_detector
->
getName
());
...
...
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