6 from AthenaCommon.Logging
import logging
7 log = logging.getLogger(__name__)
9 from TriggerMenuMT.HLT.Egamma.TrigEgammaKeys
import getTrigEgammaKeys
10 from AthenaConfiguration.ComponentFactory
import CompFactory
11 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
18 trackParticlesName = TrigEgammaKeys.fastTrackParticleContainer
23 fastElectronVDV = CompFactory.AthViews.ViewDataVerifier(name+variant+
'VDV')
24 from TriggerMenuMT.HLT.CommonSequences.CaloSequences
import CaloMenuDefs
26 dataObjects = [(
'xAOD::TrigEMClusterContainer' ,
'StoreGateSvc+%s' % CaloMenuDefs.L2CaloClusters ),
27 (
'xAOD::TrackParticleContainer' ,
'StoreGateSvc+%s' % trackParticlesName ),
28 (
'TrigRoiDescriptorCollection' ,
'StoreGateSvc+%s' % RoIs ),
31 fastElectronVDV.DataObjects = dataObjects
32 acc.addEventAlgo(fastElectronVDV)
34 from TrigEgammaRec.TrigEgammaFastElectronConfig
import fastElectronFexAlgCfg
36 trigEMClusterName = CaloMenuDefs.L2CaloClusters
37 trackParticlesName = trackParticlesName
38 electronsName = TrigEgammaKeys.fastElectronContainer
40 theElectronFex =
fastElectronFexAlgCfg(flags, trigEMClusterName, trackParticlesName, electronsName, name=
"EgammaFastElectronFex_Clean_gen"+variant, rois=RoIs)
42 acc.merge(theElectronFex)