3 from AthenaConfiguration.ComponentFactory
import CompFactory
4 from TriggerMenuMT.HLT.Config.ChainConfigurationBase
import ChainConfigurationBase
5 from TriggerMenuMT.HLT.Config.MenuComponents
import MenuSequence, SelectionCA, InEventRecoCA
7 from AthenaCommon.Logging
import logging
8 logging.getLogger().
info(
"Importing %s",__name__)
9 log = logging.getLogger(__name__)
31 'L1_BPH-0DR3-eEM9jJ40_2MU3V',\
32 'L1_BPH-0DR3-eEM9jJ40_MU5VF',\
33 'L1_BPH-0M9-eEM9-eEM7_MU5VF',\
34 'L1_BPH-2M9-2DR15-2MU5VF',\
35 'L1_BPH-2M9-0DR15-C-MU5VFMU3V',\
36 'L1_BPH-7M11-25DR99-2MU3VF',\
37 'L1_BPH-8M15-0DR22-2MU5VF',\
38 'L1_BPH-8M15-0DR22-MU5VFMU3V-BO',\
40 'L1_cTAU30M_2cTAU20M_DR-eTAU30eTAU20',\
48 'L1_jJ80p0ETA25_2jJ40p30ETA49',\
50 'L1_jJ90_DETA20-jJ90J',\
64 inputMakerAlg = CompFactory.InputMakerForRoI(
"IM_enhancedBias")
65 inputMakerAlg.RoITool = CompFactory.ViewCreatorInitialROITool()
66 inputMakerAlg.RoIs=
"enhancedBiasInputRoIs"
68 reco = InEventRecoCA(
"EnhancedBiasReco", inputMaker=inputMakerAlg)
74 tool = CompFactory.L1InfoHypoTool(chainDict[
'chainName'])
75 tool.CTPUnpackingTool.UseTBPBits =
True
77 key = chainDict[
'chainParts'][0][
'algType']
78 if key
not in l1seeds:
79 log.error(
"No configuration exist for EB chain: ", key)
81 tool.L1ItemNames = l1seeds[key]
89 selAcc = SelectionCA(
"enhancedBiasSequence")
90 selAcc.mergeReco(reco)
91 selAcc.addHypoAlgo(CompFactory.L1InfoHypo(
"EnhancedBiasHypo"))
93 return MenuSequence(flags,
95 HypoToolGen = EnhancedBiasHypoToolGen)
100 ChainConfigurationBase.__init__(self, chainDict)
105 log.debug(
"Assembling chain for %s", self.chainName)
107 chainSteps.append( self.getStep(flags,
"EnhancedBias", [enhancedBiasMenuSequenceGenCfg]) )
109 return self.buildChain(chainSteps)