Skip to content
Snippets Groups Projects
Commit fd5ccd75 authored by Stewart Martin-Haugh's avatar Stewart Martin-Haugh
Browse files

Simplify conditions setup

parent 6dd215e7
No related merge requests found
......@@ -14,6 +14,7 @@ if globalflags.InputFormat.is_bytestream():
# ----------------------------------------------------------------
# Setup Views
# ----------------------------------------------------------------
from AthenaCommon.AlgSequence import AthSequencer
viewSeq = AthSequencer("AthViewSeq", Sequential=True, ModeOR=False, StopOverride=False)
topSequence += viewSeq
......
......@@ -62,8 +62,9 @@ if TriggerFlags.doMuon:
from RecExConfig.RecFlags import rec
if doL2SA:
from ViewAlgs.ViewAlgsConf import EventViewCreatorAlgorithm
from AthenaCommon.AlgSequence import AthSequencer
l2MuViewNode = AthSequencer("l2MuViewNode", Sequential=False, ModeOR=False, StopOverride=False)
from ViewAlgs.ViewAlgsConf import EventViewCreatorAlgorithm
l2MuViewsMaker = EventViewCreatorAlgorithm("l2MuViewsMaker", OutputLevel=DEBUG)
l2MuViewsMaker.ViewFallThrough = True
......
......@@ -228,16 +228,7 @@ for mod in modifierList:
#--------------------------------------------------------------
# Conditions setup.
#--------------------------------------------------------------
from IOVSvc.IOVSvcConf import CondSvc
svcMgr += CondSvc()
from AthenaCommon.AlgSequence import AthSequencer
condSeq = AthSequencer("AthCondSeq")
from IOVSvc.IOVSvcConf import CondInputLoader
condSeq += CondInputLoader("CondInputLoader")
from IOVDbSvc.CondDB import conddb
from IOVDbSvc.CondDB import conddb #This import will also set up CondInputLoader
conddb.setGlobalTag(globalflags.ConditionsTag())
from AthenaCommon.AlgSequence import AlgSequence
......
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