13 PrimaryVertexCollectionName,
17 VxSecVertexInfoNameList,
18 secVtxFinderxAODBaseNameList,
19 secVtxFinderTrackNameList,
20 OutgoingTracks="BTagTrackToJetAssociator",
21 OutgoingMuons="Muons"):
23 SetupScheme = flags.BTagging.databaseScheme
28 options[
'BTagTool'] = acc.popToolsAndMerge(
BTagToolCfg(
29 flags, TaggerList, PrimaryVertexCollectionName, SetupScheme))
32 options[
'BTagSecVertexing'] = acc.popToolsAndMerge(
34 'LightSecVx'+flags.BTagging.GeneralToolSuffix,
36 VxSecVertexInfoNameList,
37 secVtxFinderxAODBaseNameList,
38 secVtxFinderTrackNameList,
39 PrimaryVertexCollectionName))
42 options[
'JetCollectionName'] = JetCollection
43 options[
'IncomingTracks'] = Tracks
44 options[
'OutgoingTracks'] = OutgoingTracks
45 options[
'IncomingMuons'] = Muons
46 options[
'OutgoingMuons'] = OutgoingMuons
47 options[
'JetCalibrationName'] = (
48 flags.BTagging.forcedCalibrationChannel
or JetColNoJetsSuffix
51 options[
'BTaggingLinkName'] = options[
'JetCollectionName'] +
'.btaggingLink'
52 options[
'BTaggingCollectionName'] = BTaggingCollection
53 options[
'JetLinkName'] = options[
'BTaggingCollectionName'] +
'.jetLink'
54 options[
'name'] = (options[
'BTaggingCollectionName'] +
"_" + options[
'JetCollectionName'] + flags.BTagging.GeneralToolSuffix).lower()
57 acc.addEventAlgo(CompFactory.Analysis.JetBTaggingAlg(**options))