3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from TriggerMenuMT.HLT.Egamma.TrigEgammaKeys
import getTrigEgammaKeys
7 from AthenaCommon.Logging
import logging
8 log = logging.getLogger(__name__)
13 caloClusters = TrigEgammaKeys.precisionPhotonCaloClusterContainer
14 dataObjects = [(
'xAOD::CaloClusterContainer' ,
'StoreGateSvc+%s' % caloClusters ),
15 (
'EgammaRecContainer',
'StoreGateSvc+%s' % TrigEgammaKeys.precisionPhotonSuperClusterCollection),
16 (
'xAOD::EventInfo' ,
'StoreGateSvc+EventInfo' ),
19 dataObjects += [(
'CaloCellContainer' ,
'StoreGateSvc+CorrectedRoICaloCells' )]
21 dataObjects += [(
'CaloCellContainer' ,
'StoreGateSvc+CaloCells' )]
23 precisionPhotonVDV = CompFactory.AthViews.ViewDataVerifier(name)
24 precisionPhotonVDV.DataObjects = dataObjects
25 acc.addEventAlgo(precisionPhotonVDV)
30 """ With this function we will setup the sequence of offline EgammaAlgorithms so to make a photon for TrigEgamma
32 Sequence of algorithms is the following:
33 - egammaRecBuilder/TrigEgammaRecPhoton creates egammaObjects out of clusters and tracks. Here, at HLT photons we will only use clusters.
34 - photonSuperClusterBuilder algorithm will create superclusters out of the toposlusters and tracks in egammaRec under the photon hypothesis
35 https://gitlab.cern.ch/atlas/athena/blob/master/Reconstruction/egamma/egammaAlgs/python/egammaSuperClusterBuilder.py#L26
36 - TopoEgammBuilder will create photons and electrons out of trakcs and SuperClusters. Here at HLT photons the aim is to ignore electrons and not use tracks at all.
37 https://gitlab.cern.ch/atlas/athena/blob/master/Reconstruction/egamma/egammaAlgs/src/xAODEgammaBuilder.cxx
40 log.debug(
'precisionPhotonRecoSequence(RoIs = %s)',RoIs)
45 from TriggerMenuMT.HLT.Photon.TrigPhotonFactoriesCfg
import TrigTopoEgammaPhotonCfg, TrigTopoEgammaPhotonCfg_HI
47 log.debug(
'retrieve(precisionPhotonRecoSequence,None,RoIs = %s)',RoIs)
56 acc.merge(TrigTopoEgammaPhoton)
59 from TriggerMenuMT.HLT.Photon.TrigPhotonFactoriesCfg
import PrecisionPhotonTopoMonitorCfg
61 acc.merge(PrecisionPhotonTopoRecoMonAlgo)
64 from TriggerMenuMT.HLT.Photon.TrigPhotonFactoriesCfg
import PrecisionPhotonSuperClusterMonitorCfg
66 acc.merge(PrecisionPhotonSuperClusterMonAlgo)