Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bdaq53
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
silab
bdaq53
Commits
627e6ea1
Commit
627e6ea1
authored
4 years ago
by
dpohl
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: use online analysis for rd53a for now
parent
69e7c1b9
No related branches found
No related tags found
2 merge requests
!418
Release v1.5.0
,
!401
Fix MacOS bug and enhance online analysis
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bdaq53/analysis/online.py
+2
-2
2 additions, 2 deletions
bdaq53/analysis/online.py
with
2 additions
and
2 deletions
bdaq53/analysis/online.py
+
2
−
2
View file @
627e6ea1
...
@@ -246,7 +246,7 @@ class OccupancyHistogramming(OnlineHistogrammingBase):
...
@@ -246,7 +246,7 @@ class OccupancyHistogramming(OnlineHistogrammingBase):
No event building.
No event building.
'''
'''
def
__init__
(
self
,
chip_type
):
def
__init__
(
self
,
chip_type
=
'
rd53a
'
):
if
'
rd53a
'
in
chip_type
.
lower
():
if
'
rd53a
'
in
chip_type
.
lower
():
super
().
__init__
(
shape
=
(
400
,
192
))
super
().
__init__
(
shape
=
(
400
,
192
))
self
.
analysis_function_kwargs
=
{
'
is_fe_high_word
'
:
-
1
,
'
is_data_header
'
:
0
,
'
data_word
'
:
0
}
self
.
analysis_function_kwargs
=
{
'
is_fe_high_word
'
:
-
1
,
'
is_data_header
'
:
0
,
'
data_word
'
:
0
}
...
@@ -266,7 +266,7 @@ class TotHistogramming(OnlineHistogrammingBase):
...
@@ -266,7 +266,7 @@ class TotHistogramming(OnlineHistogrammingBase):
'''
'''
_queue_timeout
=
0.01
# max blocking time to delete object [s]
_queue_timeout
=
0.01
# max blocking time to delete object [s]
def
__init__
(
self
,
chip_type
):
def
__init__
(
self
,
chip_type
=
'
rd53a
'
):
if
'
rd53a
'
in
chip_type
.
lower
():
if
'
rd53a
'
in
chip_type
.
lower
():
super
().
__init__
(
shape
=
(
400
,
192
,
16
))
super
().
__init__
(
shape
=
(
400
,
192
,
16
))
self
.
analysis_function_kwargs
=
{
'
is_fe_high_word
'
:
-
1
,
'
is_data_header
'
:
0
,
'
data_word
'
:
0
}
self
.
analysis_function_kwargs
=
{
'
is_fe_high_word
'
:
-
1
,
'
is_data_header
'
:
0
,
'
data_word
'
:
0
}
...
...
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