3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
9 from OutputStreamAthenaPool.OutputStreamConfig
import addToESD,addToAOD
12 DiTauOutputList = [
"xAOD::DiTauJetContainer#DiTauJets" ]
13 DiTauOutputList += [
"xAOD::DiTauJetAuxContainer#DiTauJetsAux." ]
15 result.merge(
addToESD(flags,DiTauOutputList))
16 result.merge(
addToAOD(flags,DiTauOutputList))
23 from DiTauRec.DiTauBuilderConfig
import DiTauBuilderCfg
26 if (flags.Output.doWriteESD
or flags.Output.doWriteAOD):
32 if __name__==
"__main__":
34 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
37 flags.Input.Files = [
"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/RecExRecoTest/mc21_13p6TeV/ESDFiles/mc21_13p6TeV.421450.PhPy8EG_A14_ttbar_hdamp258p75_SingleLep_fct.recon.ESD.e8445_e8447_s3822_r13565/ESD.28877240._000046.pool.root.1"]
40 flags.IOVDb.GlobalTag =
"OFLCOND-MC21-SDR-RUN3-10"
41 flags.Output.ESDFileName =
"ESD.pool.root"
42 flags.Output.AODFileName =
"AOD.pool.root"
45 flags.Concurrency.NumThreads = nThreads
47 flags.Scheduler.ShowDataDeps =
True
48 flags.Scheduler.ShowDataFlow =
True
49 flags.Scheduler.ShowControlFlow =
True
50 flags.Concurrency.NumConcurrentEvents = nThreads
54 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
55 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
61 loadFromSG = [(
'xAOD::EventInfo',
'StoreGateSvc+EventInfo'),
62 (
'AthenaAttributeList' ,
'StoreGateSvc+Input' ),
63 (
'CaloCellContainer' ,
'StoreGateSvc+AllCalo' )]
64 cfg.addEventAlgo(CompFactory.SGInputLoader(Load=loadFromSG), sequenceName=
"AthAlgSeq")