File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
HLTrigger/Configuration/python Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,8 @@ def customizeHLTfor47047(process):
118118 delattr (process , esProducer .label ())
119119
120120 for prod in producers_by_type (process , "HBHERecHitProducerPortable@alpaka" , "alpaka_serial_sync::HBHERecHitProducerPortable" ):
121+ if not hasattr (prod , 'mahiPulseOffSets' ):
122+ continue
121123 pulseOffsetLabel = prod .mahiPulseOffSets .getModuleLabel ()
122124 if hasattr (process , pulseOffsetLabel ):
123125 esProducer = getattr (process , pulseOffsetLabel )
@@ -127,6 +129,8 @@ def customizeHLTfor47047(process):
127129 delattr (process , prod .label ())
128130
129131 for prod in producers_by_type (process , "PFClusterSoAProducer@alpaka" , "alpaka_serial_sync::PFClusterSoAProducer" ):
132+ if not hasattr (prod , 'pfClusterParams' ):
133+ continue
130134 clusterParamsLabel = prod .pfClusterParams .getModuleLabel ()
131135 if hasattr (process , clusterParamsLabel ):
132136 esProducer = getattr (process , clusterParamsLabel )
You can’t perform that action at this time.
0 commit comments