ATLAS Offline Software
Functions | Variables
python.HLT.Electron.FastElectronRecoSequences Namespace Reference

Functions

def fastElectronRecoSequence (flags, name, RoIs, variant='')
 

Variables

 log
 

Function Documentation

◆ fastElectronRecoSequence()

def python.HLT.Electron.FastElectronRecoSequences.fastElectronRecoSequence (   flags,
  name,
  RoIs,
  variant = '' 
)

Definition at line 13 of file FastElectronRecoSequences.py.

13 def fastElectronRecoSequence(flags, name, RoIs, variant=''):
14 
15  acc = ComponentAccumulator()
16 
17  TrigEgammaKeys = getTrigEgammaKeys(flags, variant)
18  trackParticlesName = TrigEgammaKeys.fastTrackParticleContainer
19 
20  # A simple algorithm to confirm that data has been inherited from parent view
21  # Required to satisfy data dependencies
22 
23  fastElectronVDV = CompFactory.AthViews.ViewDataVerifier(name+variant+'VDV')
24  from TriggerMenuMT.HLT.CommonSequences.CaloSequences import CaloMenuDefs
25 
26  dataObjects = [( 'xAOD::TrigEMClusterContainer' , 'StoreGateSvc+%s' % CaloMenuDefs.L2CaloClusters ),
27  ( 'xAOD::TrackParticleContainer' , 'StoreGateSvc+%s' % trackParticlesName ),
28  ( 'TrigRoiDescriptorCollection' , 'StoreGateSvc+%s' % RoIs ),
29  ]
30 
31  fastElectronVDV.DataObjects = dataObjects
32  acc.addEventAlgo(fastElectronVDV)
33 
34  from TrigEgammaRec.TrigEgammaFastElectronConfig import fastElectronFexAlgCfg
35 
36  trigEMClusterName = CaloMenuDefs.L2CaloClusters
37  trackParticlesName = trackParticlesName
38  electronsName = TrigEgammaKeys.fastElectronContainer
39 
40  theElectronFex = fastElectronFexAlgCfg(flags, trigEMClusterName, trackParticlesName, electronsName, name="EgammaFastElectronFex_Clean_gen"+variant, rois=RoIs)
41 
42  acc.merge(theElectronFex)
43  return acc

Variable Documentation

◆ log

python.HLT.Electron.FastElectronRecoSequences.log

Definition at line 7 of file FastElectronRecoSequences.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.HLT.Electron.FastElectronRecoSequences.fastElectronRecoSequence
def fastElectronRecoSequence(flags, name, RoIs, variant='')
Definition: FastElectronRecoSequences.py:13
TrigEgammaFastElectronConfig.fastElectronFexAlgCfg
def fastElectronFexAlgCfg(flags, trigEMClusterName, trackParticlesName, electronsName, name="EgammaFastElectronFex_1", rois="EMRoIs")
Definition: TrigEgammaFastElectronConfig.py:9
python.HLT.Egamma.TrigEgammaKeys.getTrigEgammaKeys
def getTrigEgammaKeys(AthConfigFlags flags, name='', ion=False)
Definition: TrigEgammaKeys.py:138