Skip to content

Commit

Permalink
Merge pull request #10484 from silviodonato/DQMWHbb_74X
Browse files Browse the repository at this point in the history
DQM for HLT_Ele27_WPLoose_Gsf_WHbbBoost_v1 - 74X
  • Loading branch information
cmsbuild committed Aug 11, 2015
2 parents f3cbc0f + 67a2695 commit e703b03
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
15 changes: 13 additions & 2 deletions HLTriggerOffline/Higgs/python/hltHiggsPostProcessors_cff.py
Expand Up @@ -307,7 +307,18 @@ def get_reco_strings(strings):
hltHiggsPostX4b.subDirs = ['HLT/Higgs/X4b']
hltHiggsPostX4b.efficiencyProfile = efficiency_strings

#Specific plots for WH -> ev + bb
efficiency_strings_WHToENuBB = list(efficiency_strings_TTHbbej)
#add the summary plots
for an in _config.analysis:
for trig in triggers:
efficiency_strings_WHToENuBB.append("Eff_HtDist_"+an+"_gen_"+trig+" ' Efficiency of "+trig+" vs sum pT of jets ; sum pT of jets ' HtDist_"+an+"_gen_"+trig+" HtDist_"+an+"_gen")

efficiency_strings_WHToENuBB.extend(get_reco_strings(efficiency_strings_WHToENuBB))

hltHiggsPostWHToENuBB = hltHiggsPostProcessor.clone()
hltHiggsPostWHToENuBB.subDirs = ['HLT/Higgs/WHToENuBB']
hltHiggsPostWHToENuBB.efficiencyProfile = efficiency_strings_WHToENuBB

hltHiggsPostProcessors = cms.Sequence(
hltHiggsPostHWW+
Expand All @@ -324,8 +335,8 @@ def get_reco_strings(strings):
hltHiggsPostZnnHbb+
hltHiggsPostDoubleHinTaus+
hltHiggsPostHiggsDalitz+
hltHiggsPostX4b

hltHiggsPostX4b+
hltHiggsPostWHToENuBB
)


10 changes: 9 additions & 1 deletion HLTriggerOffline/Higgs/python/hltHiggsValidator_cfi.py
Expand Up @@ -4,7 +4,7 @@
hltHiggsValidator = cms.EDAnalyzer("HLTHiggsValidator",

hltProcessName = cms.string("HLT"),
analysis = cms.vstring("HWW", "HZZ", "Hgg", "HggControlPaths", "Htaunu", "H2tau", "VBFHbb_0btag", "VBFHbb_1btag", "VBFHbb_2btag", "ZnnHbb","DoubleHinTaus","HiggsDalitz","X4b","TTHbbej","AHttH"),
analysis = cms.vstring("HWW", "HZZ", "Hgg", "HggControlPaths", "Htaunu", "H2tau", "VBFHbb_0btag", "VBFHbb_1btag", "VBFHbb_2btag", "ZnnHbb","DoubleHinTaus","HiggsDalitz","X4b","TTHbbej","AHttH","WHToENuBB"),
histDirectory = cms.string("HLT/Higgs"),

# -- The instance name of the reco::GenParticles collection -
Expand Down Expand Up @@ -350,4 +350,12 @@
## -- Analysis specific cuts
minCandidates = cms.uint32(6),
),
WHToENuBB = cms.PSet(
hltPathsToCheck = cms.vstring(
"HLT_Ele27_WPLoose_Gsf_WHbbBoost_v",
),
recElecLabel = cms.string("gedGsfElectrons"),
recJetLabel = cms.string("ak4PFJetsCHS"),
minCandidates = cms.uint32(1),
),
)
3 changes: 2 additions & 1 deletion HLTriggerOffline/Higgs/src/HLTHiggsSubAnalysis.cc
Expand Up @@ -744,7 +744,8 @@ const std::vector<unsigned int> HLTHiggsSubAnalysis::getObjectsType(const std::s
// Check if it is needed this object for this trigger
if( ! TString(hltPath).Contains(objTypeStr) )
{
if( (objtriggernames[i] == EVTColContainer::PFJET && TString(hltPath).Contains("CSV") ) || // fix for ZnnHbb PFJET
if( (objtriggernames[i] == EVTColContainer::PFJET && TString(hltPath).Contains("WHbbBoost") ) || // fix for HLT_Ele27_WPLoose_Gsf_WHbbBoost_v
(objtriggernames[i] == EVTColContainer::PFJET && TString(hltPath).Contains("CSV") ) || // fix for ZnnHbb PFJET
(objtriggernames[i] == EVTColContainer::PFMET && TString(hltPath).Contains("MHT")) ) // fix for ZnnHbb PFMET
objsType.insert(objtriggernames[i]);
else if (objtriggernames[i] == EVTColContainer::PHOTON && TString(hltPath).Contains("Diphoton") ) objsType.insert(objtriggernames[i]); //case of the New Diphoton paths
Expand Down

0 comments on commit e703b03

Please sign in to comment.