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

Functions

def precisionCaloElectronVDVCfg (flags, name, InViewRoIs, ion=False, variant='')
 
def precisionCaloRecoSequence (flags, RoIs, name=None, ion=False, variant='')
 

Variables

 log
 

Function Documentation

◆ precisionCaloElectronVDVCfg()

def python.HLT.Electron.PrecisionCaloRecoSequences.precisionCaloElectronVDVCfg (   flags,
  name,
  InViewRoIs,
  ion = False,
  variant = '' 
)

Definition at line 14 of file Electron/PrecisionCaloRecoSequences.py.

14 def precisionCaloElectronVDVCfg(flags, name, InViewRoIs, ion=False, variant=''):
15  acc = ComponentAccumulator()
16  TrigEgammaKeys = getTrigEgammaKeys(flags, variant, ion=ion)
17 
18  dataObjects= [( 'TrigRoiDescriptorCollection' , 'StoreGateSvc+%s'%InViewRoIs ),
19  ( 'CaloBCIDAverage' , 'StoreGateSvc+CaloBCIDAverage' ),
20  ( 'SG::AuxElement' , 'StoreGateSvc+EventInfo.averageInteractionsPerCrossing' )]
21  if ion:
22  dataObjects += [( 'xAOD::HIEventShapeContainer' , 'StoreGateSvc+' + TrigEgammaKeys.egEventShape ),
23  ( 'CaloBCIDAverage' , 'StoreGateSvc+CaloBCIDAverage' ),
24  ( 'SG::AuxElement' , 'StoreGateSvc+EventInfo.averageInteractionsPerCrossing' )]
25 
26  precisionCaloElectronVDV = CompFactory.AthViews.ViewDataVerifier(name)
27  precisionCaloElectronVDV.DataObjects = dataObjects
28  acc.addEventAlgo(precisionCaloElectronVDV)
29  return acc
30 

◆ precisionCaloRecoSequence()

def python.HLT.Electron.PrecisionCaloRecoSequences.precisionCaloRecoSequence (   flags,
  RoIs,
  name = None,
  ion = False,
  variant = '' 
)

Definition at line 31 of file Electron/PrecisionCaloRecoSequences.py.

31 def precisionCaloRecoSequence(flags, RoIs, name = None, ion=False, variant=''):
32  acc = ComponentAccumulator()
33 
34  TrigEgammaKeys = getTrigEgammaKeys(flags, variant, ion = ion)
35 
36  log.debug('flags = %s',flags)
37  log.debug('RoIs = %s',RoIs)
38 
39  acc.merge(precisionCaloElectronVDVCfg(flags, name+'VDV'+variant,RoIs,ion,variant=variant))
40 
41  from TrigCaloRec.TrigCaloRecConfig import egammaTopoClusteringCfg, egammaTopoClusteringCfg_LRT, hltCaloTopoClusteringHICfg
42 
43  if ion:
44  topoCluster = hltCaloTopoClusteringHICfg(flags,
45  CellsName = "CaloCells",
46  roisKey=RoIs)
47  else:
48  if variant:
49  topoCluster = egammaTopoClusteringCfg_LRT(flags, RoIs)
50 
51  else:
52  topoCluster = egammaTopoClusteringCfg(flags, RoIs)
53 
54  acc.merge(topoCluster)
55  tag = 'HI' if ion is True else ''
56 
57  copier = CompFactory.egammaTopoClusterCopier('eTrigEgammaTopoClusterCopier'+ tag + RoIs,
58  InputTopoCollection=TrigEgammaKeys.precisionTopoClusterContainer,
59  OutputTopoCollection= TrigEgammaKeys.precisionCaloTopoCollection)
60  acc.addEventAlgo(copier)
61 
62  trigEgammaRec = TrigEgammaRecCfg(flags, name = 'eTrigEgammaRec'+tag + RoIs +variant)
63 
64  acc.merge(trigEgammaRec)
65 
66  trigEgammaSuperClusterBuilder = TrigEgammaSuperClusterBuilderCfg(flags,
67  'eTrigEgammaSuperClusterBuilder' + tag + RoIs,
68  'electron',
69  TrigEgammaKeys.precisionElectronCaloClusterContainer,
70  TrigEgammaKeys.precisionEgammaSuperClusterRecCollection)
71  acc.merge(trigEgammaSuperClusterBuilder)
72 
73  return acc
74 

Variable Documentation

◆ log

python.HLT.Electron.PrecisionCaloRecoSequences.log

Definition at line 12 of file Electron/PrecisionCaloRecoSequences.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.HLT.Egamma.TrigEgammaFactoriesCfg.TrigEgammaSuperClusterBuilderCfg
def TrigEgammaSuperClusterBuilderCfg(flags, name, calibrationType, superClusterCollectionName, superegammaRecCollectionName)
Definition: TrigEgammaFactoriesCfg.py:21
python.HLT.Electron.PrecisionCaloRecoSequences.precisionCaloRecoSequence
def precisionCaloRecoSequence(flags, RoIs, name=None, ion=False, variant='')
Definition: Electron/PrecisionCaloRecoSequences.py:31
python.HLT.Electron.PrecisionCaloRecoSequences.precisionCaloElectronVDVCfg
def precisionCaloElectronVDVCfg(flags, name, InViewRoIs, ion=False, variant='')
Definition: Electron/PrecisionCaloRecoSequences.py:14
python.HLT.Egamma.TrigEgammaFactoriesCfg.TrigEgammaRecCfg
def TrigEgammaRecCfg(flags, name="trigEgammaRec")
Definition: TrigEgammaFactoriesCfg.py:7
TrigCaloRecConfig.egammaTopoClusteringCfg
def egammaTopoClusteringCfg(flags, RoIs)
EgammaSpecific TopoClustering####################################.
Definition: TrigCaloRecConfig.py:423
TrigCaloRecConfig.egammaTopoClusteringCfg_LRT
def egammaTopoClusteringCfg_LRT(flags, RoIs)
Definition: TrigCaloRecConfig.py:429
TrigCaloRecConfig.hltCaloTopoClusteringHICfg
def hltCaloTopoClusteringHICfg(flags, CellsName=None, roisKey="UNSPECIFIED", doLC=False, algSuffix='HIRoI', ion=True)
Definition: TrigCaloRecConfig.py:453
python.HLT.Egamma.TrigEgammaKeys.getTrigEgammaKeys
def getTrigEgammaKeys(AthConfigFlags flags, name='', ion=False)
Definition: TrigEgammaKeys.py:138