518 == Main function to generates L1, L1Topo and HLT menu CA, using class GenerateMenuMT
522 from TrigConfigSvc.TrigConfigSvcCfg
import generateL1Menu, createL1PrescalesFileFromMenu
523 from TriggerMenuMT.HLT.Menu.MenuPrescaleConfig
import MenuPrescaleConfig
530 chainsToGenerate = FilterChainsToGenerate(flags)
531 menu.setChainFilter(chainsToGenerate)
532 log.debug(
"Filtering chains = %d", (menu.chainFilter
is not None))
533 finalListOfChainConfigs = menu.generateAllChainConfigs(flags)
534 log.info(
"Length of FinalListOfChainConfigs %s", len(finalListOfChainConfigs))
537 log.info(
"Applying HLT prescales")
539 (menu.L1Prescales, menu.HLTPrescales, menu.chainsInMenu) =
MenuPrescaleConfig(HLTMenuConfig, flags)
540 from TriggerMenuMT.HLT.Menu.MenuPrescaleConfig
import applyHLTPrescale
541 applyHLTPrescale(HLTMenuConfig, menu.HLTPrescales, menu.signaturesOverwritten)
545 finalListOfChainConfigs = menu.resolveEmptySteps(finalListOfChainConfigs)
547 log.debug(
"finalListOfChainConfig %s", finalListOfChainConfigs)
548 log.info(
"Making the HLT configuration tree")
549 menuAcc, CFseq_list =
makeHLTTree(flags, finalListOfChainConfigs)
551 from TriggerJobOpts.TriggerConfigFlags
import ROBPrefetching
552 if ROBPrefetching.InitialRoI
in flags.Trigger.ROBPrefetchingOptions:
553 from TrigGenericAlgs.TrigGenericAlgsConfig
import prefetchingInitialRoIConfig
556 log.info(
"Checking the L1HLTConsistency...")
557 from TriggerMenuMT.HLT.Config.Validation.CheckL1HLTConsistency
import checkL1HLTConsistency
560 log.info(
"Checking the Coherent Prescale assignments...")
561 from TriggerMenuMT.HLT.Config.Validation.CheckCPSGroups
import checkCPSGroups
565 GenerateMenuMT.clear()
566 from TriggerMenuMT.HLT.Config
import MenuComponents
567 MenuComponents._ComboHypoPool.clear()