Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
PrecisionCaloRecoSequences Namespace Reference

Functions

def precisionCaloPhotonVDVCfg (flags, name, InViewRoIs, ion=False)
 
def precisionCaloRecoSequence (flags, RoIs, name=None, ion=False)
 

Variables

 log
 

Function Documentation

◆ precisionCaloPhotonVDVCfg()

def PrecisionCaloRecoSequences.precisionCaloPhotonVDVCfg (   flags,
  name,
  InViewRoIs,
  ion = False 
)

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

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

◆ precisionCaloRecoSequence()

def PrecisionCaloRecoSequences.precisionCaloRecoSequence (   flags,
  RoIs,
  name = None,
  ion = False 
)

Definition at line 32 of file Photon/PrecisionCaloRecoSequences.py.

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

Variable Documentation

◆ log

PrecisionCaloRecoSequences.log

Definition at line 11 of file Photon/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
PrecisionCaloRecoSequences.precisionCaloRecoSequence
def precisionCaloRecoSequence(flags, RoIs, name=None, ion=False)
Definition: Photon/PrecisionCaloRecoSequences.py:32
PrecisionCaloRecoSequences.precisionCaloPhotonVDVCfg
def precisionCaloPhotonVDVCfg(flags, name, InViewRoIs, ion=False)
Definition: Photon/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:421
TrigCaloRecConfig.hltCaloTopoClusteringHICfg
def hltCaloTopoClusteringHICfg(flags, CellsName=None, roisKey="UNSPECIFIED", doLC=False, algSuffix='HIRoI', ion=True)
Definition: TrigCaloRecConfig.py:451
python.HLT.Egamma.TrigEgammaKeys.getTrigEgammaKeys
def getTrigEgammaKeys(AthConfigFlags flags, name='', ion=False)
Definition: TrigEgammaKeys.py:138