7 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
8 from AthenaConfiguration.ComponentFactory
import CompFactory
9 from TrigEDMConfig.TriggerEDM
import recordable
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))
39 acc =
AFP_GlobReco_Cfg(flags, {
"AFPTrackContainerKey":
"HLT_AFPTrackContainer",
"protonsContainerName":
recordable(
"HLT_AFPProtonContainer")})