Skip to content

Commit

Permalink
A few fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
hqucms committed Sep 11, 2018
1 parent 4e5fb07 commit 0f3a195
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 54 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class DeepBoostedJetTagInfoProducer : public edm::stream::EDProducer<>
const reco::Vertex *pv_ = nullptr;
};

const static std::vector<std::string> DeepBoostedJetTagInfoProducer::particle_features_ {
const std::vector<std::string> DeepBoostedJetTagInfoProducer::particle_features_ {
"pfcand_puppiw",
"pfcand_hcalFrac",
"pfcand_VTX_ass",
Expand Down Expand Up @@ -117,7 +117,7 @@ const static std::vector<std::string> DeepBoostedJetTagInfoProducer::particle_fe
"pfcand_btagJetDistVal",
};

const static std::vector<std::string> DeepBoostedJetTagInfoProducer::sv_features_ {
const std::vector<std::string> DeepBoostedJetTagInfoProducer::sv_features_ {
"sv_phirel",
"sv_etarel",
"sv_deltaR",
Expand Down
54 changes: 2 additions & 52 deletions RecoBTag/MXNet/test/test_deep_boosted_jet_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@

## and add them to the event content
from PhysicsTools.PatAlgos.tools.jetTools import updateJetCollection
from RecoBTag.MXNet.pfDeepBoostedJet_cff import _pfDeepBoostedJetTagsAll as pfDeepBoostedJetTagsAll

updateJetCollection(
process,
Expand All @@ -56,58 +57,7 @@
svSource = cms.InputTag('slimmedSecondaryVertices'),
rParam = 0.8,
jetCorrections = ('AK8PFPuppi', cms.vstring(['L2Relative', 'L3Absolute']), 'None'),
btagDiscriminators = [
# DeepBoostedJet (Nominal)
'pfDeepBoostedJetTags:probTbcq',
'pfDeepBoostedJetTags:probTbqq',
'pfDeepBoostedJetTags:probTbc',
'pfDeepBoostedJetTags:probTbq',
'pfDeepBoostedJetTags:probWcq',
'pfDeepBoostedJetTags:probWqq',
'pfDeepBoostedJetTags:probZbb',
'pfDeepBoostedJetTags:probZcc',
'pfDeepBoostedJetTags:probZqq',
'pfDeepBoostedJetTags:probHbb',
'pfDeepBoostedJetTags:probHcc',
'pfDeepBoostedJetTags:probHqqqq',
'pfDeepBoostedJetTags:probQCDbb',
'pfDeepBoostedJetTags:probQCDcc',
'pfDeepBoostedJetTags:probQCDb',
'pfDeepBoostedJetTags:probQCDc',
'pfDeepBoostedJetTags:probQCDothers',
# meta taggers
'pfDeepBoostedDiscriminatorsJetTags:TvsQCD',
'pfDeepBoostedDiscriminatorsJetTags:WvsQCD',

# DeepBoostedJet (mass decorrelated)
'pfMassDecorrelatedDeepBoostedJetTags:probTbcq',
'pfMassDecorrelatedDeepBoostedJetTags:probTbqq',
'pfMassDecorrelatedDeepBoostedJetTags:probTbc',
'pfMassDecorrelatedDeepBoostedJetTags:probTbq',
'pfMassDecorrelatedDeepBoostedJetTags:probWcq',
'pfMassDecorrelatedDeepBoostedJetTags:probWqq',
'pfMassDecorrelatedDeepBoostedJetTags:probZbb',
'pfMassDecorrelatedDeepBoostedJetTags:probZcc',
'pfMassDecorrelatedDeepBoostedJetTags:probZqq',
'pfMassDecorrelatedDeepBoostedJetTags:probHbb',
'pfMassDecorrelatedDeepBoostedJetTags:probHcc',
'pfMassDecorrelatedDeepBoostedJetTags:probHqqqq',
'pfMassDecorrelatedDeepBoostedJetTags:probQCDbb',
'pfMassDecorrelatedDeepBoostedJetTags:probQCDcc',
'pfMassDecorrelatedDeepBoostedJetTags:probQCDb',
'pfMassDecorrelatedDeepBoostedJetTags:probQCDc',
'pfMassDecorrelatedDeepBoostedJetTags:probQCDothers',
# meta taggers
'pfMassDecorrelatedDeepBoostedDiscriminatorsJetTags:TvsQCD',
'pfMassDecorrelatedDeepBoostedDiscriminatorsJetTags:WvsQCD',
'pfMassDecorrelatedDeepBoostedDiscriminatorsJetTags:bbvsQCD',
'pfMassDecorrelatedDeepBoostedDiscriminatorsJetTags:ZHbbvsQCD',
'pfMassDecorrelatedDeepBoostedDiscriminatorsJetTags:ccvsQCD',
'pfMassDecorrelatedDeepBoostedDiscriminatorsJetTags:ZHccvsQCD',
'pfMassDecorrelatedDeepBoostedDiscriminatorsJetTags:bbvscc',
'pfMassDecorrelatedDeepBoostedDiscriminatorsJetTags:ZHbbvsZHcc',

]
btagDiscriminators = pfDeepBoostedJetTagsAll
)

from Configuration.EventContent.EventContent_cff import MINIAODSIMEventContent
Expand Down

0 comments on commit 0f3a195

Please sign in to comment.