9def PhysValLLPCfg(flags, **kwargs):
10
11 acc = ComponentAccumulator()
12
13 TrackLocation = "InDetTrackParticles"
14 MuonLocation = "Muons"
15 ElectronLocation = "Electrons"
16
17 if flags.Tracking.doLargeD0:
18
19 from DerivationFrameworkInDet.InDetToolsConfig import InDetLRTMergeCfg
20 acc.merge(InDetLRTMergeCfg(flags))
21 TrackLocation = "InDetWithLRTTrackParticles"
22
23
24 from DerivationFrameworkLLP.LLPToolsConfig import LRTMuonMergerAlg
25 acc.merge(LRTMuonMergerAlg( flags,
26 PromptMuonLocation = "Muons",
27 LRTMuonLocation = "MuonsLRT",
28 OutputMuonLocation = "StdWithLRTMuons",
29 CreateViewCollection = True))
30 MuonLocation = "StdWithLRTMuons"
31
32
33 from DerivationFrameworkLLP.LLPToolsConfig import LRTElectronMergerAlg
34 acc.merge(LRTElectronMergerAlg( flags,
35 PromptElectronLocation = "Electrons",
36 LRTElectronLocation = "LRTElectrons",
37 OutputCollectionName = "StdWithLRTElectrons",
38 isDAOD = False,
39 CreateViewCollection = True))
40 ElectronLocation = "StdWithLRTElectrons"
41
42
43 from VrtSecInclusive.VrtSecInclusiveConfig import VrtSecInclusiveCfg
44
45 acc.merge(VrtSecInclusiveCfg(flags,
46 name = "VrtSecInclusive",
47 AugmentingVersionString = "",
48 FillIntermediateVertices = False,
49 TrackLocation = TrackLocation))
50
51
52 acc.merge(VrtSecInclusiveCfg(flags,
53 name = "VrtSecInclusive_InDet_"+"_LeptonsMod_LRTR3_1p0",
54 AugmentingVersionString = "_LeptonsMod_LRTR3_1p0",
55 FillIntermediateVertices = False,
56 TrackLocation = TrackLocation,
57 twoTrkVtxFormingD0Cut = 1.0,
58 doSelectTracksWithLRTCuts = True,
59 doSelectTracksFromMuons = True,
60 doRemoveCaloTaggedMuons = True,
61 doSelectTracksFromElectrons = True,
62 MuonLocation = MuonLocation,
63 ElectronLocation = ElectronLocation))
64
65 return acc