ATLAS Offline Software
Loading...
Searching...
No Matches
PrecisionPhotonCaloIsoRecoSequences Namespace Reference

Functions

 precisionPhotonCaloIsoVDVCfg (flags, name, InViewRoIs, ion=False)
 precisionPhotonCaloIsoRecoSequence (flags, RoIs, name=None, ion=False)

Variables

 log = logging.getLogger(__name__)

Function Documentation

◆ precisionPhotonCaloIsoRecoSequence()

PrecisionPhotonCaloIsoRecoSequences.precisionPhotonCaloIsoRecoSequence ( flags,
RoIs,
name = None,
ion = False )
 With this function we will setup the sequence of Calo isolation to be executed after PrecisionPhoton in  TrigEgamma 

Definition at line 31 of file PrecisionPhotonCaloIsoRecoSequences.py.

31def precisionPhotonCaloIsoRecoSequence(flags, RoIs, name = None, ion=False):
32 """ With this function we will setup the sequence of Calo isolation to be executed after PrecisionPhoton in TrigEgamma
33
34 """
35 acc= ComponentAccumulator()
36
37 log.debug('precisionPhotonCaloIsoRecoSequence(RoIs = %s)',RoIs)
38
39 log.debug('retrieve(precisionPhotonCaloIsoRecoSequence,None,RoIs = %s)',RoIs)
40
41 acc.merge(precisionPhotonCaloIsoVDVCfg(flags, name+'VDV',RoIs,ion))
42
43 # Add CaloIsolationTool
44 from TriggerMenuMT.HLT.Egamma.TrigEgammaFactoriesCfg import TrigPhotonIsoBuilderCfg
45 TrigPhotonIsoBuilder = TrigPhotonIsoBuilderCfg(flags,
46 ion =ion)
47
48 acc.merge(TrigPhotonIsoBuilder)
49
50 #online monitoring for xAODEgammaBuilder
51 from TriggerMenuMT.HLT.Photon.TrigPhotonFactoriesCfg import PrecisionPhotonCaloIsoMonitorCfg
52 PrecisionPhotonCaloIsoRecoMonAlgo = PrecisionPhotonCaloIsoMonitorCfg(flags)
53 acc.merge(PrecisionPhotonCaloIsoRecoMonAlgo)
54
55 return acc
56
57
58
59
60

◆ precisionPhotonCaloIsoVDVCfg()

PrecisionPhotonCaloIsoRecoSequences.precisionPhotonCaloIsoVDVCfg ( flags,
name,
InViewRoIs,
ion = False )

Definition at line 10 of file PrecisionPhotonCaloIsoRecoSequences.py.

10def precisionPhotonCaloIsoVDVCfg(flags, name, InViewRoIs, ion=False):
11 acc = ComponentAccumulator()
12 TrigEgammaKeys = getTrigEgammaKeys(flags, ion=ion)
13 caloClusters = TrigEgammaKeys.precisionPhotonCaloClusterContainer
14 dataObjects = [( 'xAOD::CaloClusterContainer' , 'StoreGateSvc+%s' % caloClusters ),
15 ( 'xAOD::CaloClusterContainer' , 'StoreGateSvc+%s' % TrigEgammaKeys.precisionTopoClusterContainer), # this is for the calo isolation tool
16 ( 'xAOD::PhotonContainer' , 'StoreGateSvc+%s' % TrigEgammaKeys.precisionPhotonContainer), # This is the Photon input container with non-isolated photons
17 ( 'CaloCellContainer' , 'StoreGateSvc+CaloCells' ),
18 ( 'CaloCellContainer' , 'StoreGateSvc+CaloCellsFS' ),
19 ( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' ),
20 ( 'xAOD::EventShape' , 'StoreGateSvc+TrigIsoEventShape' ),
21 ( 'xAOD::IParticleContainer' , 'StoreGateSvc+HLT_TopoCaloClustersFS'),
22 ( 'PseudoJetContainer' , 'StoreGateSvc+PseudoJetTrigEMTopo' )]
23 if ion:
24 dataObjects += [( 'CaloCellContainer' , 'StoreGateSvc+CorrectedRoICaloCells' )]
25
26 precisionPhotonCaloIsoVDV = CompFactory.AthViews.ViewDataVerifier(name)
27 precisionPhotonCaloIsoVDV.DataObjects = dataObjects
28 acc.addEventAlgo(precisionPhotonCaloIsoVDV)
29 return acc
30

Variable Documentation

◆ log

PrecisionPhotonCaloIsoRecoSequences.log = logging.getLogger(__name__)

Definition at line 8 of file PrecisionPhotonCaloIsoRecoSequences.py.