13 afpProtonRecoToolA = CompFactory.AFP_ProtonRecoAnalytical(
"AFP_ProtonRecoAnalyticalA", parametrizationFileName=
"param_mad_b1_def.txt", side=0, **kwargs)
14 afpProtonRecoToolC = CompFactory.AFP_ProtonRecoAnalytical(
"AFP_ProtonRecoAnalyticalC", parametrizationFileName=
"param_mad_b2_def.txt", side=1, **kwargs)
16 protonsToolsList=[afpProtonRecoToolA, afpProtonRecoToolC]
20 for protonTool
in protonsToolsList:
21 contName=getattr(protonTool,
"protonsContainerName", protonTool.getDefaultProperty(
"protonsContainerName"))
22 if contName
not in outputProtonList:
23 outputProtonList.append(contName)
26 protonRecoTool = CompFactory.AFP_GlobRecoTool(
"AFP_GlobRecoTool", RecoToolsList=protonsToolsList, AFPProtonContainerList=outputProtonList )
30 acc.addEventAlgo(CompFactory.AFP_GlobReco(
"AFP_GlobReco", recoTool = protonRecoTool))