Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Moore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Moore
Commits
0a9f63ce
Commit
0a9f63ce
authored
1 year ago
by
Sebastien Ponce
Browse files
Options
Downloads
Plain Diff
Merge branch 'jmarchan-ledMonitoring' into 'master'
Include LED monitoring See merge request
!1474
parents
21e59fa1
5e3b2ce0
No related branches found
No related tags found
2 merge requests
!2794
Merge master into FTRetinaSeedRawBanks
,
!1474
Include LED monitoring
Pipeline
#6494498
passed
1 year ago
Stage: check
Stage: build
Stage: docs
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Hlt/RecoConf/python/RecoConf/calo_data_monitoring.py
+51
-1
51 additions, 1 deletion
Hlt/RecoConf/python/RecoConf/calo_data_monitoring.py
with
51 additions
and
1 deletion
Hlt/RecoConf/python/RecoConf/calo_data_monitoring.py
+
51
−
1
View file @
0a9f63ce
...
...
@@ -13,7 +13,11 @@ from PyConf import configurable
from
PyConf.application
import
make_odin
from
PyConf.Algorithms
import
(
CaloChargedPIDsMonitor
,
CaloFutureClusterMonitor
,
CaloFutureDigitMonitor
,
CaloFutureTimeAlignment
,
CaloTAEData
,
CaloFuturePedestal
)
CaloFutureTimeAlignment
,
CaloTAEData
,
CaloFuturePedestal
,
CaloFutureLEDMonitor
)
from
PyConf.Algorithms
import
CaloFutureRawToDigits
from
PyConf.application
import
default_raw_banks
from
DDDB.CheckDD4Hep
import
UseDD4Hep
@configurable
...
...
@@ -101,6 +105,52 @@ def monitor_calo_digits(calo,
return
ecal_digit_moni
,
hcal_digit_moni
@configurable
def
monitor_calo_led
(
calo
):
ecalpath
=
'
/world/DownstreamRegion/Ecal:DetElement-Info-IOV
'
if
UseDD4Hep
else
'
/dd/Structure/LHCb/DownstreamRegion/Ecal
'
hcalpath
=
'
/world/DownstreamRegion/Hcal:DetElement-Info-IOV
'
if
UseDD4Hep
else
'
/dd/Structure/LHCb/DownstreamRegion/Hcal
'
rawEventCalo
=
default_raw_banks
(
"
Calo
"
)
rawEventCaloError
=
default_raw_banks
(
"
CaloError
"
)
adc_alg_ecal
=
CaloFutureRawToDigits
(
name
=
'
FutureEcalZSup_withPinDiodes
'
,
RawBanks
=
rawEventCalo
,
ErrorRawBanks
=
rawEventCaloError
,
DetectorLocation
=
ecalpath
,
DecodePinData
=
True
)
ecal_led_moni
=
CaloFutureLEDMonitor
(
name
=
"
LEDMonitorEcal
"
,
InputODIN
=
make_odin
(),
Input
=
adc_alg_ecal
.
OutputDigitData
,
CheckNCell
=
5
,
# Number of Cells to be looked for a LED to be declared as fired
PedestalRate
=
64
,
# Accept rate (%)
ADCThreshold
=
30
,
# ADC threshold for a PIN to be declared as fired
Profile
=
True
)
adc_alg_hcal
=
CaloFutureRawToDigits
(
name
=
'
FutureHcalZSup_withPinDiodes
'
,
RawBanks
=
rawEventCalo
,
ErrorRawBanks
=
rawEventCaloError
,
DetectorLocation
=
hcalpath
,
DecodePinData
=
True
)
hcal_led_moni
=
CaloFutureLEDMonitor
(
name
=
"
LEDMonitorHcal
"
,
InputODIN
=
make_odin
(),
Input
=
adc_alg_hcal
.
OutputDigitData
,
CheckNCell
=
5
,
# Number of Cells to be looked for a LED to be declared as fired
PedestalRate
=
64
,
# Accept rate (%)
ADCThreshold
=
30
,
# ADC threshold for a PIN to be declared as fired
Profile
=
True
)
return
ecal_led_moni
,
hcal_led_moni
@configurable
def
monitor_calo_time_alignment
(
calo
,
adcFilterEcal
=-
100
,
...
...
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