2 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
3 from AthenaConfiguration.ComponentFactory
import CompFactory
4 from DiTauRec.DiTauToolsConfig
import SeedJetBuilderCfg, SubjetBuilderCfg, JetAlgCfg, VertexFinderCfg, DiTauTrackFinderCfg, CellFinderCfg, ClusterFinderCfg, IDVarCalculatorCfg
10 acc.popToolsAndMerge(
SeedJetBuilderCfg(flags, JetCollection=flags.DiTau.SeedJetCollection[0])),
14 if flags.Tracking.doVertexFinding:
22 kwargs.setdefault(
"DiTauContainer", flags.DiTau.DiTauContainer[0])
23 kwargs.setdefault(
"Tools", tools)
24 kwargs.setdefault(
"SeedJetName", flags.DiTau.SeedJetCollection[0])
25 kwargs.setdefault(
"minPt", flags.DiTau.JetSeedPt[0])
26 kwargs.setdefault(
"maxEta", flags.DiTau.MaxEta)
27 kwargs.setdefault(
"Rjet", flags.DiTau.Rjet)
28 kwargs.setdefault(
"Rsubjet", flags.DiTau.Rsubjet)
29 kwargs.setdefault(
"Rcore", flags.DiTau.Rcore)
31 acc.addEventAlgo(CompFactory.DiTauBuilder(name, **kwargs))
40 acc.popToolsAndMerge(
SeedJetBuilderCfg(flags, JetCollection=flags.DiTau.SeedJetCollection[0])),
44 if flags.Tracking.doVertexFinding:
53 kwargs.setdefault(
"DiTauContainer", flags.DiTau.DiTauContainer[1])
54 kwargs.setdefault(
"Tools", tools)
55 kwargs.setdefault(
"SeedJetName", flags.DiTau.SeedJetCollection[0])
56 kwargs.setdefault(
"minPt", flags.DiTau.JetSeedPt[1])