145 """Configure the MuonRM AOD tau building"""
150 import tauRec.TauToolHolder
as tauTools
152 tools_mod.append( acc.popToolsAndMerge(tauTools.TauAODMuonRemovalCfg(flags)) )
154 tools_after.append( acc.popToolsAndMerge(tauTools.TauVertexedClusterDecoratorCfg(flags)) )
155 tools_after.append( acc.popToolsAndMerge(tauTools.TauTrackRNNClassifierCfg(flags)) )
156 tools_after.append( acc.popToolsAndMerge(tauTools.EnergyCalibrationLCCfg(flags)) )
157 tools_after.append( acc.popToolsAndMerge(tauTools.TauCommonCalcVarsCfg(flags)) )
158 tools_after.append( acc.popToolsAndMerge(tauTools.TauSubstructureCfg(flags)) )
159 tools_after.append( acc.popToolsAndMerge(tauTools.Pi0ClusterCreatorCfg(flags)) )
160 tools_after.append( acc.popToolsAndMerge(tauTools.Pi0ClusterScalerCfg(flags)) )
161 tools_after.append( acc.popToolsAndMerge(tauTools.Pi0ScoreCalculatorCfg(flags)) )
162 tools_after.append( acc.popToolsAndMerge(tauTools.Pi0SelectorCfg(flags)) )
163 tools_after.append( acc.popToolsAndMerge(tauTools.TauVertexVariablesCfg(flags)) )
164 import PanTauAlgs.JobOptions_Main_PanTau_New
as pantau
165 tools_after.append( acc.popToolsAndMerge(pantau.PanTauCfg(flags)) )
166 tools_after.append( acc.popToolsAndMerge(tauTools.TauCombinedTESCfg(flags)) )
167 tools_after.append( acc.popToolsAndMerge(tauTools.MvaTESVariableDecoratorCfg(flags)) )
168 tools_after[-1].EventShapeKey =
''
169 tools_after.append( acc.popToolsAndMerge(tauTools.MvaTESEvaluatorCfg(flags)) )
170 tools_after.append( acc.popToolsAndMerge(tauTools.TauIDVarCalculatorCfg(flags)) )
171 tools_after.append( acc.popToolsAndMerge(tauTools.TauJetRNNEvaluatorCfg(flags)) )
172 tools_after.append( acc.popToolsAndMerge(tauTools.TauWPDecoratorJetRNNCfg(flags)) )
173 tools_after.append( acc.popToolsAndMerge(tauTools.TauEleRNNEvaluatorCfg(flags)) )
174 tools_after.append( acc.popToolsAndMerge(tauTools.TauWPDecoratorEleRNNCfg(flags)) )
175 tools_after.append( acc.popToolsAndMerge(tauTools.TauDecayModeNNClassifierCfg(flags)) )
176 TauAODRunnerAlg=CompFactory.getComp(
"TauAODRunnerAlg")
177 for tool
in tools_mod:
179 for tool
in tools_after:
182 name =
"MuonRemovalTauAODReRecoAlg",
183 Key_tauOutputContainer =
"TauJets_MuonRM",
184 Key_pi0OutputContainer =
"TauFinalPi0s_MuonRM",
185 Key_neutralPFOOutputContainer =
"TauNeutralParticleFlowObjects_MuonRM",
186 Key_chargedPFOOutputContainer =
"TauChargedParticleFlowObjects_MuonRM",
187 Key_hadronicPFOOutputContainer =
"TauHadronicParticleFlowObjects_MuonRM",
188 Key_tauTrackOutputContainer =
"TauTracks_MuonRM",
189 Key_vertexOutputContainer =
"TauSecondaryVertices_MuonRM",
190 modificationTools = tools_mod,
191 officialTools = tools_after
193 acc.addEventAlgo(myTauAODRunnerAlg)