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

Merge branch 'newJO_import_fixes' into 'master'

Fix imports to reference TriggerMenuMT

See merge request atlas/athena!14664

Former-commit-id: 3a209a8a
parents da71d737 774bdf44
No related branches found
No related tags found
No related merge requests found
...@@ -283,7 +283,7 @@ def l2CaloAlgCfg( flags, roisKey="EMCaloRoIs" ): ...@@ -283,7 +283,7 @@ def l2CaloAlgCfg( flags, roisKey="EMCaloRoIs" ):
return acc, fastCalo return acc, fastCalo
def l2CaloRecoCfg( flags ): def l2CaloRecoCfg( flags ):
from TrigUpgradeTest.MenuComponents import InViewReco from TriggerMenuMT.HLTMenuConfig.Menu.MenuComponents import InViewReco
reco = InViewReco("FastCaloEMReco") reco = InViewReco("FastCaloEMReco")
algAcc, alg = l2CaloAlgCfg( flags, roisKey = reco.name+'RoIs' ) algAcc, alg = l2CaloAlgCfg( flags, roisKey = reco.name+'RoIs' )
...@@ -299,11 +299,11 @@ def l2ElectronCaloStepCfg( flags, chains ): ...@@ -299,11 +299,11 @@ def l2ElectronCaloStepCfg( flags, chains ):
# setup algorithms # setup algorithms
#acc.addSequence( seqAND('L2CaloEgamma'), parentName=parentSeq ) #acc.addSequence( seqAND('L2CaloEgamma'), parentName=parentSeq )
from TrigUpgradeTest.MenuComponents import NJMenuSequence from TriggerMenuMT.HLTMenuConfig.Menu.MenuComponents import NJMenuSequence
fhSeq = NJMenuSequence( 'ElectronFastCalo' ) fhSeq = NJMenuSequence( 'ElectronFastCalo' )
fhSeq.addFilter( chains, inKey = 'EMRoIDecisions' ) # out key named after sequence fhSeq.addFilter( chains, inKey = 'EMRoIDecisions' ) # out key named after sequence
from TrigUpgradeTest.MenuComponents import RecoFragmentsPool from TriggerMenuMT.HLTMenuConfig.Menu.MenuComponents import RecoFragmentsPool
# obtain the reconstruction CF fragment # obtain the reconstruction CF fragment
fhSeq.addReco( RecoFragmentsPool.retrieve( l2CaloRecoCfg, flags ) ) fhSeq.addReco( RecoFragmentsPool.retrieve( l2CaloRecoCfg, flags ) )
......
...@@ -7,12 +7,12 @@ from AthenaCommon.Constants import DEBUG,VERBOSE ...@@ -7,12 +7,12 @@ from AthenaCommon.Constants import DEBUG,VERBOSE
def l2PhotonCaloStepCfg( flags, chains ): def l2PhotonCaloStepCfg( flags, chains ):
from TrigUpgradeTest.MenuComponents import NJMenuSequence from TriggerMenuMT.HLTMenuConfig.Menu.MenuComponents import NJMenuSequence
fhSeq = NJMenuSequence( 'PhotonFastCalo' ) fhSeq = NJMenuSequence( 'PhotonFastCalo' )
fhSeq.addFilter( chains, inKey = 'EMRoIDecisions' ) fhSeq.addFilter( chains, inKey = 'EMRoIDecisions' )
from TrigUpgradeTest.ElectronMenuConfig import l2CaloRecoCfg # generator for the L2 Calo EM clustering from TrigUpgradeTest.ElectronMenuConfig import l2CaloRecoCfg # generator for the L2 Calo EM clustering
from TrigUpgradeTest.MenuComponents import RecoFragmentsPool from TriggerMenuMT.HLTMenuConfig.Menu.MenuComponents import RecoFragmentsPool
# obtain the reconstruction CF fragment # obtain the reconstruction CF fragment
fhSeq.addReco( RecoFragmentsPool.retrieve( l2CaloRecoCfg, flags ) ) fhSeq.addReco( RecoFragmentsPool.retrieve( l2CaloRecoCfg, flags ) )
...@@ -46,7 +46,7 @@ def l2PhotonAlgCfg( flags ): ...@@ -46,7 +46,7 @@ def l2PhotonAlgCfg( flags ):
return acc, photonFex return acc, photonFex
def l2PhotonRecoCfg( flags ): def l2PhotonRecoCfg( flags ):
from TrigUpgradeTest.MenuComponents import InViewReco from TriggerMenuMT.HLTMenuConfig.Menu.MenuComponents import InViewReco
reco = InViewReco("L2PhotonReco") reco = InViewReco("L2PhotonReco")
reco.inputMaker().RequireParentView = True reco.inputMaker().RequireParentView = True
...@@ -64,12 +64,12 @@ def l2PhotonRecoCfg( flags ): ...@@ -64,12 +64,12 @@ def l2PhotonRecoCfg( flags ):
return reco return reco
def l2PhotonRecoStepCfg( flags, chains, inputSequence ): def l2PhotonRecoStepCfg( flags, chains, inputSequence ):
from TrigUpgradeTest.MenuComponents import NJMenuSequence from TriggerMenuMT.HLTMenuConfig.Menu.MenuComponents import NJMenuSequence
fhSeq = NJMenuSequence( 'PhotonFastReco' ) fhSeq = NJMenuSequence( 'PhotonFastReco' )
fhSeq.addFilter( chains, inKey=inputSequence.hypoDecisions() ) fhSeq.addFilter( chains, inKey=inputSequence.hypoDecisions() )
from TrigUpgradeTest.ElectronMenuConfig import l2CaloRecoCfg # generator for the L2 Calo EM clustering from TrigUpgradeTest.ElectronMenuConfig import l2CaloRecoCfg # generator for the L2 Calo EM clustering
from TrigUpgradeTest.MenuComponents import RecoFragmentsPool from TriggerMenuMT.HLTMenuConfig.Menu.MenuComponents import RecoFragmentsPool
# obtain the reconstruction CF fragment # obtain the reconstruction CF fragment
fhSeq.addReco( RecoFragmentsPool.retrieve( l2PhotonRecoCfg, flags ) ) fhSeq.addReco( RecoFragmentsPool.retrieve( l2PhotonRecoCfg, flags ) )
......
...@@ -59,7 +59,7 @@ from TrigUpgradeTest.TriggerHistSvcConfig import TriggerHistSvcConfig ...@@ -59,7 +59,7 @@ from TrigUpgradeTest.TriggerHistSvcConfig import TriggerHistSvcConfig
acc.merge(TriggerHistSvcConfig(flags )) acc.merge(TriggerHistSvcConfig(flags ))
def menu( mf ): def menu( mf ):
from TrigUpgradeTest.MenuComponents import HLTMenuAccumulator from TriggerMenuMT.HLTMenuConfig.Menu.MenuComponents import HLTMenuAccumulator
menuAcc = HLTMenuAccumulator() menuAcc = HLTMenuAccumulator()
# here menu generation starts # here menu generation starts
......
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