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),
16 ( 'xAOD::PhotonContainer' , 'StoreGateSvc+%s' % TrigEgammaKeys.precisionPhotonContainer),
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