Skip to content
Snippets Groups Projects
Commit d60291a5 authored by scott snyder's avatar scott snyder
Browse files

LArMonitoring: Don't make duplicate histograms.

LArRODMonAlg and LArRODMonTool try to configure the same histograms.
If we run them in the same job, this can lead to THistSvc crashing
with a double-delete in finalize.  Fix to avoid configuring
LArRODMonTool if the algorithm is requested.

Fixes crash with q220 with --thread=1.
parent 825882a5
No related branches found
No related tags found
No related merge requests found
...@@ -28,8 +28,9 @@ if 'ESD' not in DQMonFlags.monManEnvironment() and globalflags.DataSource == 'da ...@@ -28,8 +28,9 @@ if 'ESD' not in DQMonFlags.monManEnvironment() and globalflags.DataSource == 'da
from LArMonitoring.LArDigitMonAlg import LArDigitMonConfigOld from LArMonitoring.LArDigitMonAlg import LArDigitMonConfigOld
topSequence +=LArDigitMonConfigOld(DQMonFlags) topSequence +=LArDigitMonConfigOld(DQMonFlags)
from LArMonitoring.LArRODMonAlg import LArRODMonConfigOld if not DQMonFlags.doLArMon():
topSequence +=LArRODMonConfigOld(DQMonFlags) from LArMonitoring.LArRODMonAlg import LArRODMonConfigOld
topSequence +=LArRODMonConfigOld(DQMonFlags)
from LArMonitoring.LArFEBMonAlg import LArFEBMonConfigOld from LArMonitoring.LArFEBMonAlg import LArFEBMonConfigOld
topSequence +=LArFEBMonConfigOld(DQMonFlags) topSequence +=LArFEBMonConfigOld(DQMonFlags)
......
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