Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Boole
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
Boole
Commits
c372c48b
Commit
c372c48b
authored
1 year ago
by
Christopher Rob Jones
Browse files
Options
Downloads
Patches
Plain Diff
Add temporary workaround to fallback to 'Copy' PMT response model with DD4HEP
parent
b8d0c7de
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!484
Various RICH improvements for DD4HEP support
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Rich/RichDigiSys/python/RichDigiSys/Configuration.py
+7
-0
7 additions, 0 deletions
Rich/RichDigiSys/python/RichDigiSys/Configuration.py
with
7 additions
and
0 deletions
Rich/RichDigiSys/python/RichDigiSys/Configuration.py
+
7
−
0
View file @
c372c48b
...
...
@@ -16,6 +16,7 @@
__author__
=
"
Chris Jones <Christopher.Rob.Jones@cern.ch>
"
from
Gaudi.Configuration
import
log
from
LHCbKernel.Configuration
import
*
from
Configurables
import
(
Rich__MC__Digi__Signal
,
Rich__MC__Digi__CopySummedDepositsToDigits
,
...
...
@@ -113,6 +114,12 @@ class RichDigiSysConf(LHCbConfigurableUser):
"
TimeGateLookupTableR1
"
)
response
.
TimeGateLookupTableR2
=
self
.
getProp
(
"
TimeGateLookupTableR2
"
)
elif
pdModel
==
"
DetailedPMT
"
and
UseDD4Hep
:
log
.
warning
(
"'
DetailedPMT
'
response model not (yet) supported with DD4HEP. Will fallback to
'
Copy
'
.
"
)
response
=
self
.
makeComponent
(
Rich__MC__Digi__CopySummedDepositsToDigits
,
"
RichPDResponse
"
)
else
:
raise
RuntimeError
(
...
...
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