11def precisionPhotonCaloIsoVDVCfg(flags, name, InViewRoIs, ion=False):
12 acc = ComponentAccumulator()
13 TrigEgammaKeys = getTrigEgammaKeys(flags, ion=ion)
14 caloClusters = TrigEgammaKeys.precisionPhotonCaloClusterContainer
15 dataObjects = [( 'xAOD::CaloClusterContainer' , 'StoreGateSvc+%s' % caloClusters ),
16 ( 'xAOD::CaloClusterContainer' , 'StoreGateSvc+%s' % em_clusters),
17 ( 'xAOD::PhotonContainer' , 'StoreGateSvc+%s' % TrigEgammaKeys.precisionPhotonContainer),
18 ( 'CaloCellContainer' , 'StoreGateSvc+CaloCells' ),
19 ( 'CaloCellContainer' , 'StoreGateSvc+CaloCellsFS' ),
20 ( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' ),
21 ( 'xAOD::EventShape' , 'StoreGateSvc+TrigIsoEventShape' ),
22 ( 'xAOD::IParticleContainer' , 'StoreGateSvc+HLT_TopoCaloClustersFS'),
23 ( 'PseudoJetContainer' , 'StoreGateSvc+PseudoJetTrigEMTopo' )]
24 if ion:
25 dataObjects += [( 'CaloCellContainer' , 'StoreGateSvc+CorrectedRoICaloCells' )]
26
27 precisionPhotonCaloIsoVDV = CompFactory.AthViews.ViewDataVerifier(name)
28 precisionPhotonCaloIsoVDV.DataObjects = dataObjects
29 acc.addEventAlgo(precisionPhotonCaloIsoVDV)
30 return acc
31