17 """Configure and add the tools to compute and add the HF classifier in the derivation"""
31 JetMatchingTool = CompFactory.DerivationFramework.JetMatchingTool(name=
'DFCommonJetMatchingTool')
33 JetMatchingTool.jetPtCut = 15000.
34 JetMatchingTool.jetEtaCut = 2.5
35 JetMatchingTool.drCut = 0.3
39 acc.addPublicTool(JetMatchingTool, primary=
True)
49 HadronOriginClassifierTool = CompFactory.DerivationFramework.HadronOriginClassifier(name=
'DFCommonHadronOriginClassifier')
50 HadronOriginClassifierTool.DSID = mc_channel_number
54 acc.addPublicTool(HadronOriginClassifierTool, primary=
True)
67 ClassifyAndCalculateHFTool = CompFactory.DerivationFramework.ClassifyAndCalculateHFTool(name=
'DFCommonClassifyAndCalculateHFTool')
69 ClassifyAndCalculateHFTool.jetPtCut = 15000.
70 ClassifyAndCalculateHFTool.jetEtaCut = 2.5
71 ClassifyAndCalculateHFTool.leadingHadronPtCut = 5000.
72 ClassifyAndCalculateHFTool.leadingHadronPtRatioCut = -1
76 acc.addPublicTool(ClassifyAndCalculateHFTool, primary=
True)
93 ClassifyAndCalculateHFAugmentation = CompFactory.DerivationFramework.ClassifyAndCalculateHFAugmentation(name =
"DFCommonClassifyAndCalculateHFAugmentation")
95 ClassifyAndCalculateHFAugmentation.jetCollectionName =
"AntiKt4TruthWZJets"
96 ClassifyAndCalculateHFAugmentation.TruthParticleContainerName =
"TruthParticles"
97 ClassifyAndCalculateHFAugmentation.hfDecorationName =
"HF_Classification"
98 ClassifyAndCalculateHFAugmentation.SimplehfDecorationName =
"HF_SimpleClassification"
100 ClassifyAndCalculateHFAugmentation.ClassifyAndComputeHFtool = ClassifyAndCalculateHFTool
101 ClassifyAndCalculateHFAugmentation.HadronOriginClassifierTool = HadronOriginClassifierTool
102 ClassifyAndCalculateHFAugmentation.JetMatchingTool = JetMatchingTool
106 acc.addPublicTool(ClassifyAndCalculateHFAugmentation, primary =
True)