3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from pprint
import pprint
13 StoreGateSvc=CompFactory.StoreGateSvc
23 from TrackCaloClusterRecTools.TrackCaloClusterConfig
import runTCCReconstruction
24 TCCReco=
runTCCReconstruction(inputFlags, outputTCCName=
"TrackCaloClusters",doNeutral=
True,doCharged=
False,doCombined=
False)
27 StoreGateSvc.Dump =
True
37 StoreGateSvc=CompFactory.StoreGateSvc
47 from TrackCaloClusterRecTools.TrackCaloClusterConfig
import runTCCReconstruction
48 TCCReco=
runTCCReconstruction(inputFlags, outputTCCName=
"TrackCaloClusters",doNeutral=
False,doCharged=
True,doCombined=
False)
51 StoreGateSvc.Dump =
True
57 StoreGateSvc=CompFactory.StoreGateSvc
60 from eflowRec.PFCfg
import getEGamFlowElementAssocAlgorithm
61 from eflowRec.PFCfg
import getMuonFlowElementAssocAlgorithm
80 StoreGateSvc=CompFactory.StoreGateSvc
83 from eflowRec.PFCfg
import getTauFlowElementAssocAlgorithm
89 if __name__==
"__main__":
90 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
92 cfgFlags.Input.isMC=
True
93 cfgFlags.Input.Format=
"AOD"
96 cfgFlags.Input.Files=[
"/scratch/anthony/GPF_CODE//TCC_STUDIES/CustomAlg/myAOD.root"]
97 cfgFlags.Output.AODFileName=
"/scratch/anthony/GPF_CODE/TCC_STUDIES/CustomAlg/output_AOD.root"
98 cfgFlags.Exec.MaxEvents=20
99 cfgFlags.Output.doWriteAOD=
True
100 cfgFlags.Common.ProductionStep=
""
105 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
108 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
109 inputList=[
"xAOD::TrackParticleContainer#InDetTrackParticles",
"xAOD::TrackParticleAuxContainer#InDetTrackParticlesAux."]
110 inputList.append(
"xAOD::FlowElementContainer#JetETMissChargedParticleFlowObjects")
111 inputList.append(
"xAOD::FlowElementContainer#JetETMissNeutralParticleFlowObjects")
112 inputList.append(
"xAOD::FlowElementAuxContainer#JetETMissNeutralParticleFlowObjectsAux.")
113 inputList.append(
"xAOD::FlowElementAuxContainer#JetETMissChargedParticleFlowObjectsAux.")
114 inputList.append(
"xAOD::FlowElementContainer#TrackCaloClustersCharged")
115 inputList.append(
"xAOD::FlowElementAuxContainer#TrackCaloClustersChargedAux.")
116 inputList.append(
"xAOD::FlowElementContainer#TrackCaloClustersNeutral")
117 inputList.append(
"xAOD::FlowElementAuxContainer#TrackCaloClustersNeutralAux.")
119 inputList.append(
"xAOD::MuonContainer#Muons")
120 inputList.append(
"xAOD::MuonAuxContainer#*")
121 inputList.append(
"xAOD::PhotonContainer#Photons")
122 inputList.append(
"xAOD::PhotonAuxContainer#*")
123 inputList.append(
"xAOD::ElectronContainer#Electrons")
124 inputList.append(
"xAOD::ElectronAuxContainer#*")
125 inputList.append(
"xAOD::TauJetContainer#*")
126 inputList.append(
"xAOD::TauJetAuxContainer#*")
131 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg