3if __name__==
"__main__":
5 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
6 cfgFlags = initConfigFlags()
7 cfgFlags.Concurrency.NumThreads=1
8 cfgFlags.Exec.MaxEvents=100
9 cfgFlags.Input.isMC=
True
10 cfgFlags.Input.Files = [
"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/PFlowTests/mc21_14TeV/mc21_14TeV.601229.PhPy8EG_A14_ttbar_hdamp258p75_SingleLep.recon.AOD.e8481_s4383_r15934/AOD.41490164._005514.pool.root.1"]
11 cfgFlags.Output.AODFileName=
"output_AOD.root"
12 cfgFlags.Output.doWriteAOD=
True
13 cfgFlags.DiTau.doDiTauRec =
False
14 cfgFlags.Detector.GeometryCalo =
True
15 cfgFlags.Acts.TrackingGeometry.UseBlueprint =
True
16 cfgFlags.Detector.GeometryITk =
True
17 cfgFlags.Detector.GeometryBpipe =
True
18 cfgFlags.PF.useActsExtrapolation=
True
19 cfgFlags.fillFromArgs()
22 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
23 cfg = MainServicesCfg(cfgFlags)
25 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
26 cfg.merge(PoolReadCfg(cfgFlags))
28 from eflowRec.PFRun3Config
import PFFullCfg
29 cfg.merge(PFFullCfg(cfgFlags,runTauReco=
True))
31 from eflowRec.PFRun3Config
import PFTauFELinkCfg
32 cfg.merge(PFTauFELinkCfg(cfgFlags))
34 from eflowRec.PFRun3Remaps
import ListRemaps
36 list_remaps=ListRemaps(cfg,
'AOD')
37 for mapping
in list_remaps:
40 from PFlowUtils.configureRecoForPFlow
import configureRecoForPFlowCfg
41 cfg.merge(configureRecoForPFlowCfg(cfgFlags))
44 from PFlowUtils.configureRecoForPFlow
import addContainersForPFlowCPStudiesCfg
45 cfg.merge(addContainersForPFlowCPStudiesCfg(cfgFlags))
47 from ActsConfig.ActsGeometryConfig
import ActsTrackingGeometrySvcCfg
48 from pathlib
import Path
49 trackingGeometrySvc = ActsTrackingGeometrySvcCfg(cfgFlags,
50 RunConsistencyChecks=
True,
52 BlueprintGraphviz=str(Path.cwd() /
"blueprint.dot"),
55 cfg.merge(trackingGeometrySvc)