4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
5 from AthenaConfiguration.ComponentFactory
import CompFactory
11 if "BVertexTool" not in kwargs:
12 from NewVrtSecInclusiveTool.NewVrtSecInclusiveConfig
import SoftBFinderToolCfg
13 kwargs.setdefault(
"BVertexTool", acc.popToolsAndMerge(
SoftBFinderToolCfg(flags,FillHist=
True)))
15 kwargs.setdefault(
"BVertexContainerName",
"AllBVertices")
17 acc.addEventAlgo(CompFactory.Rec.NewVrtSecInclusiveAlg(algname, **kwargs))
23 if "BVertexTool" not in kwargs:
24 from NewVrtSecInclusiveTool.NewVrtSecInclusiveConfig
import DVFinderToolCfg
25 kwargs.setdefault(
"BVertexTool", acc.popToolsAndMerge(
DVFinderToolCfg(flags,FillHist=
False,AugmentingVersionString=AugmentingVersionString)))
27 kwargs.setdefault(
"BVertexContainerName",
"SecondaryVertices_"+algname)
29 acc.addEventAlgo(CompFactory.Rec.NewVrtSecInclusiveAlg(algname, **kwargs))
36 from NewVrtSecInclusiveTool.NewVrtSecInclusiveConfig
import SoftBFinderToolCfg
37 myargs[
"BVertexTool"] = acc.popToolsAndMerge(
SoftBFinderToolCfg(flags,FillHist=
False,v2tIniBDTCut=-0.3,v2tFinBDTCut=0.8,cosSVPVCut=0.4,AugmentingVersionString=
'_SoftBTight'))
38 myargs[
"OutputLevel"] = INFO
39 myargs.setdefault(
"BVertexContainerName",
"NVSI_SecVrt_Tight")
41 NVSI_Alg = CompFactory.Rec.NewVrtSecInclusiveAlg(algname, **myargs)
42 acc.addEventAlgo(NVSI_Alg)
49 from NewVrtSecInclusiveTool.NewVrtSecInclusiveConfig
import SoftBFinderToolCfg
50 myargs[
"BVertexTool"] = acc.popToolsAndMerge(
SoftBFinderToolCfg(flags,FillHist=
False,v2tIniBDTCut=-0.6,v2tFinBDTCut=0.2,cosSVPVCut=0.5,AugmentingVersionString=
'_SoftBMedium'))
51 myargs[
"OutputLevel"] = INFO
52 myargs.setdefault(
"BVertexContainerName",
"NVSI_SecVrt_Medium")
54 NVSI_Alg = CompFactory.Rec.NewVrtSecInclusiveAlg(algname, **myargs)
55 acc.addEventAlgo(NVSI_Alg)
62 from NewVrtSecInclusiveTool.NewVrtSecInclusiveConfig
import SoftBFinderToolCfg
63 myargs[
"BVertexTool"] = acc.popToolsAndMerge(
SoftBFinderToolCfg(flags,FillHist=
False,v2tIniBDTCut=-0.4,v2tFinBDTCut=-0.3,cosSVPVCut=0.4,AugmentingVersionString=
'_SoftBLoose'))
64 myargs[
"OutputLevel"] = INFO
65 myargs.setdefault(
"BVertexContainerName",
"NVSI_SecVrt_Loose")
67 NVSI_Alg = CompFactory.Rec.NewVrtSecInclusiveAlg(algname, **myargs)
68 acc.addEventAlgo(NVSI_Alg)