Skip to content
Snippets Groups Projects
Commit 9f95a43e authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'overlay/data-lar-cond' into 'master'

OverlayBS: Do not try to set LAr conditions if LAr is disabled

See merge request atlas/athena!16121
parents d9249647 8065c406
No related branches found
No related tags found
No related merge requests found
...@@ -226,12 +226,12 @@ print "overlay_trf: final outStream = ", outStream ...@@ -226,12 +226,12 @@ print "overlay_trf: final outStream = ", outStream
ServiceMgr.MessageSvc.OutputLevel = INFO ServiceMgr.MessageSvc.OutputLevel = INFO
ServiceMgr.MessageSvc.Format = "% F%45W%S%7W%R%T %0W%M" ServiceMgr.MessageSvc.Format = "% F%45W%S%7W%R%T %0W%M"
if hasattr(runArgs, 'fSampltag'): if DetFlags.overlay.LAr_on() :
conddb.addFolderWithTag("LAR_OFL","/LAR/ElecCalibMC/fSampl", runArgs.fSampltag + digitizationFlags.physicsList.get_Value(),force=True,forceMC=True,className="LArfSamplMC") if hasattr(runArgs, 'fSampltag'):
conddb.addFolderWithTag("LAR_OFL","/LAR/ElecCalibMC/fSampl", runArgs.fSampltag + digitizationFlags.physicsList.get_Value(),force=True,forceMC=True,className="LArfSamplMC")
else:
raise RuntimeError ("--fSampltag not specified on command-line - see --help message")
else:
raise RuntimeError ("--fSampltag not specified on command-line - see --help message")
#if DetFlags.overlay.Signal_on(): #if DetFlags.overlay.Signal_on():
# InputDBConnection = "COOLOFL_LAR/COMP200" # InputDBConnection = "COOLOFL_LAR/COMP200"
# conddb.addFolder("","/LAR/ElecCalibOfl/AutoCorrs/AutoCorr"+"<dbConnection>"+InputDBConnection+"</dbConnection>") # conddb.addFolder("","/LAR/ElecCalibOfl/AutoCorrs/AutoCorr"+"<dbConnection>"+InputDBConnection+"</dbConnection>")
......
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