Skip to content
Snippets Groups Projects
Commit c372c48b authored by Christopher Rob Jones's avatar Christopher Rob Jones
Browse files

Add temporary workaround to fallback to 'Copy' PMT response model with DD4HEP

parent b8d0c7de
No related branches found
No related tags found
1 merge request!484Various RICH improvements for DD4HEP support
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment