Skip to content

Commit

Permalink
Merge pull request #1 from nurfikri89/UL_R2_addMLWtaggers
Browse files Browse the repository at this point in the history
Add DeepAK8 and ParticleNet W-tagging related discriminants
  • Loading branch information
kaustuvdatta authored Jun 24, 2021
2 parents cb02d11 + 2664236 commit 521623c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Skimmer/python/skimmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ def beginFile(self, inputFile, outputFile, inputTree, wrappedOutputTree):
self.out.branch("SelectedJet_tau21", "F")
self.out.branch("SelectedJet_tau21_ddt", "F")
self.out.branch("SelectedJet_tau21_ddt_retune", "F")
self.out.branch("SelectedJet_deepTag_WvsQCD", "F")
self.out.branch("SelectedJet_deepTagMD_WvsQCD", "F")
self.out.branch("SelectedJet_particleNet_WvsQCD","F")
self.out.branch("SelectedJet_particleNetMD_Xqq", "F")
self.out.branch("SelectedJet_pt", "F")
self.out.branch("SelectedJet_eta", "F")
self.out.branch("SelectedJet_mass", "F")
Expand Down Expand Up @@ -443,6 +447,10 @@ def boostedWSelection(self, event):
self.out.fillBranch("SelectedJet_tau32",tau32)
self.out.fillBranch("SelectedJet_tau42",tau42)
self.out.fillBranch("SelectedJet_tau41",tau41)
self.out.fillBranch("SelectedJet_deepTag_WvsQCD",recoAK8[0].deepTag_WvsQCD)
self.out.fillBranch("SelectedJet_deepTagMD_WvsQCD",recoAK8[0].deepTagMD_WvsQCD)
self.out.fillBranch("SelectedJet_particleNet_WvsQCD",recoAK8[0].particleNet_WvsQCD)
self.out.fillBranch("SelectedJet_particleNetMD_Xqq",recoAK8[0].particleNetMD_Xqq)

self.nEventsPassed+=1

Expand Down

0 comments on commit 521623c

Please sign in to comment.