5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
10 from METReconstruction.METCalo_Cfg
import METCalo_Cfg
12 metDefs = [
'EMTopo',
'EMTopoRegions',
'LocHadTopo',
'LocHadTopoRegions',
'Calo']
13 for metDef
in metDefs:
14 outputList.append(
'xAOD::MissingETContainer#MET_'+metDef)
15 outputList.append(
'xAOD::MissingETAuxContainer#MET_'+metDef+
'Aux.')
18 from METReconstruction.METTrack_Cfg
import METTrack_Cfg
20 outputList.append(
"xAOD::MissingETContainer#MET_Track")
21 outputList.append(
"xAOD::MissingETAuxContainer#MET_TrackAux.")
24 if inputFlags.Input.isMC:
25 from METReconstruction.METTruth_Cfg
import METTruth_Cfg
27 outputList.append(
"xAOD::MissingETContainer#MET_Truth")
28 outputList.append(
"xAOD::MissingETAuxContainer#MET_TruthAux.")
29 outputList.append(
"xAOD::MissingETContainer#MET_TruthRegions")
30 outputList.append(
"xAOD::MissingETAuxContainer#MET_TruthRegionsAux.")
31 outputList.append(
'xAOD::MissingETComponentMap#METMap_Truth')
32 outputList.append(
'xAOD::MissingETAuxComponentMap#METMap_TruthAux.')
35 from METReconstruction.METAssociatorCfg
import METAssociatorCfg
36 from METUtilities.METMakerConfig
import getMETMakerAlg
37 metDefs = [
'AntiKt4EMTopo',
'AntiKt4LCTopo']
38 if inputFlags.MET.DoPFlow:
39 metDefs.append(
'AntiKt4EMPFlow')
40 for metDef
in metDefs:
43 outputList.append(
'xAOD::MissingETAssociationMap#METAssoc_'+metDef)
44 outputList.append(
'xAOD::MissingETAuxAssociationMap#METAssoc_'+metDef+
'Aux.')
45 outputList.append(
'xAOD::MissingETContainer#MET_Core_'+metDef)
46 outputList.append(
'xAOD::MissingETAuxContainer#MET_Core_'+metDef+
'Aux.')
49 outputList.append(
'xAOD::MissingETContainer#MET_Reference_'+metDef)
50 outputList.append(
'xAOD::MissingETAuxContainer#MET_Reference_'+metDef+
'Aux.-ConstitObjectLinks.-ConstitObjectWeights')
53 from OutputStreamAthenaPool.OutputStreamConfig
import addToAOD, addToESD
54 result.merge(
addToESD(inputFlags, outputList))
55 if inputFlags.MET.WritetoAOD:
56 result.merge(
addToAOD(inputFlags, outputList))
65 from AthenaCommon.Logging
import log
70 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
72 from AthenaConfiguration.TestDefaults
import defaultTestFiles, defaultConditionsTags
73 flags.Input.Files = defaultTestFiles.ESD_RUN3_MC
74 flags.IOVDb.GlobalTag = defaultConditionsTags.RUN3_MC
80 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
84 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
88 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
91 from TileGeoModel.TileGMConfig
import TileGMCfg
94 from JetRecConfig.JetRecoSteering
import JetRecoSteeringCfg
100 from eflowRec.PFCfg
import PFGlobalFlowElementLinkingCfg
107 if __name__==
"__main__":