Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctag update 8 x #12565

Merged
merged 3 commits into from Nov 26, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -47,10 +47,10 @@
cms.InputTag("softPFMuonBJetTags"),
cms.InputTag("softPFElectronBJetTags"),
cms.InputTag("pfCombinedMVABJetTags"),
cms.InputTag("pfCombinedMVAV2BJetTags")
#CTagging -- temporary commented out waiting for RelVals
## cms.InputTag('pfCombinedCvsLJetTags'),
## cms.InputTag('pfCombinedCvsBJetTags')
cms.InputTag("pfCombinedMVAV2BJetTags"),
#CTagging
cms.InputTag('pfCombinedCvsLJetTags'),
cms.InputTag('pfCombinedCvsBJetTags')
),
# clone tag infos ATTENTION: these take lots of space!
# usually the discriminators from the default algos
Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/PatAlgos/python/tools/jetTools.py
Expand Up @@ -400,7 +400,7 @@ def toolCode(self, process):
process.load("RecoBTag.SecondaryVertex.secondaryVertex_cff")
process.load("RecoBTag.SoftLepton.softLepton_cff")
process.load("RecoBTag.Combined.combinedMVA_cff")
process.load("RecoBTag.CTagging.cTagging_cff")
process.load("RecoBTag.CTagging.RecoCTagging_cff")
#addESProducers(process,'RecoBTag.Configuration.RecoBTag_cff')
import RecoBTag.Configuration.RecoBTag_cff as btag
import RecoJets.JetProducers.caTopTaggers_cff as toptag
Expand Down
10 changes: 8 additions & 2 deletions RecoBTag/CTagging/test/test_discriminator_presence.py
Expand Up @@ -3,9 +3,15 @@
import sys
from DataFormats.FWLite import Events, Handle
ROOT.gROOT.SetBatch()
from argparse import ArgumentParser

events = Events('validate_ctag_pat.root')
jet_labels = ["selectedPatJets"]#, "selectedPatJetsAK4PF", "selectedPatJetsAK8PFCHSSoftDropSubjets"]
parser = ArgumentParser()
parser.add_argument('file')
parser.add_argument('collections', default=['slimmedJets'], nargs='*')
args = parser.parse_args()

events = Events(args.file)
jet_labels = args.collections
tested_discriminators = ['pfCombinedCvsLJetTags', 'pfCombinedCvsBJetTags']

evt = next(events.__iter__())
Expand Down