3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
11 StoreGateSvc=CompFactory.StoreGateSvc
16 from TrackCaloClusterRecTools.TrackCaloClusterConfig
import runTCCReconstruction
17 TCCReco=
runTCCReconstruction(inputFlags, outputTCCName=
"TrackCaloClusters",doNeutral=
True,doCharged=
False,doCombined=
False)
20 StoreGateSvc.Dump =
True
30 StoreGateSvc=CompFactory.StoreGateSvc
36 from TrackCaloClusterRecTools.TrackCaloClusterConfig
import runTCCReconstruction
37 TCCReco=
runTCCReconstruction(inputFlags, outputTCCName=
"TrackCaloClusters",doNeutral=
False,doCharged=
True,doCombined=
False)
40 StoreGateSvc.Dump =
True
47 StoreGateSvc=CompFactory.StoreGateSvc
50 from eflowRec.PFCfg
import getEGamFlowElementAssocAlgorithm
51 from eflowRec.PFCfg
import getMuonFlowElementAssocAlgorithm
64 StoreGateSvc=CompFactory.StoreGateSvc
67 from eflowRec.PFCfg
import getTauFlowElementAssocAlgorithm
73 if __name__==
"__main__":
74 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
75 from AthenaConfiguration.Enums
import Format
77 cfgFlags.Input.isMC=
True
78 cfgFlags.Input.Format=Format.POOL
80 cfgFlags.Input.Files=[
"/scratch/anthony/GPF_CODE/TCC_STUDIES/CustomAlg/myAOD.root"]
81 cfgFlags.Output.AODFileName=
"/scratch/anthony/GPF_CODE/TCC_STUDIES/CustomAlg/output_AOD.root"
82 cfgFlags.Exec.MaxEvents=20
83 cfgFlags.Output.doWriteAOD=
True
84 cfgFlags.Common.ProductionStep=
""
89 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
92 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
93 inputList=[
"xAOD::TrackParticleContainer#InDetTrackParticles",
"xAOD::TrackParticleAuxContainer#InDetTrackParticlesAux."]
94 inputList.append(
"xAOD::FlowElementContainer#JetETMissChargedParticleFlowObjects")
95 inputList.append(
"xAOD::FlowElementContainer#JetETMissNeutralParticleFlowObjects")
96 inputList.append(
"xAOD::FlowElementAuxContainer#JetETMissNeutralParticleFlowObjectsAux.")
97 inputList.append(
"xAOD::FlowElementAuxContainer#JetETMissChargedParticleFlowObjectsAux.")
98 inputList.append(
"xAOD::FlowElementContainer#TrackCaloClustersCharged")
99 inputList.append(
"xAOD::FlowElementAuxContainer#TrackCaloClustersChargedAux.")
100 inputList.append(
"xAOD::FlowElementContainer#TrackCaloClustersNeutral")
101 inputList.append(
"xAOD::FlowElementAuxContainer#TrackCaloClustersNeutralAux.")
103 inputList.append(
"xAOD::MuonContainer#Muons")
104 inputList.append(
"xAOD::MuonAuxContainer#*")
105 inputList.append(
"xAOD::PhotonContainer#Photons")
106 inputList.append(
"xAOD::PhotonAuxContainer#*")
107 inputList.append(
"xAOD::ElectronContainer#Electrons")
108 inputList.append(
"xAOD::ElectronAuxContainer#*")
109 inputList.append(
"xAOD::TauJetContainer#*")
110 inputList.append(
"xAOD::TauJetAuxContainer#*")
115 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
123 print(
"MASTER CA CONFIG")