Skip to content

Commit

Permalink
Merge pull request #9438 from silviodonato/DQMWHbb
Browse files Browse the repository at this point in the history
DQM for HLT_Ele27_WPLoose_Gsf_WHbbBoost_v1 - 75X
  • Loading branch information
davidlange6 committed Jul 10, 2015
2 parents 6a435c7 + d6edfd6 commit 5af9058
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
14 changes: 13 additions & 1 deletion HLTriggerOffline/Higgs/python/hltHiggsPostProcessors_cff.py
Original file line number Diff line number Diff line change
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,7 +335,8 @@ def get_reco_strings(strings):
hltHiggsPostZnnHbb+
hltHiggsPostDoubleHinTaus+
hltHiggsPostHiggsDalitz+
hltHiggsPostX4b
hltHiggsPostX4b+
hltHiggsPostWHToENuBB

)

Expand Down
10 changes: 9 additions & 1 deletion HLTriggerOffline/Higgs/python/hltHiggsValidator_cfi.py
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 5af9058

Please sign in to comment.