3 from AthenaConfiguration.ComponentFactory
import CompFactory
4 from TriggerMenuMT.HLT.CommonSequences.FullScanDefs
import caloFSRoI
5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaConfiguration.AccumulatorCache
import AccumulatorCache
7 from TrigT2CaloCommon.TrigCaloDataAccessConfig
import trigCaloDataAccessSvcCfg, CaloDataAccessSvcDependencies
14 def fastCaloRecoSequenceCfg(flags, inputEDM="", ClustersName="HLT_FastCaloEMClusters", RingerKey="HLT_FastCaloRinger", doForward=False, doAllEm=False, doAll=False):
19 from HLTSeeding.HLTSeedingConfig
import mapThresholdToL1RoICollection
23 from TrigT2CaloEgamma.TrigT2CaloEgammaConfig
import t2CaloEgamma_ReFastAlgoCfg
24 if (
not doForward)
and (
not doAll)
and (
not doAllEm ) :
25 acc.merge(
t2CaloEgamma_ReFastAlgoCfg(flags,
"FastCaloL2EgammaAlg", doRinger=
True, RingerKey=RingerKey,RoIs=inputEDM,ExtraInputs=CaloDataAccessSvcDependencies, ClustersName = ClustersName))
27 from TrigT2CaloEgamma.TrigT2CaloEgammaConfig
import t2CaloEgamma_ReFastFWDAlgoCfg
28 acc.merge(
t2CaloEgamma_ReFastFWDAlgoCfg(flags,
"FastCaloL2EgammaAlg_FWD", doRinger=
True, RingerKey=RingerKey,RoIs=inputEDM,ExtraInputs=CaloDataAccessSvcDependencies, ClustersName = ClustersName))
30 if ( doAllEm
or doAll ) :
32 from TrigT2CaloEgamma.TrigT2CaloEgammaConfig
import t2CaloEgamma_AllEmCfg
33 acc.merge(
t2CaloEgamma_AllEmCfg(flags,
"L2CaloLayersEmFex",RoIs=inputEDM,ExtraInputs= CaloDataAccessSvcDependencies, ClustersName = ClustersName))
35 from TrigT2CaloEgamma.TrigT2CaloEgammaConfig
import t2CaloEgamma_AllCfg
36 acc.merge(
t2CaloEgamma_AllCfg(flags,
"L2CaloLayersFex",RoIs=inputEDM,ExtraInputs=CaloDataAccessSvcDependencies, ClustersName = ClustersName))
41 fastCaloVDV = CompFactory.AthViews.ViewDataVerifier(name)
42 fastCaloVDV.DataObjects = {(
'CaloBCIDAverage' ,
'StoreGateSvc+CaloBCIDAverage' ),
43 (
'TrigRoiDescriptorCollection' ,
'StoreGateSvc+%s'%InViewRoIs )}
44 reco.addEventAlgo(fastCaloVDV)
52 """Creates the inputMaker for FS in menu"""
54 InputMakerAlg = CompFactory.InputMakerForRoI(
"IMclusterFS", RoIsLink=
"initialRoI")
55 InputMakerAlg.RoITool = CompFactory.ViewCreatorInitialROITool()
56 InputMakerAlg.RoIs=RoIs